Lugdunum  0.1.0
WmHints.hpp
Go to the documentation of this file.
1 #pragma once
2 
3 namespace lug {
4 namespace Window {
5 namespace priv {
6 
7 #include <cstdint>
8 
9 constexpr uint8_t MWMHintsFunctions = 1 << 0;
10 constexpr uint8_t MWMHintsDecorations = 1 << 1;
11 
12 constexpr uint8_t MWMDecorBorder = 1 << 1;
13 constexpr uint8_t MWMDecorResizeh = 1 << 2;
14 constexpr uint8_t MWMDecorTitle = 1 << 3;
15 constexpr uint8_t MWMDecorMenu = 1 << 4;
16 constexpr uint8_t MWMDecorMinimize = 1 << 5;
17 constexpr uint8_t MWMDecorMaximize = 1 << 6;
18 
19 constexpr uint8_t MWMFuncResize = 1 << 1;
20 constexpr uint8_t MWMFuncMove = 1 << 2;
21 constexpr uint8_t MWMFuncMinimize = 1 << 3;
22 constexpr uint8_t MWMFuncMaximize = 1 << 4;
23 
24 constexpr uint8_t MWMFuncClose = 1 << 5;
25 
26 struct WMHints {
27  unsigned long flags;
28  unsigned long functions;
29  unsigned long decorations;
30  long inputMode;
31  unsigned long state;
32 };
33 
34 } // namespace priv
35 } // namespace Window
36 } // namespace lug
constexpr uint8_t MWMHintsDecorations
Definition: WmHints.hpp:10
constexpr uint8_t MWMDecorTitle
Definition: WmHints.hpp:14
constexpr uint8_t MWMDecorResizeh
Definition: WmHints.hpp:13
constexpr uint8_t MWMFuncMove
Definition: WmHints.hpp:20
unsigned long decorations
Definition: WmHints.hpp:29
constexpr uint8_t MWMDecorMinimize
Definition: WmHints.hpp:16
constexpr uint8_t MWMDecorMaximize
Definition: WmHints.hpp:17
unsigned long functions
Definition: WmHints.hpp:28
constexpr uint8_t MWMFuncClose
Definition: WmHints.hpp:24
constexpr uint8_t MWMDecorBorder
Definition: WmHints.hpp:12
constexpr uint8_t MWMFuncResize
Definition: WmHints.hpp:19
constexpr uint8_t MWMHintsFunctions
Definition: WmHints.hpp:9
constexpr uint8_t MWMFuncMaximize
Definition: WmHints.hpp:22
constexpr uint8_t MWMFuncMinimize
Definition: WmHints.hpp:21
constexpr uint8_t MWMDecorMenu
Definition: WmHints.hpp:15