39 const bool exclusive =
false);
76 return context_ !=
nullptr;
116 const int hot_spot[2],
117 bool can_invert_color)
override;
140 int32_t mouse_ungrab_xy[2])
override;
145 bool &use_software_cursor)
override;
211#ifdef WITH_VULKAN_BACKEND
214 GHOST_VulkanSwapChainData *r_swap_chain_data)
override;
257 void endIME()
override
311 const int hot_size[2],
312 bool can_invert_color) = 0;
316 cursor_generator->
free_fn(cursor_generator);
void * GHOST_TUserDataPtr
GHOST_TDrawingContextType
#define GHOST_WINDOW_HDR_INFO_NONE
GHOST_TWindowDecorationStyleFlags
static DBVT_INLINE btScalar size(const btDbvtVolume &a)
static btDbvtVolume bounds(btDbvtNode **leaves, int count)
virtual GHOST_TSuccess getCursorGrabBounds(GHOST_Rect &bounds) const
GHOST_ContextParams want_context_params_
int32_t cursor_grab_accum_pos_[2]
GHOST_WindowHDRInfo getHDRInfo() override
uint16_t getDPIHint() override
virtual bool getCursorGrabUseSoftwareDisplay()
GHOST_TSuccess swapBufferRelease() override
void setWindowDecorationStyleFlags(GHOST_TWindowDecorationStyleFlags style_flags) override
GHOST_TStandardCursor cursor_shape_
GHOST_TSuccess endProgressBar() override
GHOST_TAxisFlag cursor_grab_axis_
virtual bool getModifiedState()
bool can_accept_drag_operation_
GHOST_TSuccess setModifiedState(bool is_unsaved_changes) override
void setCursorGrabAccum(int32_t x, int32_t y)
void getCursorGrabInitPos(int32_t &x, int32_t &y) const
void setUserData(const GHOST_TUserDataPtr user_data) override
GHOST_TAxisFlag getCursorGrabAxis() const
GHOST_WindowDecorationStyleSettings window_decoration_style_settings_
GHOST_TStandardCursor getCursorShape() const override
GHOST_TSuccess setDrawingContextType(GHOST_TDrawingContextType type) override
GHOST_TSuccess setCursorShape(GHOST_TStandardCursor cursor_shape) override
uint32_t full_screen_width_
GHOST_Context * getContext()
GHOST_TSuccess applyWindowDecorationStyle() override
void setPath(const char *) override
int32_t cursor_grab_init_pos_[2]
GHOST_TSuccess setProgressBar(float) override
GHOST_TSuccess setCursorGrab(GHOST_TGrabCursorMode mode, GHOST_TAxisFlag wrap_axis, GHOST_Rect *bounds, int32_t mouse_ungrab_xy[2]) override
unsigned int getDefaultFramebuffer() override
GHOST_TSuccess setSwapInterval(int interval) override
virtual GHOST_TSuccess setWindowCursorGrab(GHOST_TGrabCursorMode)
GHOST_TUserDataPtr user_data_
GHOST_TDrawingContextType drawing_context_type_
GHOST_TWindowDecorationStyleFlags getWindowDecorationStyleFlags() override
GHOST_TSuccess releaseNativeHandles()
virtual GHOST_TSuccess setWindowCustomCursorGenerator(GHOST_CursorGenerator *cursor_generator)
virtual void * getOSWindow() const
GHOST_TUserDataPtr getUserData() const override
void setWindowDecorationStyleSettings(GHOST_WindowDecorationStyleSettings decoration_settings) override
GHOST_TWindowDecorationStyleFlags window_decoration_style_flags_
virtual bool canAcceptDragOperation() const
uint32_t full_screen_height_
GHOST_TDrawingContextType getDrawingContextType() override
GHOST_TSuccess setCursorVisibility(bool visible) override
GHOST_TSuccess setCustomCursorShape(const uint8_t *bitmap, const uint8_t *mask, const int size[2], const int hot_spot[2], bool can_invert_color) override
float getNativePixelSize() override
GHOST_TSuccess getCursorBitmap(GHOST_CursorBitmapRef *bitmap) override
bool getValid() const override
virtual GHOST_TSuccess setWindowCursorVisibility(bool visible)=0
bool getCursorVisibility() const override
void setAcceptDragOperation(bool can_accept) override
GHOST_TSuccess activateDrawingContext() override
GHOST_IContext * getDrawingContext() override
GHOST_TGrabCursorMode getCursorGrabMode() const
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_Window(uint32_t width, uint32_t height, GHOST_TWindowState state, const GHOST_ContextParams &context_params, const bool exclusive=false)
GHOST_TSuccess getSwapInterval(int &interval_out) override
virtual GHOST_TSuccess setWindowCursorShape(GHOST_TStandardCursor shape)=0
virtual GHOST_Context * newDrawingContext(GHOST_TDrawingContextType type)=0
GHOST_Rect cursor_grab_bounds_
bool progress_bar_visible_
GHOST_WindowHDRInfo hdr_info_
GHOST_TSuccess swapBufferAcquire() override
GHOST_TGrabCursorMode cursor_grab_
bool getCursorGrabModeIsWarp() const
void getCursorGrabAccum(int32_t &x, int32_t &y) const
GHOST_TSuccess setCustomCursorGenerator(GHOST_CursorGenerator *cursor_generator) override
bool hasAlpha() const override
virtual GHOST_TSuccess setWindowCustomCursorShape(const uint8_t *bitmap, const uint8_t *mask, const int size[2], const int hot_size[2], bool can_invert_color)=0
ccl_device_inline float2 mask(const MaskType mask, const float2 a)
void(*) free_fn(struct GHOST_CursorGenerator *cursor_generator)