NL3D::GfxMode Class Reference

#include <driver.h>


Detailed Description

A Graphic Mode descriptor.

Definition at line 81 of file driver.h.

Public Member Functions

 GfxMode (uint16 w, uint16 h, uint8 d, bool windowed=true, bool offscreen=false, uint frequency=60)
 GfxMode (void)

Data Fields

uint8 Depth
uint Frequency
uint16 Height
bool OffScreen
uint16 Width
bool Windowed


Constructor & Destructor Documentation

NL3D::GfxMode::GfxMode void   )  [inline]
 

Definition at line 91 of file driver.h.

References Frequency, OffScreen, and Windowed.

00092                                                 { 
00093                                                         OffScreen=false;
00094                                                         Windowed=false;
00095                                                         Width=0;
00096                                                         Height=0;
00097                                                         Depth=0;
00098                                                         Frequency=0;
00099                                                 }

NL3D::GfxMode::GfxMode uint16  w,
uint16  h,
uint8  d,
bool  windowed = true,
bool  offscreen = false,
uint  frequency = 60
 

Definition at line 126 of file driver.cpp.

References Frequency, OffScreen, uint, uint16, uint8, w, and Windowed.

00127 {
00128         Windowed= windowed;
00129         Width= w;
00130         Height= h;
00131         Depth= d;
00132         OffScreen= offscreen;
00133         Frequency= frequency;
00134 }


Field Documentation

uint8 NL3D::GfxMode::Depth
 

Definition at line 88 of file driver.h.

Referenced by NL3D::CDriverGL::enumModes(), NL3D::CDriverGL::getModes(), and NL3D::CDriverGL::setMode().

uint NL3D::GfxMode::Frequency
 

Definition at line 89 of file driver.h.

Referenced by NL3D::CDriverGL::getModes(), GfxMode(), and NL3D::CDriverGL::setMode().

uint16 NL3D::GfxMode::Height
 

Definition at line 87 of file driver.h.

Referenced by NL3D::CDriverGL::enumModes(), NL3D::CDriverGL::getModes(), and NL3D::CDriverGL::setMode().

bool NL3D::GfxMode::OffScreen
 

Definition at line 84 of file driver.h.

Referenced by GfxMode().

uint16 NL3D::GfxMode::Width
 

Definition at line 86 of file driver.h.

Referenced by NL3D::CDriverGL::enumModes(), NL3D::CDriverGL::getModes(), and NL3D::CDriverGL::setMode().

bool NL3D::GfxMode::Windowed
 

Definition at line 85 of file driver.h.

Referenced by NL3D::CDriverGL::enumModes(), GfxMode(), and NL3D::CDriverGL::setMode().


The documentation for this class was generated from the following files:
Generated on Tue Mar 16 08:37:03 2004 for NeL by doxygen 1.3.6