|
Blender V5.3
|
#include "GHOST_WindowWaylandCSD.hh"#include "GHOST_Types.hh"#include "GHOST_utildefines.hh"#include <array>#include <string_view>Go to the source code of this file.
Functions | |
Private CSD Integration | |
| static std::array< std::string_view, 2 > | string_partition (std::string_view s, const char delimiter) |
| static int | string_parse_buttons (std::string_view buttons, uint32_t *button_mask_p, GHOST_TCSD_Type *output, const int output_capacity) |
Public CSD API | |
| bool | GHOST_WindowCSD_LayoutFromString (GHOST_CSD_Layout &layout, const std::string_view buttons) |
| void | GHOST_WindowCSD_LayoutDefault (GHOST_CSD_Layout &layout) |
| bool | GHOST_WindowCSD_Check (GWL_CurrentDesktopType desktop_type) |
| bool GHOST_WindowCSD_Check | ( | GWL_CurrentDesktopType | desktop_type | ) |
Definition at line 119 of file GHOST_WindowWaylandCSD.cc.
References GHOST_WindowCSD_Check(), and Gnome.
Referenced by GHOST_SystemWayland::GHOST_SystemWayland(), and GHOST_WindowCSD_Check().
| void GHOST_WindowCSD_LayoutDefault | ( | GHOST_CSD_Layout & | layout | ) |
Definition at line 108 of file GHOST_WindowWaylandCSD.cc.
References GHOST_CSD_Layout::buttons, GHOST_CSD_Layout::buttons_num, GHOST_kCSDTypeButtonClose, GHOST_kCSDTypeButtonMaximize, GHOST_kCSDTypeButtonMenu, GHOST_kCSDTypeButtonMinimize, GHOST_kCSDTypeTitlebar, and GHOST_WindowCSD_LayoutDefault().
Referenced by GHOST_SystemWayland::GHOST_SystemWayland(), and GHOST_WindowCSD_LayoutDefault().
| bool GHOST_WindowCSD_LayoutFromString | ( | GHOST_CSD_Layout & | layout, |
| const std::string_view | buttons ) |
Definition at line 86 of file GHOST_WindowWaylandCSD.cc.
References ARRAY_SIZE(), GHOST_CSD_Layout::buttons, GHOST_CSD_Layout::buttons_num, GHOST_kCSDTypeTitlebar, GHOST_WindowCSD_LayoutFromString(), string_parse_buttons(), and string_partition().
Referenced by GHOST_WindowCSD_LayoutFromString().
|
static |
Definition at line 38 of file GHOST_WindowWaylandCSD.cc.
References GHOST_kCSDTypeBody, GHOST_kCSDTypeButtonClose, GHOST_kCSDTypeButtonMaximize, GHOST_kCSDTypeButtonMenu, GHOST_kCSDTypeButtonMinimize, output, and string_parse_buttons().
Referenced by GHOST_WindowCSD_LayoutFromString(), and string_parse_buttons().
|
static |
Definition at line 22 of file GHOST_WindowWaylandCSD.cc.
References string_partition().
Referenced by GHOST_WindowCSD_LayoutFromString(), and string_partition().