Lugdunum  0.1.0
Classes | Functions | Variables
lug::Window::priv Namespace Reference

Classes

class  WindowImpl
 
struct  WMHints
 

Functions

static Mouse::Button buttonCodeToLugButton (unsigned int buttonCode)
 
static Keyboard::Key keysymToLugKey (KeySym key)
 
static Bool selectEvents (Display *, XEvent *event, XPointer)
 
static Cursor createHiddenCursor (::Display *display, ::Window window)
 
static Keyboard::Key vkToLugKey (WPARAM key)
 

Variables

constexpr uint8_t MWMHintsFunctions = 1 << 0
 
constexpr uint8_t MWMHintsDecorations = 1 << 1
 
constexpr uint8_t MWMDecorBorder = 1 << 1
 
constexpr uint8_t MWMDecorResizeh = 1 << 2
 
constexpr uint8_t MWMDecorTitle = 1 << 3
 
constexpr uint8_t MWMDecorMenu = 1 << 4
 
constexpr uint8_t MWMDecorMinimize = 1 << 5
 
constexpr uint8_t MWMDecorMaximize = 1 << 6
 
constexpr uint8_t MWMFuncResize = 1 << 1
 
constexpr uint8_t MWMFuncMove = 1 << 2
 
constexpr uint8_t MWMFuncMinimize = 1 << 3
 
constexpr uint8_t MWMFuncMaximize = 1 << 4
 
constexpr uint8_t MWMFuncClose = 1 << 5
 

Function Documentation

◆ buttonCodeToLugButton()

static Mouse::Button lug::Window::priv::buttonCodeToLugButton ( unsigned int  buttonCode)
static

Definition at line 69 of file WindowImplX11.cpp.

◆ keysymToLugKey()

static Keyboard::Key lug::Window::priv::keysymToLugKey ( KeySym  key)
static

Definition at line 78 of file WindowImplX11.cpp.

◆ selectEvents()

static Bool lug::Window::priv::selectEvents ( Display *  ,
XEvent *  event,
XPointer   
)
static

Definition at line 343 of file WindowImplX11.cpp.

◆ createHiddenCursor()

static Cursor lug::Window::priv::createHiddenCursor ( ::Display *  display,
::Window  window 
)
static

Definition at line 536 of file WindowImplX11.cpp.

◆ vkToLugKey()

static Keyboard::Key lug::Window::priv::vkToLugKey ( WPARAM  key)
static

Definition at line 124 of file WindowImplWin32.cpp.

Variable Documentation

◆ MWMHintsFunctions

constexpr uint8_t lug::Window::priv::MWMHintsFunctions = 1 << 0

Definition at line 9 of file WmHints.hpp.

◆ MWMHintsDecorations

constexpr uint8_t lug::Window::priv::MWMHintsDecorations = 1 << 1

Definition at line 10 of file WmHints.hpp.

◆ MWMDecorBorder

constexpr uint8_t lug::Window::priv::MWMDecorBorder = 1 << 1

Definition at line 12 of file WmHints.hpp.

◆ MWMDecorResizeh

constexpr uint8_t lug::Window::priv::MWMDecorResizeh = 1 << 2

Definition at line 13 of file WmHints.hpp.

◆ MWMDecorTitle

constexpr uint8_t lug::Window::priv::MWMDecorTitle = 1 << 3

Definition at line 14 of file WmHints.hpp.

◆ MWMDecorMenu

constexpr uint8_t lug::Window::priv::MWMDecorMenu = 1 << 4

Definition at line 15 of file WmHints.hpp.

◆ MWMDecorMinimize

constexpr uint8_t lug::Window::priv::MWMDecorMinimize = 1 << 5

Definition at line 16 of file WmHints.hpp.

◆ MWMDecorMaximize

constexpr uint8_t lug::Window::priv::MWMDecorMaximize = 1 << 6

Definition at line 17 of file WmHints.hpp.

◆ MWMFuncResize

constexpr uint8_t lug::Window::priv::MWMFuncResize = 1 << 1

Definition at line 19 of file WmHints.hpp.

◆ MWMFuncMove

constexpr uint8_t lug::Window::priv::MWMFuncMove = 1 << 2

Definition at line 20 of file WmHints.hpp.

◆ MWMFuncMinimize

constexpr uint8_t lug::Window::priv::MWMFuncMinimize = 1 << 3

Definition at line 21 of file WmHints.hpp.

◆ MWMFuncMaximize

constexpr uint8_t lug::Window::priv::MWMFuncMaximize = 1 << 4

Definition at line 22 of file WmHints.hpp.

◆ MWMFuncClose

constexpr uint8_t lug::Window::priv::MWMFuncClose = 1 << 5

Definition at line 24 of file WmHints.hpp.