39 const bool exclusive =
false);
76 return context_ !=
nullptr;
120 const int hot_spot[2],
121 bool can_invert_color)
override;
144 int32_t mouse_ungrab_xy[2])
override;
152 bool &use_software_cursor)
override;
223#ifdef WITH_VULKAN_BACKEND
226 GHOST_VulkanSwapChainData *r_swap_chain_data)
override;
269 void endIME()
override
305 const int hot_size[2],
306 bool can_invert_color) = 0;
310 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)
GHOST_ContextParams want_context_params_
int32_t cursor_grab_accum_pos_[2]
GHOST_WindowHDRInfo getHDRInfo() override
uint16_t getDPIHint() override
GHOST_TSuccess swapBufferRelease() override
bool getCursorGrabUseSoftwareDisplay() override
virtual void setWindowDecorationStyleFlags(GHOST_TWindowDecorationStyleFlags style_flags) override
GHOST_TStandardCursor cursor_shape_
GHOST_TSuccess endProgressBar() override
GHOST_TAxisFlag cursor_grab_axis_
GHOST_TSuccess getCursorGrabBounds(GHOST_Rect &bounds) const override
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 * getOSWindow() const override
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()
int32_t cursor_grab_init_pos_[2]
bool canAcceptDragOperation() const override
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_TSuccess setPath(const char *) override
GHOST_TUserDataPtr user_data_
GHOST_TDrawingContextType drawing_context_type_
virtual GHOST_TWindowDecorationStyleFlags getWindowDecorationStyleFlags() override
GHOST_TSuccess releaseNativeHandles()
virtual GHOST_TSuccess setWindowCustomCursorGenerator(GHOST_CursorGenerator *cursor_generator)
GHOST_TUserDataPtr getUserData() const override
virtual void setWindowDecorationStyleSettings(GHOST_WindowDecorationStyleSettings decoration_settings) override
GHOST_TWindowDecorationStyleFlags window_decoration_style_flags_
uint32_t full_screen_height_
GHOST_TDrawingContextType getDrawingContextType() override
bool getModifiedState() 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_
virtual GHOST_TSuccess applyWindowDecorationStyle() override
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
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)