class csApp : public csComponent This class is a top-level CrystalSpace Windowing Toolkit object
This class is a top-level CrystalSpace Windowing Toolkit object.Generally there should be only one object of this class. Usually it is the root of entire window hierarchy. This class also owns the application-global mouse object, event queue object, graphics pipeline and some others.
csMouse* Mouse
csEventQueue* EventQueue
csWorld* world
csAppBackgroundStyle BackgroundStyle
int WindowListWidth
csMouseCursorID MouseCursorID
int LoopLevel
int DismissCode
virtual bool InitialSetup()
int Pal[cs_Color_Last]
csComponent* MouseOwner
csComponent* KeyboardOwner
csComponent* FocusOwner
bool RedrawFlag
bool WindowListChanged
char* mousetexturename
char* titletexturename
csStrVector* titlebardefs
char* dialogtexturename
csStrVector* dialogdefs
csStrVector* customtexturename
bool insert
csApp(char *AppTitle, int argc, char *argv[], csAppBackgroundStyle iBackgroundStyle = csabsSolid)
virtual ~csApp()
void ShutDown()
void Idle()
virtual void Draw()
virtual void NextFrame()
virtual void SetWorld(csWorld *AppWorld)
csWorld* GetWorld()
virtual void Loop()
Archive* GetArchive()
csTextureList* GetTextures()
csTextureHandle* GetTexture(char *Name)
csMouse* GetMouse()
void SetMouseCursor(csMouseCursorID ID)
csMouseCursorID GetMouseCursor()
void PutEvent(csEvent *Event)
void Process()
virtual bool HandleEvent(csEvent &Event)
int GetPage()
csComponent* CaptureMouse(csComponent *who)
csComponent* CaptureKeyboard(csComponent *who)
csComponent* CaptureFocus(csComponent *who)
bool GetKeyState(int iKey)
void WindowList()
void SetWindowListSize(int iWidth, int iHeight)
virtual void Insert(csComponent *comp)
virtual void Delete(csComponent *comp)
int Execute(csComponent *comp)
void Dismiss(int iCode = cscmdCancel)
virtual bool PreHandleEvent(csEvent &Event)
virtual bool PostHandleEvent(csEvent &Event)
void pplBox(int x, int y, int w, int h, int color)
void pplLine(float x1, float y1, float x2, float y2, int color)
void pplPixel(int x, int y, int color)
void pplText(int x, int y, int fg, int bg, int Font, char *s)
void pplSprite2D(csSprite2D *s2d, int x, int y, int w, int h)
void pplSaveArea(ImageArea *&Area, int x, int y, int w, int h)
void pplRestoreArea(ImageArea *Area, bool Free = false)
void pplFreeArea(ImageArea *Area)
void pplClear(int color)
void pplSetClipRect(int xmin, int ymin, int xmax, int ymax)
void pplSetClipRect(csRect &clip)
void pplRestoreClipRect()
int TextWidth(char *text, int Font)
int TextHeight(int Font)
virtual void LoadConfig()
void LoadTextures()
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de