Update raylib.h : add experimental FLAG_RESCALE_CONTENT
This commit is contained in:
parent
dc4c60bf62
commit
3c48b5c6a8
35
src/raylib.h
35
src/raylib.h
|
|
@ -531,22 +531,25 @@ typedef struct AutomationEventList {
|
||||||
// NOTE: Every bit registers one state (use it with bit masks)
|
// NOTE: Every bit registers one state (use it with bit masks)
|
||||||
// By default all flags are set to 0
|
// By default all flags are set to 0
|
||||||
typedef enum {
|
typedef enum {
|
||||||
FLAG_VSYNC_HINT = 0x00000040, // Set to try enabling V-Sync on GPU
|
FLAG_VSYNC_HINT = 0x00000040, // Set to try enabling V-Sync on GPU
|
||||||
FLAG_FULLSCREEN_MODE = 0x00000002, // Set to run program in fullscreen
|
FLAG_FULLSCREEN_MODE = 0x00000002, // Set to run program in fullscreen
|
||||||
FLAG_WINDOW_RESIZABLE = 0x00000004, // Set to allow resizable window
|
FLAG_WINDOW_RESIZABLE = 0x00000004, // Set to allow resizable window
|
||||||
FLAG_WINDOW_UNDECORATED = 0x00000008, // Set to disable window decoration (frame and buttons)
|
FLAG_WINDOW_UNDECORATED = 0x00000008, // Set to disable window decoration (frame and buttons)
|
||||||
FLAG_WINDOW_HIDDEN = 0x00000080, // Set to hide window
|
FLAG_WINDOW_HIDDEN = 0x00000080, // Set to hide window
|
||||||
FLAG_WINDOW_MINIMIZED = 0x00000200, // Set to minimize window (iconify)
|
FLAG_WINDOW_MINIMIZED = 0x00000200, // Set to minimize window (iconify)
|
||||||
FLAG_WINDOW_MAXIMIZED = 0x00000400, // Set to maximize window (expanded to monitor)
|
FLAG_WINDOW_MAXIMIZED = 0x00000400, // Set to maximize window (expanded to monitor)
|
||||||
FLAG_WINDOW_UNFOCUSED = 0x00000800, // Set to window non focused
|
FLAG_WINDOW_UNFOCUSED = 0x00000800, // Set to window non focused
|
||||||
FLAG_WINDOW_TOPMOST = 0x00001000, // Set to window always on top
|
FLAG_WINDOW_TOPMOST = 0x00001000, // Set to window always on top
|
||||||
FLAG_WINDOW_ALWAYS_RUN = 0x00000100, // Set to allow windows running while minimized
|
FLAG_WINDOW_ALWAYS_RUN = 0x00000100, // Set to allow windows running while minimized
|
||||||
FLAG_WINDOW_TRANSPARENT = 0x00000010, // Set to allow transparent framebuffer
|
FLAG_WINDOW_TRANSPARENT = 0x00000010, // Set to allow transparent framebuffer
|
||||||
FLAG_WINDOW_HIGHDPI = 0x00002000, // Set to support HighDPI
|
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_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_BORDERLESS_WINDOWED_MODE = 0x00008000, // Set to run program in borderless windowed mode
|
||||||
FLAG_MSAA_4X_HINT = 0x00000020, // Set to try enabling MSAA 4X
|
FLAG_MSAA_4X_HINT = 0x00000020, // Set to try enabling MSAA 4X
|
||||||
FLAG_INTERLACED_HINT = 0x00010000 // Set to try enabling interlaced video format (for V3D)
|
FLAG_INTERLACED_HINT = 0x00010000, // Set to try enabling interlaced video format (for V3D)
|
||||||
|
|
||||||
|
// Experimental WIP flags :
|
||||||
|
FLAG_RESCALE_CONTENT = 0x10000000 // (GLFW desktop platform) Set to rescale the content of the window when the window is resized or fullscreened
|
||||||
} ConfigFlags;
|
} ConfigFlags;
|
||||||
|
|
||||||
// Trace log level
|
// Trace log level
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user