SDOM - Simple SDL Document Object Model
A lightweight, extensible Document Object Model for SDL-based applications.
Loading...
Searching...
No Matches
SDOM::Core::CoreConfig Struct Reference

#include <SDOM_Core.hpp>

Public Attributes

float windowWidth = 800.0f
 
float windowHeight = 600.0f
 
float pixelWidth = 2.0f
 
float pixelHeight = 2.0f
 
bool preserveAspectRatio = true
 
bool allowTextureResize = true
 
SDL_RendererLogicalPresentation rendererLogicalPresentation = SDL_LOGICAL_PRESENTATION_LETTERBOX
 
SDL_WindowFlags windowFlags = SDL_WINDOW_RESIZABLE
 
SDL_PixelFormat pixelFormat = SDL_PIXELFORMAT_RGBA8888
 
SDL_Color color
 

Member Data Documentation

◆ allowTextureResize

bool SDOM::Core::CoreConfig::allowTextureResize = true

◆ color

SDL_Color SDOM::Core::CoreConfig::color

◆ pixelFormat

SDL_PixelFormat SDOM::Core::CoreConfig::pixelFormat = SDL_PIXELFORMAT_RGBA8888

◆ pixelHeight

float SDOM::Core::CoreConfig::pixelHeight = 2.0f

◆ pixelWidth

float SDOM::Core::CoreConfig::pixelWidth = 2.0f

◆ preserveAspectRatio

bool SDOM::Core::CoreConfig::preserveAspectRatio = true

◆ rendererLogicalPresentation

SDL_RendererLogicalPresentation SDOM::Core::CoreConfig::rendererLogicalPresentation = SDL_LOGICAL_PRESENTATION_LETTERBOX

◆ windowFlags

SDL_WindowFlags SDOM::Core::CoreConfig::windowFlags = SDL_WINDOW_RESIZABLE

◆ windowHeight

float SDOM::Core::CoreConfig::windowHeight = 600.0f

◆ windowWidth

float SDOM::Core::CoreConfig::windowWidth = 800.0f

The documentation for this struct was generated from the following file: