|
Blender V5.3
|
#include <GHOST_Types.hh>
Public Attributes | |
| int32_t(*) | layout_callback (const int32_t window_size[2], const int32_t fractional_scale[2], GHOST_TWindowState windowstate, const struct GHOST_CSD_Layout *csd_layout, GHOST_CSD_Elem *csd_elems) |
| int | cursor_drag_threshold |
| int | cursor_double_click_ms |
| int | resize_margin_size |
| int | corner_radius |
Definition at line 1134 of file GHOST_Types.hh.
| int GHOST_CSD_Params::corner_radius |
Radius of the rounded window corners (in points, scaled by the windows DPI). Zero draws square corners.
GHOST only uses this to exclude the corners from the surfaces opaque region, the corners themselves are drawn by the caller which must use the same radius. Not applied when maximized or full-screen.
Definition at line 1156 of file GHOST_Types.hh.
| int GHOST_CSD_Params::cursor_double_click_ms |
Definition at line 1142 of file GHOST_Types.hh.
| int GHOST_CSD_Params::cursor_drag_threshold |
Used for window interactions.
Definition at line 1141 of file GHOST_Types.hh.
| int32_t(*) GHOST_CSD_Params::layout_callback(const int32_t window_size[2], const int32_t fractional_scale[2], GHOST_TWindowState windowstate, const struct GHOST_CSD_Layout *csd_layout, GHOST_CSD_Elem *csd_elems) |
Definition at line 1135 of file GHOST_Types.hh.
| int GHOST_CSD_Params::resize_margin_size |
Extra margin outside the window where the pointer still resolves to a resize border (in points, scaled by the windows DPI). Zero disables the margin.
Definition at line 1147 of file GHOST_Types.hh.