22 #ifndef AGS_ENGINE_GFX_GFX_DEFINES_H 23 #define AGS_ENGINE_GFX_GFX_DEFINES_H 25 #include "ags/shared/core/types.h" 26 #include "ags/shared/util/geometry.h" 41 :
Size(width, height), ColorDepth(color_depth) {
45 :
Size(size), ColorDepth(color_depth) {
48 inline bool IsValid()
const {
49 return Width > 0 && Height > 0 && ColorDepth > 0;
61 int32_t RefreshRate = 0;
63 WindowMode Mode = kWnd_Windowed;
66 inline bool IsWindowed()
const {
67 return Mode == kWnd_Windowed;
70 inline bool IsRealFullscreen()
const {
71 return Mode == kWnd_Fullscreen;
77 , RefreshRate(refresh)
Definition: achievements_tables.h:27
Definition: gfx_defines.h:60
Definition: geometry.h:148
Definition: gfx_defines.h:33