GFXVideoMode Struct Reference

#include <gfxStructs.h>

List of all members.

Public Member Functions

 GFXVideoMode ()
bool operator== (GFXVideoMode &otherMode) const
void parseFromString (const char *str)
 Fill whatever fields we can from the passed string, which should be of form "width height [bitDepth [refreshRate] [antialiasLevel]]" Unspecified fields aren't modified, so you may want to set defaults before parsing.
const String toString ()
 Gets a string representation of the object as "resolution.x resolution.y fullScreen bitDepth refreshRate antialiasLevel".

Public Attributes

Point2I resolution
U32 bitDepth
U32 refreshRate
bool fullScreen
bool wideScreen
U32 antialiasLevel


Constructor & Destructor Documentation

GFXVideoMode::GFXVideoMode (  ) 


Member Function Documentation

bool GFXVideoMode::operator== ( GFXVideoMode otherMode  )  const [inline]

void GFXVideoMode::parseFromString ( const char *  str  ) 

Fill whatever fields we can from the passed string, which should be of form "width height [bitDepth [refreshRate] [antialiasLevel]]" Unspecified fields aren't modified, so you may want to set defaults before parsing.

const String GFXVideoMode::toString (  ) 

Gets a string representation of the object as "resolution.x resolution.y fullScreen bitDepth refreshRate antialiasLevel".

Returns:
(string) A string representation of the object.


Member Data Documentation