NLS Engine  v0.1
The Next Logical Step in game engine design.
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Defines
Public Member Functions | Static Public Member Functions
win32 Class Reference
Inheritance diagram for win32:
Inheritance graph
[legend]
Collaboration diagram for win32:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual boost::any CreateGUIWindow (int, int, std::string, WINDOW_FLAGS=WINDOW_OUTER_SIZE)
 Creates the platform specific window and returns the handle as a boost::any.
virtual void ShowInfo (std::string, std::string=NLS_I18N::TITLE_INFO)
 Displays a message alerting the user to some non-critical information. Displays a confirmation button. Parameters are: body text, window title. DOES NOT LOG TO DISK.
virtual void ShowWarning (std::string, std::string=NLS_I18N::TITLE_WARNING)
 Displays a message alerting the user to a non-critical problem. Displays a confirmation button. Parameters are: body text, window title. DOES NOT LOG TO DISK.
virtual void ShowError (std::string, std::string=NLS_I18N::TITLE_CRITICAL)
 Displays a message alerting the user to a critical problem. Displays a confirmation button. Parameters are: body text, window title. DOES NOT LOG TO DISK.
virtual void RouteMessages ()
 Handles message routing from the OS to the respective functions or methods.
virtual std::string GetPath (DIRS::TYPE)
 Returns the path to a known system- or user-specific location.
virtual void SetupTimer ()
virtual double GetElapsedTime ()
void Quit (EnvelopeSPTR e)
void SetClientRect (int width, int height)

Static Public Member Functions

static void Make (PropertyMap *, MessageRouter *)
static LRESULT CALLBACK Proc (HWND hwnd, UINT msg, WPARAM w, LPARAM l)

Detailed Description

Definition at line 26 of file win32.h.


Member Function Documentation

boost::any win32::CreateGUIWindow ( int  ,
int  ,
std::string  ,
WINDOW_FLAGS  = WINDOW_OUTER_SIZE 
) [virtual]

Creates the platform specific window and returns the handle as a boost::any.

Implements OSInterface.

Definition at line 34 of file win32.cpp.

std::string win32::GetPath ( DIRS::TYPE  ) [virtual]

Returns the path to a known system- or user-specific location.

Implements OSInterface.

Definition at line 234 of file win32.cpp.

void win32::RouteMessages ( ) [virtual]

Handles message routing from the OS to the respective functions or methods.

Implements OSInterface.

Definition at line 94 of file win32.cpp.

void win32::ShowError ( std::string  ,
std::string  = NLS_I18N::TITLE_CRITICAL 
) [virtual]

Displays a message alerting the user to a critical problem. Displays a confirmation button. Parameters are: body text, window title. DOES NOT LOG TO DISK.

Implements OSInterface.

Definition at line 89 of file win32.cpp.

void win32::ShowInfo ( std::string  ,
std::string  = NLS_I18N::TITLE_INFO 
) [virtual]

Displays a message alerting the user to some non-critical information. Displays a confirmation button. Parameters are: body text, window title. DOES NOT LOG TO DISK.

Implements OSInterface.

Definition at line 79 of file win32.cpp.

void win32::ShowWarning ( std::string  ,
std::string  = NLS_I18N::TITLE_WARNING 
) [virtual]

Displays a message alerting the user to a non-critical problem. Displays a confirmation button. Parameters are: body text, window title. DOES NOT LOG TO DISK.

Implements OSInterface.

Definition at line 84 of file win32.cpp.


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