ProtoZed  awesome branch
A simple but powerful game framework
Public Member Functions | List of all members
PZ::VideoMode Class Reference

Public Member Functions

 VideoMode ()
 
 VideoMode (const Vector2i &windowResolution, const Vector2i &virtualResolution, bool fullscreen=false)
 
 VideoMode (int windowWidth, int windowHeight, int virtualWidth, int virtualHeight, bool fullscreen=false)
 
 ~VideoMode ()
 
void SetVirtualResolution (const Vector2i &resolution)
 
void SetVirtualResolution (int width, int height)
 
void SetWindowResolution (const Vector2i &resolution, bool sameVirtual=true)
 
void SetWindowResolution (int width, int height, bool sameVirtual=true)
 
void SetWindowResolution (const Vector2i &resolution, bool fullscreen, bool sameVirtual=true)
 
void SetWindowResolution (int width, int height, bool fullscreen, bool sameVirtual=true)
 
void SetFullscreen (bool fullscreen)
 
const Vector2iGetVirtualResolution () const
 
const Vector2iGetWindowResolution () const
 
bool GetFullscreen () const
 

Constructor & Destructor Documentation

PZ::VideoMode::VideoMode ( )
PZ::VideoMode::VideoMode ( const Vector2i windowResolution,
const Vector2i virtualResolution,
bool  fullscreen = false 
)
PZ::VideoMode::VideoMode ( int  windowWidth,
int  windowHeight,
int  virtualWidth,
int  virtualHeight,
bool  fullscreen = false 
)
PZ::VideoMode::~VideoMode ( )

Member Function Documentation

bool PZ::VideoMode::GetFullscreen ( ) const
inline
const Vector2i& PZ::VideoMode::GetVirtualResolution ( ) const
inline
const Vector2i& PZ::VideoMode::GetWindowResolution ( ) const
inline
void PZ::VideoMode::SetFullscreen ( bool  fullscreen)
void PZ::VideoMode::SetVirtualResolution ( const Vector2i resolution)
void PZ::VideoMode::SetVirtualResolution ( int  width,
int  height 
)
void PZ::VideoMode::SetWindowResolution ( const Vector2i resolution,
bool  sameVirtual = true 
)
void PZ::VideoMode::SetWindowResolution ( int  width,
int  height,
bool  sameVirtual = true 
)
void PZ::VideoMode::SetWindowResolution ( const Vector2i resolution,
bool  fullscreen,
bool  sameVirtual = true 
)
void PZ::VideoMode::SetWindowResolution ( int  width,
int  height,
bool  fullscreen,
bool  sameVirtual = true 
)

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