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_WindowWayland.h')
-rw-r--r--intern/ghost/intern/GHOST_WindowWayland.h32
1 files changed, 13 insertions, 19 deletions
diff --git a/intern/ghost/intern/GHOST_WindowWayland.h b/intern/ghost/intern/GHOST_WindowWayland.h
index dbddc7c469e..afbdf1268ee 100644
--- a/intern/ghost/intern/GHOST_WindowWayland.h
+++ b/intern/ghost/intern/GHOST_WindowWayland.h
@@ -29,9 +29,9 @@
class GHOST_SystemWayland;
+struct output_t;
struct window_t;
struct wl_surface;
-struct output_t;
class GHOST_WindowWayland : public GHOST_Window {
public:
@@ -39,10 +39,10 @@ class GHOST_WindowWayland : public GHOST_Window {
GHOST_WindowWayland(GHOST_SystemWayland *system,
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,
const GHOST_IWindow *parentWindow,
GHOST_TDrawingContextType type,
@@ -52,7 +52,7 @@ class GHOST_WindowWayland : public GHOST_Window {
~GHOST_WindowWayland() override;
- GHOST_TUns16 getDPIHint() override;
+ uint16_t getDPIHint() override;
GHOST_TSuccess close();
@@ -77,8 +77,8 @@ class GHOST_WindowWayland : public GHOST_Window {
GHOST_TSuccess setWindowCursorShape(GHOST_TStandardCursor shape) override;
- GHOST_TSuccess setWindowCustomCursorShape(GHOST_TUns8 *bitmap,
- GHOST_TUns8 *mask,
+ GHOST_TSuccess setWindowCustomCursorShape(uint8_t *bitmap,
+ uint8_t *mask,
int sizex,
int sizey,
int hotX,
@@ -93,21 +93,15 @@ class GHOST_WindowWayland : public GHOST_Window {
void getClientBounds(GHOST_Rect &bounds) const override;
- GHOST_TSuccess setClientWidth(GHOST_TUns32 width) override;
+ GHOST_TSuccess setClientWidth(uint32_t width) override;
- GHOST_TSuccess setClientHeight(GHOST_TUns32 height) override;
+ GHOST_TSuccess setClientHeight(uint32_t height) override;
- GHOST_TSuccess setClientSize(GHOST_TUns32 width, GHOST_TUns32 height) override;
+ GHOST_TSuccess setClientSize(uint32_t width, uint32_t height) override;
- void screenToClient(GHOST_TInt32 inX,
- GHOST_TInt32 inY,
- GHOST_TInt32 &outX,
- GHOST_TInt32 &outY) const override;
+ void screenToClient(int32_t inX, int32_t inY, int32_t &outX, int32_t &outY) const override;
- void clientToScreen(GHOST_TInt32 inX,
- GHOST_TInt32 inY,
- GHOST_TInt32 &outX,
- GHOST_TInt32 &outY) const override;
+ void clientToScreen(int32_t inX, int32_t inY, int32_t &outX, int32_t &outY) const override;
GHOST_TSuccess setWindowCursorVisibility(bool visible) override;