TachyonUI 0.1.0
High-performance UI for building tools.
Loading...
Searching...
No Matches
gui_window_flags.h
Go to the documentation of this file.
1#pragma once
2
4
5namespace tachyon
6{
9
11 enum class WindowFlags : uint32_t
12 {
13 None = 0,
14
16 Hidden = 2,
23
24 Utility = 128,
26
28 Modal = 512,
29
31 PopupMenu = 1024,
32
34 Shadow = 2048,
35
38
42
46
50
53 ConfirmClose = 65536,
54
58 NoInput = 131072,
59
60
62 };
65};
@ None
Definition gui_element_flags.h:19
@ NoInput
Mouse hits pass through; a window's, to the windows under it.
Definition gui_element_flags.h:46
@ Hidden
Content clipped, no scrollbars.
Definition gui_style.h:236
WindowFlags
How an OS window is made and behaves (IWindowBackend::CreateWindow); flags combine with |.
Definition gui_window_flags.h:12
@ UserControlled
Definition gui_window_flags.h:20
@ CustomTitleBar
Keeps the OS frame (resizing, snapping, shadow) but the client area covers the title bar,...
Definition gui_window_flags.h:49
@ RenderToImage
No OS window: the window renders into an image the host reads or provides, and the host passes in its...
Definition gui_window_flags.h:41
@ Transparent
Definition gui_window_flags.h:25
@ Shadow
The OS drop shadow, where supported.
Definition gui_window_flags.h:34
@ DefaultFlags
Definition gui_window_flags.h:61
@ SkipTaskbar
Definition gui_window_flags.h:22
@ ConfirmClose
A close from the OS (its close button, Alt+F4, quitting) is only recorded for the app to decide on (I...
Definition gui_window_flags.h:53
@ CloseWithParent
Closes with its parent window; without it the window becomes top-level when the parent closes.
Definition gui_window_flags.h:45
@ NotFocusable
Never takes keyboard focus (e.g. tooltips).
Definition gui_window_flags.h:37
@ Borderless
Definition gui_window_flags.h:17
@ Utility
Definition gui_window_flags.h:24
@ Resizable
Definition gui_window_flags.h:19
@ Moveable
Definition gui_window_flags.h:18
@ AllowHighDPI
Definition gui_window_flags.h:15
@ Modal
Blocks interaction with the other windows OSWindowManager manages.
Definition gui_window_flags.h:28
@ AlwaysOnTop
Definition gui_window_flags.h:21
@ PopupMenu
Stays on top without blocking other windows; closes when another (non-child) window gets focus.
Definition gui_window_flags.h:31
#define TACHYON_ENUM_OPERATORS(EnumType)
Definition gui_enum_operators.h:6
Definition gui_logging.h:24