Mana
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
VideoSettings Struct Reference

#include <video.h>

Public Member Functions

int scale () const
 
int autoScale () const
 
int maxScale () const
 
bool operator== (const VideoSettings &other) const
 

Public Attributes

WindowMode windowMode = WindowMode::Windowed
 
int width = defaultScreenWidth
 
int height = defaultScreenHeight
 
int display = 0
 
int userScale = 0
 
bool vsync = true
 
bool openGL = false
 

Detailed Description

Definition at line 45 of file video.h.

Member Function Documentation

◆ autoScale()

int VideoSettings::autoScale ( ) const

Definition at line 45 of file video.cpp.

◆ maxScale()

int VideoSettings::maxScale ( ) const

Definition at line 51 of file video.cpp.

◆ operator==()

bool VideoSettings::operator== ( const VideoSettings other) const
inline

Definition at line 59 of file video.h.

◆ scale()

int VideoSettings::scale ( ) const

Definition at line 37 of file video.cpp.

Member Data Documentation

◆ display

int VideoSettings::display = 0

Definition at line 50 of file video.h.

◆ height

int VideoSettings::height = defaultScreenHeight

Definition at line 49 of file video.h.

◆ openGL

bool VideoSettings::openGL = false

Definition at line 53 of file video.h.

◆ userScale

int VideoSettings::userScale = 0

Definition at line 51 of file video.h.

◆ vsync

bool VideoSettings::vsync = true

Definition at line 52 of file video.h.

◆ width

int VideoSettings::width = defaultScreenWidth

Definition at line 48 of file video.h.

◆ windowMode

WindowMode VideoSettings::windowMode = WindowMode::Windowed

Definition at line 47 of file video.h.


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