23 #ifndef PS_MAIN_WIDGET_HEADER    24 #define PS_MAIN_WIDGET_HEADER    28 #include <iengine/camera.h>    39 #include "../pscelclient.h"    53     psEntityType(
const char *
id,
const char *
label, 
int dflt, 
const char *commandsStr, 
const char *labelsStr);
    66     csString BuildDfltBehaviors();
    67     bool LoadConfigFromFile();
    68     bool SaveConfigToFile();
    70     csPDelArray<psEntityType> 
types;
    85     bool OnKeyDown(utf32_char keyCode, utf32_char key, 
int modifiers );
    87     bool OnMouseDown( 
int button, 
int modifiers, 
int x, 
int y );
    88     bool OnMouseUp( 
int button, 
int modifiers, 
int x, 
int y );
    89     bool OnDoubleClick( 
int button, 
int modifiers, 
int x, 
int y );
   105     void HandleMessage( 
MsgEntry* message );
   121     void PrintOnScreen(
const char* text, 
int color, 
float ymod = 0.50f);
   124     void ClearFadingText();
   143     bool GetMesgOption(
int mesgType);
   148     void SetMesgOption(
int mesgType, 
bool value);
   153     bool LoadConfigFromFile();
   158     bool SaveConfigToFile();
   187     csRef<iFont>    mesgFont;
   188     csRef<iFont>    mesgFirstFont;
   190     csArray<pawsWidget*> onscreen;
   191     csHash<mesgOption, int> mesgOptions; 
 
Main Chat window for PlaneShift. 
 
The structure of 1 queue entry (pointer to a message) 
 
Used to store an option about on screen options. 
 
Client version of the Cel Manager Requests world loading. 
 
csHash< mesgOption, int >::GlobalIterator GetMesgOptionsIterator()
Returns an iterator to iterate the options about on-screen messages. 
 
int type
The type of message. 
 
The main or desktop widget. 
 
An object that the client knows about. 
 
bool value
If the message is active or not. 
 
psEntityType(const char *id, const char *label, int dflt, const char *commandsStr, const char *labelsStr)
 
csPDelArray< psEntityType > types
 
const char * HandleCommand(const char *)
Handles commands (unused for now) 
 
psEntityTypes * GetEntityTypes()
 
The main or desktop widget.