38 const bool wantStereoVisual =
false,
39 const bool exclusive =
false);
78 return m_context !=
nullptr;
124 bool canInvertColor)
override;
155 int32_t mouse_ungrab_xy[2])
override;
166 bool &use_software_cursor)
override;
278#ifdef WITH_VULKAN_BACKEND
280 GHOST_VulkanSwapChainData *r_swap_chain_data)
override;
319 virtual void beginIME(
325 virtual void endIME()
override
370 bool canInvertColor) = 0;
void * GHOST_TUserDataPtr
GHOST_TDrawingContextType
static btDbvtVolume bounds(btDbvtNode **leaves, int count)
GHOST_TSuccess setCustomCursorShape(uint8_t *bitmap, uint8_t *mask, int sizex, int sizey, int hotX, int hotY, bool canInvertColor) override
GHOST_TSuccess getSwapInterval(int &intervalOut) override
GHOST_Rect m_cursorGrabBounds
bool getCursorGrabUseSoftwareDisplay() override
virtual GHOST_TSuccess endProgressBar() override
virtual GHOST_TSuccess setProgressBar(float) override
GHOST_TSuccess getCursorGrabBounds(GHOST_Rect &bounds) const override
void setCursorGrabAccum(int32_t x, int32_t y)
void getCursorGrabInitPos(int32_t &x, int32_t &y) const
virtual void * getOSWindow() const override
virtual GHOST_TSuccess setPath(const char *) override
GHOST_TGrabCursorMode m_cursorGrab
GHOST_TAxisFlag getCursorGrabAxis() const
virtual uint16_t getDPIHint() override
int32_t m_cursorGrabAccumPos[2]
int32_t m_cursorGrabInitPos[2]
GHOST_TStandardCursor getCursorShape() const override
GHOST_TSuccess setDrawingContextType(GHOST_TDrawingContextType type) override
GHOST_TStandardCursor m_cursorShape
GHOST_Context * getContext()
bool canAcceptDragOperation() const override
GHOST_TSuccess setCursorGrab(GHOST_TGrabCursorMode mode, GHOST_TAxisFlag wrap_axis, GHOST_Rect *bounds, int32_t mouse_ungrab_xy[2]) override
virtual unsigned int getDefaultFramebuffer() override
GHOST_TSuccess setSwapInterval(int interval) override
virtual GHOST_TSuccess setWindowCursorGrab(GHOST_TGrabCursorMode)
GHOST_TSuccess releaseNativeHandles()
GHOST_TSuccess setCursorShape(GHOST_TStandardCursor cursorShape) override
GHOST_TAxisFlag m_cursorGrabAxis
void setUserData(const GHOST_TUserDataPtr userData) override
GHOST_TUserDataPtr getUserData() const override
virtual GHOST_TSuccess setWindowCustomCursorShape(uint8_t *bitmap, uint8_t *mask, int szx, int szy, int hotX, int hotY, bool canInvertColor)=0
GHOST_TDrawingContextType getDrawingContextType() override
virtual bool getModifiedState() override
GHOST_TSuccess setCursorVisibility(bool visible) override
float getNativePixelSize() override
GHOST_TSuccess getCursorBitmap(GHOST_CursorBitmapRef *bitmap) override
virtual GHOST_TSuccess setWindowCursorVisibility(bool visible)=0
bool getCursorVisibility() const override
GHOST_TDrawingContextType m_drawingContextType
virtual GHOST_TSuccess activateDrawingContext() override
virtual GHOST_TSuccess swapBuffers() override
uint32_t m_fullScreenHeight
virtual GHOST_IContext * getDrawingContext() override
GHOST_TGrabCursorMode getCursorGrabMode() const
GHOST_Window(uint32_t width, uint32_t height, GHOST_TWindowState state, const bool wantStereoVisual=false, const bool exclusive=false)
bool isDialog() const override
void getCursorGrabState(GHOST_TGrabCursorMode &mode, GHOST_TAxisFlag &wrap_axis, GHOST_Rect &bounds, bool &use_software_cursor) override
GHOST_TSuccess updateDrawingContext()
GHOST_TUserDataPtr m_userData
void setAcceptDragOperation(bool canAccept) override
virtual GHOST_TSuccess setModifiedState(bool isUnsavedChanges) override
bool m_progressBarVisible
virtual GHOST_TSuccess setWindowCursorShape(GHOST_TStandardCursor shape)=0
virtual GHOST_Context * newDrawingContext(GHOST_TDrawingContextType type)=0
bool m_canAcceptDragOperation
virtual bool getValid() const override
bool getCursorGrabModeIsWarp() const
void getCursorGrabAccum(int32_t &x, int32_t &y) const
uint32_t m_fullScreenWidth