nDisplayMode2 Class Reference
#include <ndisplaymode2.h>
Detailed Description
Contains display mode parameters.(C) 2002 RadonLabs GmbH
Definition at line 16 of file ndisplaymode2.h.
Public Types | |
| enum | Type { Windowed, Fullscreen, AlwaysOnTop, ChildWindow } |
| display mode types More... | |
| enum | Bpp { Bpp16, Bpp32 } |
| bit depths More... | |
Public Member Functions | |
| nDisplayMode2 () | |
| constructor | |
| nDisplayMode2 (const char *winTitle, Type t, ushort x, ushort y, ushort w, ushort h, bool vSync, bool dialogBoxMode, const char *iconResName) | |
| constructor | |
| void | Set (const char *winTitle, Type t, ushort x, ushort y, ushort w, ushort h, bool vSync, bool dialogBoxMode, const char *iconResName) |
| set display mode | |
| void | SetXPos (int x) |
| set x position | |
| int | GetXPos () const |
| get x position | |
| void | SetYPos (int y) |
| set y position | |
| int | GetYPos () const |
| get y position | |
| void | SetWidth (int w) |
| set display width | |
| int | GetWidth () const |
| get display width | |
| void | SetHeight (int h) |
| set display height | |
| int | GetHeight () const |
| get display height | |
| void | SetType (Type t) |
| set display type | |
| Type | GetType () const |
| get display type | |
| void | SetBpp (Bpp depth) |
| set bit depth | |
| Bpp | GetBpp () const |
| get bit depth | |
| void | SetWindowTitle (const nString &t) |
| set window title | |
| const nString & | GetWindowTitle () const |
| get window title | |
| void | SetVerticalSync (bool b) |
| set vertical sync flag | |
| bool | GetVerticalSync () const |
| get vertical sync flag | |
| void | SetIcon (const nString &resName) |
| set optional window icon resource | |
| const nString & | GetIcon () const |
| get optional window icon resource | |
| void | SetDialogBoxMode (bool b) |
| make this mode compatible with host system dialog boxes | |
| bool | GetDialogBoxMode () const |
| get dialog box mode | |
| void | SetAntiAliasSamples (int s) |
| set antialiasing mode | |
| int | GetAntiAliasSamples () const |
| get antialiasing mode | |
Static Public Member Functions | |
| static const char * | TypeToString (Type t) |
| convert type to string | |
| static Type | StringToType (const char *str) |
| convert string to type | |
Member Enumeration Documentation
|
|
display mode types
Definition at line 20 of file ndisplaymode2.h. |
|
|
bit depths
Definition at line 29 of file ndisplaymode2.h. |
Constructor & Destructor Documentation
|
|
constructor
Definition at line 108 of file ndisplaymode2.h. |
|
||||||||||||||||||||||||||||||||||||||||
|
constructor
Definition at line 128 of file ndisplaymode2.h. |
Member Function Documentation
|
||||||||||||||||||||||||||||||||||||||||
|
set display mode
Definition at line 149 of file ndisplaymode2.h. |
|
|
set x position
Definition at line 170 of file ndisplaymode2.h. |
|
|
get x position
Definition at line 180 of file ndisplaymode2.h. |
|
|
set y position
Definition at line 190 of file ndisplaymode2.h. |
|
|
get y position
Definition at line 200 of file ndisplaymode2.h. |
|
|
set display width
Definition at line 210 of file ndisplaymode2.h. |
|
|
get display width
Definition at line 221 of file ndisplaymode2.h. |
|
|
set display height
Definition at line 232 of file ndisplaymode2.h. |
|
|
get display height
Definition at line 243 of file ndisplaymode2.h. |
|
|
set display type
Definition at line 254 of file ndisplaymode2.h. |
|
|
get display type
Definition at line 264 of file ndisplaymode2.h. |
|
|
set bit depth
Definition at line 384 of file ndisplaymode2.h. |
|
|
get bit depth
Definition at line 394 of file ndisplaymode2.h. |
|
|
set window title
Definition at line 274 of file ndisplaymode2.h. |
|
|
get window title
Definition at line 284 of file ndisplaymode2.h. |
|
|
set vertical sync flag
Definition at line 294 of file ndisplaymode2.h. |
|
|
get vertical sync flag
Definition at line 304 of file ndisplaymode2.h. |
|
|
set optional window icon resource
Definition at line 344 of file ndisplaymode2.h. |
|
|
get optional window icon resource
Definition at line 354 of file ndisplaymode2.h. |
|
|
make this mode compatible with host system dialog boxes
Definition at line 364 of file ndisplaymode2.h. |
|
|
get dialog box mode
Definition at line 374 of file ndisplaymode2.h. |
|
|
set antialiasing mode
Definition at line 404 of file ndisplaymode2.h. |
|
|
get antialiasing mode
Definition at line 415 of file ndisplaymode2.h. |
|
|
convert type to string
Definition at line 314 of file ndisplaymode2.h. |
|
|
convert string to type
Definition at line 330 of file ndisplaymode2.h. |
The documentation for this class was generated from the following file: