Calamity Engine 1.0.0
A cross-platform 2D game engine written in C++ and SDL3.
Loading...
Searching...
No Matches
definitions.hpp File Reference
#include <string>
#include "../../core/definitions.hpp"

Go to the source code of this file.

Classes

class  Window
 

Enumerations

enum class  RenderLogicalPresentation {
  DISABLED , STRETCH , LETTERBOX , OVERSCAN ,
  INTEGER_SCALE
}
 
enum class  WindowFlags {
  FULLSCREEN = 0x0000000000000001 , OCCLUDED = 0x0000000000000004 , HIDDEN = 0x0000000000000008 , BORDERLESS = 0x0000000000000010 ,
  RESIZABLE = 0x0000000000000020 , MINIMIZED = 0x0000000000000040 , MAXIMIZED = 0x0000000000000080 , INPUT_GRABBED = 0x0000000000000100 ,
  INPUT_FOCUS = 0x0000000000000200 , MOUSE_FOCUS = 0x0000000000000400 , MODAL = 0x0000000000001000 , HIGH_DPI = 0x0000000000002000 ,
  MOUSE_CAPTURE = 0x0000000000004000 , ALWAYS_ON_TOP = 0x0000000000010000 , UTILITY = 0x0000000000020000 , TOOLTIP = 0x0000000000040000 ,
  POPUP_MENU = 0x0000000000080000 , KEYBOARD_GRABBED = 0x0000000000100000 , FILL_DOCUMENT = 0x0000000000200000 , TRANSPARENT = 0x0000000040000000
}
 

Enumeration Type Documentation

◆ RenderLogicalPresentation

enum class RenderLogicalPresentation
strong
Enumerator
DISABLED 

There is no logical size in effect

STRETCH 

The rendered content is stretched to the output resolution

LETTERBOX 

The rendered content is fit to the largest dimension and the other dimension is letterboxed with the clear color

OVERSCAN 

The rendered content is fit to the smallest dimension and the other dimension extends beyond the output bounds

INTEGER_SCALE 

The rendered content is scaled up by integer multiples to fit the output resolution

◆ WindowFlags

enum class WindowFlags
strong
Enumerator
FULLSCREEN 
OCCLUDED 
HIDDEN 
BORDERLESS 
RESIZABLE 
MINIMIZED 
MAXIMIZED 
INPUT_GRABBED 
INPUT_FOCUS 
MOUSE_FOCUS 
MODAL 
HIGH_DPI 
MOUSE_CAPTURE 
ALWAYS_ON_TOP 
UTILITY 
TOOLTIP 
POPUP_MENU 
KEYBOARD_GRABBED 
FILL_DOCUMENT 
TRANSPARENT