TachyonUI 1.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
5#include <cstdint>
6
7namespace tachyon
8{
11
13 enum class WindowFlags : uint32_t
14 {
15 None = 0,
16
18 Hidden = 2,
25
26 Utility = 128,
28
30 Modal = 512,
31
33 PopupMenu = 1024,
34
36 Shadow = 2048,
37
40
44
48
52
55 ConfirmClose = 65536,
56
60 NoInput = 131072,
61
62
64 };
67};
@ None
Definition gui_element_flags.h:18
@ NoInput
Mouse hits pass through; a window's, to the windows under it.
Definition gui_element_flags.h:48
@ Shadow
"<shadow>": a box-shadow, or none
Definition gui_style_sheet.h:61
@ 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:14
@ UserControlled
Definition gui_window_flags.h:22
@ CustomTitleBar
Keeps the OS frame (resizing, snapping, shadow) but the client area covers the title bar,...
Definition gui_window_flags.h:51
@ 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:43
@ Transparent
Definition gui_window_flags.h:27
@ DefaultFlags
Definition gui_window_flags.h:63
@ SkipTaskbar
Definition gui_window_flags.h:24
@ 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:55
@ CloseWithParent
Closes with its parent window; without it the window becomes top-level when the parent closes.
Definition gui_window_flags.h:47
@ NotFocusable
Never takes keyboard focus (e.g. tooltips).
Definition gui_window_flags.h:39
@ Borderless
Definition gui_window_flags.h:19
@ Utility
Definition gui_window_flags.h:26
@ Resizable
Definition gui_window_flags.h:21
@ Moveable
Definition gui_window_flags.h:20
@ AllowHighDPI
Definition gui_window_flags.h:17
@ Modal
Blocks interaction with the other windows OSWindowManager manages.
Definition gui_window_flags.h:30
@ AlwaysOnTop
Definition gui_window_flags.h:23
@ PopupMenu
Stays on top without blocking other windows; closes when another (non-child) window gets focus.
Definition gui_window_flags.h:33
#define TACHYON_ENUM_OPERATORS(EnumType)
Definition gui_enum_operators.h:8
Definition gui_logging.h:24