21#if !SDL_VERSION_ATLEAST(2, 0, 0)
22# error "SDL 2.0 or newer is needed to build with Ghost"
31 bool m_invalid_window;
33 SDL_Window *m_sdl_win;
34 SDL_Cursor *m_sdl_custom_cursor;
45 const bool stereoVisual =
false,
46 const bool exclusive =
false,
66 m_invalid_window =
false;
92 bool canInvertColor)
override;
96 void setTitle(
const char *title)
override;
98 std::string
getTitle()
const override;
GHOST_TDrawingContextType
@ GHOST_kDrawingContextTypeNone
static btDbvtVolume bounds(btDbvtNode **leaves, int count)
GHOST_TSuccess setWindowCursorGrab(GHOST_TGrabCursorMode mode) override
std::string getTitle() const override
GHOST_TSuccess endFullScreen() const override
GHOST_TWindowState getState() const override
void clientToScreen(int32_t inX, int32_t inY, int32_t &outX, int32_t &outY) const override
GHOST_TSuccess invalidate() override
GHOST_TSuccess setWindowCursorShape(GHOST_TStandardCursor shape) override
GHOST_TSuccess setOrder(GHOST_TWindowOrder) override
GHOST_TSuccess setClientHeight(uint32_t height) override
SDL_Window * getSDLWindow()
GHOST_TSuccess beginFullScreen() const override
GHOST_Context * newDrawingContext(GHOST_TDrawingContextType type) override
GHOST_TSuccess setWindowCustomCursorShape(uint8_t *bitmap, uint8_t *mask, int sizex, int sizey, int hotX, int hotY, bool canInvertColor) override
void getClientBounds(GHOST_Rect &bounds) const override
GHOST_TSuccess setWindowCursorVisibility(bool visible) override
GHOST_TSuccess setClientWidth(uint32_t width) override
GHOST_WindowSDL(GHOST_SystemSDL *system, const char *title, int32_t left, int32_t top, uint32_t width, uint32_t height, GHOST_TWindowState state, GHOST_TDrawingContextType type=GHOST_kDrawingContextTypeNone, const bool stereoVisual=false, const bool exclusive=false, const GHOST_IWindow *parentWindow=nullptr)
GHOST_TSuccess setState(GHOST_TWindowState state) override
GHOST_TSuccess setClientSize(uint32_t width, uint32_t height) override
void getWindowBounds(GHOST_Rect &bounds) const override
uint16_t getDPIHint() override
bool getValid() const override
void setTitle(const char *title) override
GHOST_TSuccess hasCursorShape(GHOST_TStandardCursor shape) override
void screenToClient(int32_t inX, int32_t inY, int32_t &outX, int32_t &outY) const override