Planeshift
Public Member Functions | Public Attributes | Static Public Attributes

PawsEditorApp Class Reference

#include <pawseditorapp.h>

List of all members.

Public Member Functions

void Exit ()
 Exits the application.
bool GetCamFlag (int flag)
 Gets the value of the given camera flag.
iConfigManager * GetConfigManager ()
 Gets the Configuration Manager.
csVector2 GetMousePointer ()
 Gets the location of the mouse pointer.
iVFS * GetVFS ()
 Gets the VFS Manager.
bool HandleEvent (iEvent &ev)
 Handles an event from the event handler.
bool Init ()
 Initializes some CS specific stuff, fills most of this classes global variables, and inits eedit specifics.
void LoadSkin (const char *name)
bool LoadWidget (const char *file)
 Loads a single paws widget.
bool LoadWidgets ()
 Loads all the paws widgets (windows)
void OpenImageList (const csString &text)
void OpenWidget (const csString &text)
csPtr< iDocumentNode > ParseWidgetFile (const char *widgetFile)
csPtr< iDocumentNode > ParseWidgetFile_mod (const char *widgetFile)
 PawsEditorApp (iObjectRegistry *obj_reg)
 Constructor.
void ReloadWidget ()
void SetCamFlag (int flag, bool val)
 Sets the given camera flag.
void SevereError (const char *msg)
 Reports a severe error in the application.
void ShowSkinSelector ()
 ~PawsEditorApp ()
 Destructor.

Public Attributes

pawsWidgetcurrentWidget

Static Public Attributes

static const char * APP_NAME
static const char * CONFIG_FILENAME
static const char * KEY_DEFS_FILENAME
static const char * WINDOW_CAPTION

Detailed Description

Definition at line 79 of file pawseditorapp.h.


Constructor & Destructor Documentation

PawsEditorApp::PawsEditorApp ( iObjectRegistry *  obj_reg)

Constructor.

PawsEditorApp::~PawsEditorApp ( )

Destructor.


Member Function Documentation

void PawsEditorApp::Exit ( )

Exits the application.

bool PawsEditorApp::GetCamFlag ( int  flag)

Gets the value of the given camera flag.

Parameters:
flagthe editApp::CAM_FLAG to get
Returns:
the value of the specific camera flag
iConfigManager* PawsEditorApp::GetConfigManager ( )

Gets the Configuration Manager.

Returns:
the configuration manager.
csVector2 PawsEditorApp::GetMousePointer ( )

Gets the location of the mouse pointer.

Returns:
the mouse position.
iVFS* PawsEditorApp::GetVFS ( )

Gets the VFS Manager.

Returns:
the VFS manager.
bool PawsEditorApp::HandleEvent ( iEvent &  ev)

Handles an event from the event handler.

Parameters:
evEvent the event to handle
bool PawsEditorApp::Init ( )

Initializes some CS specific stuff, fills most of this classes global variables, and inits eedit specifics.

Returns:
true on success, false otherwise
void PawsEditorApp::LoadSkin ( const char *  name)
bool PawsEditorApp::LoadWidget ( const char *  file)

Loads a single paws widget.

Parameters:
filethe filename of the window to load
Returns:
true if succeeded, false otherwise
bool PawsEditorApp::LoadWidgets ( )

Loads all the paws widgets (windows)

Returns:
true if all succeeded to load, false if any had an error
void PawsEditorApp::OpenImageList ( const csString &  text)
void PawsEditorApp::OpenWidget ( const csString &  text)
csPtr<iDocumentNode> PawsEditorApp::ParseWidgetFile ( const char *  widgetFile)
csPtr<iDocumentNode> PawsEditorApp::ParseWidgetFile_mod ( const char *  widgetFile)
void PawsEditorApp::ReloadWidget ( )
void PawsEditorApp::SetCamFlag ( int  flag,
bool  val 
)

Sets the given camera flag.

Parameters:
flagthe editApp::CAM_FLAG to set
valthe new value of the camera flag
void PawsEditorApp::SevereError ( const char *  msg)

Reports a severe error in the application.

Parameters:
msgthe error message
void PawsEditorApp::ShowSkinSelector ( ) [inline]

Definition at line 165 of file pawseditorapp.h.


Member Data Documentation

const char* PawsEditorApp::APP_NAME [static]

Definition at line 84 of file pawseditorapp.h.

const char* PawsEditorApp::CONFIG_FILENAME [static]

Definition at line 83 of file pawseditorapp.h.

Definition at line 88 of file pawseditorapp.h.

const char* PawsEditorApp::KEY_DEFS_FILENAME [static]

Definition at line 86 of file pawseditorapp.h.

const char* PawsEditorApp::WINDOW_CAPTION [static]

Definition at line 85 of file pawseditorapp.h.


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