Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'intern/ghost/intern/GHOST_WindowX11.h')
-rw-r--r--intern/ghost/intern/GHOST_WindowX11.h30
1 files changed, 12 insertions, 18 deletions
diff --git a/intern/ghost/intern/GHOST_WindowX11.h b/intern/ghost/intern/GHOST_WindowX11.h
index 01699e9d1ce..9f3d48dfafc 100644
--- a/intern/ghost/intern/GHOST_WindowX11.h
+++ b/intern/ghost/intern/GHOST_WindowX11.h
@@ -68,10 +68,10 @@ class GHOST_WindowX11 : public GHOST_Window {
GHOST_WindowX11(GHOST_SystemX11 *system,
Display *display,
const char *title,
- GHOST_TInt32 left,
- GHOST_TInt32 top,
- GHOST_TUns32 width,
- GHOST_TUns32 height,
+ int32_t left,
+ int32_t top,
+ uint32_t width,
+ uint32_t height,
GHOST_TWindowState state,
GHOST_WindowX11 *parentWindow,
GHOST_TDrawingContextType type = GHOST_kDrawingContextTypeNone,
@@ -93,21 +93,15 @@ class GHOST_WindowX11 : public GHOST_Window {
bool isDialog() const;
- GHOST_TSuccess setClientWidth(GHOST_TUns32 width);
+ GHOST_TSuccess setClientWidth(uint32_t width);
- GHOST_TSuccess setClientHeight(GHOST_TUns32 height);
+ GHOST_TSuccess setClientHeight(uint32_t height);
- GHOST_TSuccess setClientSize(GHOST_TUns32 width, GHOST_TUns32 height);
+ GHOST_TSuccess setClientSize(uint32_t width, uint32_t height);
- void screenToClient(GHOST_TInt32 inX,
- GHOST_TInt32 inY,
- GHOST_TInt32 &outX,
- GHOST_TInt32 &outY) const;
+ void screenToClient(int32_t inX, int32_t inY, int32_t &outX, int32_t &outY) const;
- void clientToScreen(GHOST_TInt32 inX,
- GHOST_TInt32 inY,
- GHOST_TInt32 &outX,
- GHOST_TInt32 &outY) const;
+ void clientToScreen(int32_t inX, int32_t inY, int32_t &outX, int32_t &outY) const;
GHOST_TWindowState getState() const;
@@ -182,7 +176,7 @@ class GHOST_WindowX11 : public GHOST_Window {
GHOST_TSuccess setDialogHints(GHOST_WindowX11 *parentWindow);
- GHOST_TUns16 getDPIHint();
+ uint16_t getDPIHint();
protected:
/**
@@ -216,8 +210,8 @@ class GHOST_WindowX11 : public GHOST_Window {
* Sets the cursor shape on the window using
* native window system calls (Arbitrary size/color).
*/
- GHOST_TSuccess setWindowCustomCursorShape(GHOST_TUns8 *bitmap,
- GHOST_TUns8 *mask,
+ GHOST_TSuccess setWindowCustomCursorShape(uint8_t *bitmap,
+ uint8_t *mask,
int sizex,
int sizey,
int hotX,