17# include <X11/extensions/XInput.h>
67 void setTitle(
const char *title)
override;
69 std::string
getTitle()
const override;
126#if defined(WITH_X11_XINPUT) && defined(X_HAVE_UTF8_STRING)
132 bool createX11_XIC();
135#ifdef WITH_X11_XINPUT
136 void refreshXInputDevices();
140 GHOST_DropTargetX11 *getDropTarget()
193 const int hot_spot[2],
194 bool can_invert_color)
override;
209 XVisualInfo *visual_info_;
218 bool invalid_window_;
230 std::map<uint, Cursor> standard_cursors_;
238#if defined(WITH_X11_XINPUT) && defined(X_HAVE_UTF8_STRING)
245 void icccmSetState(
int state);
246 int icccmGetState()
const;
248 void netwmMaximized(
bool set);
249 bool netwmIsMaximized()
const;
251 void netwmFullScreen(
bool set);
252 bool netwmIsFullScreen()
const;
254 void motifFullScreen(
bool set);
255 bool motifIsFullScreen()
const;
257 void motifShowWindowFrame(
bool set);
258 bool motifIsShowWindowFrame()
const;
GHOST_TDrawingContextType
static DBVT_INLINE btScalar size(const btDbvtVolume &a)
static btDbvtVolume bounds(btDbvtNode **leaves, int count)
GHOST_Context * newDrawingContext(GHOST_TDrawingContextType type) 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 *parent_window, GHOST_TDrawingContextType type, const bool is_dialog, const GHOST_ContextParams &context_params, const bool exclusive, const GHOST_GPUDevice &preferred_device)
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_TSuccess setState(GHOST_TWindowState state) override
GHOST_TSuccess endProgressBar() override
void getClientBounds(GHOST_Rect &bounds) const override
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 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
GHOST_TSuccess setWindowCustomCursorShape(const uint8_t *bitmap, const uint8_t *mask, const int size[2], const int hot_spot[2], bool can_invert_color) override
bool isDialog() const override
uint16_t getDPIHint() override
GHOST_TSuccess setWindowCursorGrab(GHOST_TGrabCursorMode mode) override
GHOST_TSuccess invalidate() override
GHOST_TWindowState post_state_
GHOST_TGrabCursorMode getWindowCursorGrab() const
GHOST_TSuccess setDialogHints(GHOST_WindowX11 *parent_window)
GHOST_TWindowState getState() const override
GHOST_Window(uint32_t width, uint32_t height, GHOST_TWindowState state, const GHOST_ContextParams &context_params, const bool exclusive=false)
ccl_device_inline float2 mask(const MaskType mask, const float2 a)