Blender V5.3
GHOST_WindowWaylandCSD.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2022-2023 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
11
12#pragma once
13
14#ifdef WITH_GHOST_CSD
15
16# include "GHOST_SystemWayland.hh"
17
18# include <string_view>
19
20struct GHOST_CSD_Layout;
21
29bool GHOST_WindowCSD_LayoutFromString(GHOST_CSD_Layout &layout, std::string_view buttons);
31
34
35#else
36# error "WITH_GHOST_CSD must be defined"
37#endif
GWL_CurrentDesktopType
bool GHOST_WindowCSD_LayoutFromString(GHOST_CSD_Layout &layout, const std::string_view buttons)
bool GHOST_WindowCSD_Check(GWL_CurrentDesktopType desktop_type)
void GHOST_WindowCSD_LayoutDefault(GHOST_CSD_Layout &layout)
GHOST_TCSD_Type buttons[5]