Text editor: basic multiple windows implementation
This commit is contained in:
@@ -1010,3 +1010,33 @@ MOUSE_CURSOR_RESIZE_NESW :: ^; // The top-right to bottom-left diagonal re
|
||||
MOUSE_CURSOR_RESIZE_ALL :: ^; // The omnidirectional resize/move cursor shape
|
||||
MOUSE_CURSOR_NOT_ALLOWED :: ^; // The operation-not-allowed shape
|
||||
|
||||
// System/Window config flags
|
||||
// NOTE: Every bit registers one state (use it with bit masks)
|
||||
// By default all flags are set to 0
|
||||
FLAG_VSYNC_HINT :: 0x00000040; // Set to try enabling V-Sync on GPU
|
||||
FLAG_FULLSCREEN_MODE :: 0x00000002; // Set to run program in fullscreen
|
||||
FLAG_WINDOW_RESIZABLE :: 0x00000004; // Set to allow resizable window
|
||||
FLAG_WINDOW_UNDECORATED :: 0x00000008; // Set to disable window decoration (frame and buttons)
|
||||
FLAG_WINDOW_HIDDEN :: 0x00000080; // Set to hide window
|
||||
FLAG_WINDOW_MINIMIZED :: 0x00000200; // Set to minimize window (iconify)
|
||||
FLAG_WINDOW_MAXIMIZED :: 0x00000400; // Set to maximize window (expanded to monitor)
|
||||
FLAG_WINDOW_UNFOCUSED :: 0x00000800; // Set to window non focused
|
||||
FLAG_WINDOW_TOPMOST :: 0x00001000; // Set to window always on top
|
||||
FLAG_WINDOW_ALWAYS_RUN :: 0x00000100; // Set to allow windows running while minimized
|
||||
FLAG_WINDOW_TRANSPARENT :: 0x00000010; // Set to allow transparent framebuffer
|
||||
FLAG_WINDOW_HIGHDPI :: 0x00002000; // Set to support HighDPI
|
||||
FLAG_WINDOW_MOUSE_PASSTHROUGH :: 0x00004000; // Set to support mouse passthrough, only supported when FLAG_WINDOW_UNDECORATED
|
||||
FLAG_BORDERLESS_WINDOWED_MODE :: 0x00008000; // Set to run program in borderless windowed mode
|
||||
FLAG_MSAA_4X_HINT :: 0x00000020; // Set to try enabling MSAA 4X
|
||||
FLAG_INTERLACED_HINT :: 0x00010000; // Set to try enabling interlaced video format (for V3D)
|
||||
|
||||
// Trace log level
|
||||
// NOTE: Organized by priority level
|
||||
LOG_ALL :: 0; // Display all logs
|
||||
LOG_TRACE :: ^; // Trace logging, intended for internal use only
|
||||
LOG_DEBUG :: ^; // Debug logging, used for internal debugging, it should be disabled on release builds
|
||||
LOG_INFO :: ^; // Info logging, used for program execution info
|
||||
LOG_WARNING :: ^; // Warning logging, used on recoverable failures
|
||||
LOG_ERROR :: ^; // Error logging, used on unrecoverable failures
|
||||
LOG_FATAL :: ^; // Fatal logging, used to abort program: exit(EXIT_FAILURE)
|
||||
LOG_NONE :: ^; // Disable logging
|
||||
Reference in New Issue
Block a user