17# include <X11/extensions/XInput.h>
61 const bool stereoVisual,
68 void setTitle(
const char *title)
override;
70 std::string
getTitle()
const override;
127#if defined(WITH_X11_XINPUT) && defined(X_HAVE_UTF8_STRING)
133 bool createX11_XIC();
136#ifdef WITH_X11_XINPUT
137 void refreshXInputDevices();
141 GHOST_DropTargetX11 *getDropTarget()
197 bool canInvertColor)
override;
208 Cursor getEmptyCursor();
212 XVisualInfo *m_visualInfo;
221 bool m_invalid_window;
224 Cursor m_empty_cursor;
227 Cursor m_custom_cursor;
230 Cursor m_visible_cursor;
233 std::map<uint, Cursor> m_standard_cursors;
241#if defined(WITH_X11_XINPUT) && defined(X_HAVE_UTF8_STRING)
246 bool m_is_debug_context;
249 void icccmSetState(
int state);
250 int icccmGetState()
const;
252 void netwmMaximized(
bool set);
253 bool netwmIsMaximized()
const;
255 void netwmFullScreen(
bool set);
256 bool netwmIsFullScreen()
const;
258 void motifFullScreen(
bool set);
259 bool motifIsFullScreen()
const;
GHOST_TDrawingContextType
static btDbvtVolume bounds(btDbvtNode **leaves, int count)
GHOST_TSuccess setDialogHints(GHOST_WindowX11 *parentWindow)
GHOST_Context * newDrawingContext(GHOST_TDrawingContextType type) override
bool getValid() const override
void clientToScreen(int32_t inX, int32_t inY, int32_t &outX, int32_t &outY) const override
GHOST_TSuccess setClientHeight(uint32_t height) override
void getWindowBounds(GHOST_Rect &bounds) const override
GHOST_TabletData & GetTabletData()
~GHOST_WindowX11() override
GHOST_TWindowState m_post_state
GHOST_TSuccess setState(GHOST_TWindowState state) override
GHOST_TSuccess endProgressBar() override
void getClientBounds(GHOST_Rect &bounds) const override
GHOST_WindowX11(GHOST_SystemX11 *system, Display *display, const char *title, int32_t left, int32_t top, uint32_t width, uint32_t height, GHOST_TWindowState state, GHOST_WindowX11 *parentWindow, GHOST_TDrawingContextType type, const bool is_dialog, const bool stereoVisual, const bool exclusive, const bool is_debug, const GHOST_GPUDevice &preferred_device)
void setTitle(const char *title) override
std::string getTitle() const override
GHOST_TSuccess setClientWidth(uint32_t width) override
GHOST_TSuccess setWindowCursorShape(GHOST_TStandardCursor shape) override
GHOST_TSuccess setProgressBar(float progress) override
GHOST_TSuccess hasCursorShape(GHOST_TStandardCursor shape) override
GHOST_TSuccess setWindowCustomCursorShape(uint8_t *bitmap, uint8_t *mask, int sizex, int sizey, int hotX, int hotY, bool canInvertColor) override
GHOST_TSuccess setClientSize(uint32_t width, uint32_t height) override
GHOST_TSuccess setOrder(GHOST_TWindowOrder order) override
GHOST_TSuccess setWindowCursorVisibility(bool visible) override
void screenToClient(int32_t inX, int32_t inY, int32_t &outX, int32_t &outY) const override
bool isDialog() const override
uint16_t getDPIHint() override
GHOST_TSuccess setWindowCursorGrab(GHOST_TGrabCursorMode mode) override
GHOST_TSuccess invalidate() override
GHOST_TGrabCursorMode getWindowCursorGrab() const
GHOST_TWindowState getState() const override
GHOST_Window(uint32_t width, uint32_t height, GHOST_TWindowState state, const bool wantStereoVisual=false, const bool exclusive=false)
ccl_device_inline float2 mask(const MaskType mask, const float2 a)