Changeset View
Changeset View
Standalone View
Standalone View
intern/ghost/intern/GHOST_WindowX11.h
| Show First 20 Lines • Show All 199 Lines • ▼ Show 20 Lines | |||||
| #else // WITH_X11_XINPUT | #else // WITH_X11_XINPUT | ||||
| const GHOST_TabletData *GetTabletData() | const GHOST_TabletData *GetTabletData() | ||||
| { | { | ||||
| return NULL; | return NULL; | ||||
| } | } | ||||
| #endif // WITH_X11_XINPUT | #endif // WITH_X11_XINPUT | ||||
| #if defined(WITH_X11_XINPUT) && defined(X_HAVE_UTF8_STRING) | #if defined(WITH_X11_XINPUT) && defined(X_HAVE_UTF8_STRING) | ||||
| /* used only in GHOST */ | |||||
| XIC getX11_XIC() { | XIC getX11_XIC() { | ||||
| return m_xic; | return m_xic; | ||||
| } | } | ||||
| bool createX11_XIC(); | bool createX11_XIC(); | ||||
| void setX11_ICFocus(bool focused); | |||||
| /* public API */ | |||||
| bool isIMSpotNeeded(); | |||||
| void setIMSpot(GHOST_TInt32 x, GHOST_TInt32 y, GHOST_TInt32 h); | |||||
| void beginIM(); | |||||
| void endIM(); | |||||
| #endif | #endif | ||||
| #ifdef WITH_X11_XINPUT | #ifdef WITH_X11_XINPUT | ||||
| void refreshXInputDevices(); | void refreshXInputDevices(); | ||||
| #endif | #endif | ||||
| #ifdef WITH_XDND | #ifdef WITH_XDND | ||||
| GHOST_DropTargetX11 *getDropTarget() | GHOST_DropTargetX11 *getDropTarget() | ||||
| ▲ Show 20 Lines • Show All 130 Lines • ▼ Show 20 Lines | #ifdef WITH_XDND | ||||
| GHOST_DropTargetX11 *m_dropTarget; | GHOST_DropTargetX11 *m_dropTarget; | ||||
| #endif | #endif | ||||
| #ifdef WITH_X11_XINPUT | #ifdef WITH_X11_XINPUT | ||||
| GHOST_TabletData m_tabletData; | GHOST_TabletData m_tabletData; | ||||
| #endif | #endif | ||||
| #if defined(WITH_X11_XINPUT) && defined(X_HAVE_UTF8_STRING) | #if defined(WITH_X11_XINPUT) && defined(X_HAVE_UTF8_STRING) | ||||
| XIMStyle m_xim_style; | |||||
| XIC m_xic; | XIC m_xic; | ||||
| bool m_focused; | |||||
| bool m_xim_needed; | |||||
| GHOST_TInt32 m_xim_spot_x; | |||||
| GHOST_TInt32 m_xim_spot_y; | |||||
| #endif | #endif | ||||
| bool m_valid_setup; | bool m_valid_setup; | ||||
| bool m_is_debug_context; | bool m_is_debug_context; | ||||
| void icccmSetState(int state); | void icccmSetState(int state); | ||||
| int icccmGetState() const; | int icccmGetState() const; | ||||
| Show All 12 Lines | |||||