Starshatter_Open
Open source Starshatter engine
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
VideoMode Struct Reference

#include <VideoSettings.h>

List of all members.

Public Types

enum  Format {
  FMT_NONE = 0, FMT_R5G5B5 = 24, FMT_R5G6B5 = 23, FMT_R8G8B8 = 20,
  FMT_X8R8G8B8 = 22
}

Public Member Functions

 VideoMode ()
 VideoMode (int w, int h, Format f, int r=0)
int operator== (const VideoMode &m) const
int operator!= (const VideoMode &m) const
const char * GetDescription () const

Public Attributes

int width
int height
int refresh
int format

Detailed Description

Definition at line 23 of file VideoSettings.h.


Member Enumeration Documentation

Enumerator:
FMT_NONE 
FMT_R5G5B5 
FMT_R5G6B5 
FMT_R8G8B8 
FMT_X8R8G8B8 

Definition at line 25 of file VideoSettings.h.


Constructor & Destructor Documentation

VideoMode::VideoMode ( )
inline

Definition at line 33 of file VideoSettings.h.

VideoMode::VideoMode ( int  w,
int  h,
Format  f,
int  r = 0 
)
inline

Definition at line 34 of file VideoSettings.h.


Member Function Documentation

const char * VideoMode::GetDescription ( ) const

Definition at line 236 of file VideoSettings.cpp.

int VideoMode::operator!= ( const VideoMode m) const
inline

Definition at line 39 of file VideoSettings.h.

int VideoMode::operator== ( const VideoMode m) const
inline

Definition at line 36 of file VideoSettings.h.


Member Data Documentation

int VideoMode::format

Definition at line 48 of file VideoSettings.h.

int VideoMode::height

Definition at line 46 of file VideoSettings.h.

int VideoMode::refresh

Definition at line 47 of file VideoSettings.h.

int VideoMode::width

Definition at line 45 of file VideoSettings.h.


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