CrystalSpace

Public API Reference

Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

csApp Class Reference
[Application]

This class is a top-level CrystalSpace Windowing Toolkit object. More...

#include <csws/csapp.h>

Inheritance diagram for csApp:

csComponent List of all members.

Public Member Functions

 csApp (iObjectRegistry *object_reg, csSkin &Skin)
 Initialize windowing system by giving a system driver and a skin.
virtual ~csApp ()
 Deinitialize windowing system.
virtual bool Initialize ()
 Set up application layout (read configs, create windows, menus etc).
void SetSkin (csSkin *Skin, bool DeleteOld=true)
 Set the skin of the application.
virtual void StartFrame ()
 This is called once per frame by HandleEvent ().
virtual void FinishFrame ()
 This is called at the end of every frame.
void FlushEvents ()
 Process all events in the queue and refresh the screen.
iEventCreateEvent ()
 Create a new event object: NEVER create event objects with `new'.
void Post (iEvent *Event)
 Add a previously created event to event queue.
void ShutDown ()
 Shut down the program.
virtual void Idle ()
 The windowing system is idle: do some lazy work.
virtual void Draw ()
 Draw the application background.
virtual void GetFont (iFont *&oFont)
 Return default font and font size.
void SetBackgroundStyle (csAppBackgroundStyle iBackgroundStyle)
 Set application background style.
void Printf (int mode, char const *format,...)
 Display a string on the console using almost usual printf() syntax.
void PrintfV (int mode, char const *format, va_list)
 Display a string on the console using almost usual printf() syntax.
bool LoadTexture (const char *iTexName, const char *iTexParams, int iFlags)
 Add a single texture to application's texture list.
virtual void PrepareTextures ()
 Prepare textures for usage (register them with the graphics driver).
csWSTexVectorGetTextures ()
 Return application's texture list.
iTextureHandleGetTexture (const char *Name)
 Find a texture by name.
csMouseGetMouse ()
 Return application's global mouse object.
void SetMouseCursor (csMouseCursorID ID)
 Set mouse cursor pointer.
csMouseCursorID GetMouseCursor ()
 Query mouse cursor pointer.
csComponentCaptureMouse (csComponent *who)
 Capture all mouse events (or disable capture if 0).
csComponentCaptureKeyboard (csComponent *who)
 Capture all keyboard events (or disable capture if 0).
csComponentCaptureFocus (csComponent *who)
 Capture all focused events (or disable capture if 0).
bool GetKeyState (int iKey)
 Query the current state of a key.
csTicks GetCurrentTime ()
 Query current time.
void WindowList ()
 Show window list.
void SetWindowListSize (int iWidth, int iHeight)
 Set window list size.
virtual void Insert (csComponent *comp)
 Insert a child component.
virtual void Delete (csComponent *comp)
 Delete a child component.
bool StartModal (csComponent *comp, iBase *userdata)
 Set modality state on a component.
void StopModal (int iCode=cscmdCancel)
 Stop top-level modality state.
csComponentGetTopModalComponent ()
 Get the top component which is currently modal.
iBaseGetTopModalUserdata ()
 Get the userdata for the top modal component.
void Dismiss (int iCode=cscmdCancel)
 Dismiss a dialog box with given return code.
virtual bool PreHandleEvent (iEvent &Event)
 Handle a event before all others.
virtual bool HandleEvent (iEvent &Event)
 Send event to all childs and return processed status.
virtual bool PostHandleEvent (iEvent &Event)
 Handle a event if nobody eaten it.
virtual void NotifyDelete (csComponent *iComp)
 Every time a component is deleted, this routine is called.
virtual csSkinGetSkin ()
 Get the closest in window hierarchy skin object.
void HintAdd (const char *iText, csComponent *iComp)
 Associate a hint with given component.
void HintRemove (csComponent *iComp)
 Remove the hint associated with given component.
csHintManagerGetHintManager ()
 Get the hint manager object.
csPtr< iFontLoadFont (const char *iFontName, int fontSize=10)
 Load a font and return its handle or 0.
int FindColor (int r, int g, int b)
 Return a color identifier given R,G,B (each 0..255).
int pplColor (int color)
 Convert a logical color into physical.
void pplBox (int x, int y, int w, int h, int color)
 Draw a box.
void pplLine (float x1, float y1, float x2, float y2, int color)
 Draw a line.
void pplPixel (int x, int y, int color)
 Draw a pixel.
void pplText (int x, int y, int fg, int bg, iFont *Font, const char *s)
 Draw a text string: if bg < 0 background is not drawn.
void pplPixmap (csPixmap *s2d, int x, int y, int w, int h, uint8 Alpha)
 Draw a (scaled) pixmap.
void pplTiledPixmap (csPixmap *s2d, int x, int y, int w, int h, int orgx, int orgy, uint8 Alpha)
 Draw a (unscaled but tiled) pixmap.
void pplTexture (iTextureHandle *hTex, int sx, int sy, int sw, int sh, int tx, int ty, int tw, int th, uint8 Alpha=0)
 Draw a (part) of texture (possibly scaled) in given screen rectangle.
void pplSaveArea (csImageArea *&Area, int x, int y, int w, int h)
 Save a part of screen.
void pplRestoreArea (csImageArea *Area, bool Free=false)
 Restore a part of screen.
void pplFreeArea (csImageArea *Area)
 Free buffer used to keep an area of screen.
void pplClear (int color)
 Clear page with specified color.
void pplSetClipRect (int xmin, int ymin, int xmax, int ymax)
 Set clipping rectangle: SHOULD CALL pplRestoreClipRect() AFTER DRAWING!
void pplSetClipRect (csRect &clip)
 Same, but with csRect argument.
void pplRestoreClipRect ()
 Restore clipping rectangle to (0, 0, ScreenW, ScreenH);.
bool ClipLine (float &x1, float &y1, float &x2, float &y2, int ClipX1, int ClipY1, int ClipX2, int ClipY2)
 Clip a line against a rectangle and return true if its clipped out.
bool SwitchMouseCursor (csMouseCursorID Shape)
 Change system mouse cursor and return success status.
void GetPixel (int x, int y, uint8 &oR, uint8 &oG, uint8 &oB)
 Get R,G,B at given screen location.
void pplClearZbuffer (int x1, int y1, int x2, int y2)
 Clear the Z-buffer in the given area.
void pplClearZbuffer ()
 Clear the entire Z-buffer (takes effect before next 3D draw operation).
void SetZbufferMode (unsigned mode)
 Set the respective Z-buffer mode (one of CS_ZBUF_XXX constants).
void pplBeginDraw (unsigned mode)
 Begin drawing: users of CSWS should NEVER invoke G2D/G3D->BeginDraw!
void pplInvalidate (csRect &rect)
 Force blitting of the respective rectangle at the end of frame.
void pplDontCacheFrame ()
 Tell the graphics pipeline that you are going to update the entire screen during NEXT frame.
iGraphics2DGetG2D ()
 Get the pointer to 2D graphics driver for direct manipulations.
iGraphics3DGetG3D ()
 Get the pointer to 2D graphics driver for direct manipulations.

Public Attributes

iObjectRegistryobject_reg
 The object registry.
csRef< iVirtualClockvc
 The virtual clock.
csRef< iEventQueueevent_queue
 The event queue.
csRef< iPluginManagerplugin_mgr
 The plugin manager.
csRef< iVFSVFS
 The virtual file system.
csConfigAccess config
 The system configuration.
csRef< iFontServerFontServer
 The font server.
csRef< iImageIOImageLoader
 The image loader.
csRef< iKeyboardDriverKeyboardDriver
 Keyboard driver.
csRef< iMouseDriverMouseDriver
 Mouse driver.
int Pal [cs_Color_Last]
 Application's adaptive palette.
csComponentMouseOwner
 The component that captured the mouse.
csComponentKeyboardOwner
 The component that captured the keyboard.
csComponentFocusOwner
 The component that captured all focused events (mouse & keyboard).
csComponentLastMouseContainer
 The component that the mouse was last over.
csSkinskin
 The global skin repository.
bool WindowListChanged
 This is set to TRUE each time top-level window list changes.
bool InsertMode
 Global "Insert" key state.
int ScreenWidth
 Screen width and height (application can be actually smaller).
int ScreenHeight
 Screen width and height (application can be actually smaller).
csRef< iFontDefaultFont
 Default font.
int DefaultFontSize
 Default font size.

Protected Member Functions

void InitializeSkin ()
 Initialize all skin slices with textures and colors etc.
void SetupPalette ()
 setup palette

Protected Attributes

csGraphicsPipeline GfxPpl
 The graphics pipeline.
csMouseMouse
 The mouse pointer.
csWSTexVector Textures
 The list of windowing system textures.
csHintManagerhints
 The hints manager.
int WindowListWidth
 Window list width and height.
int WindowListHeight
 Window list width and height.
csMouseCursorID MouseCursorID
 Current & old mouse pointer ID.
csMouseCursorID OldMouseCursorID
 Current & old mouse pointer ID.
int DismissCode
 The code that dialog passed to Dismiss ().
int PhysColorShift
 This is equal to 8 if any of physical r,g,b masks is 0xff000000.
csTicks CurrentTime
 The time at the start of current frame.
iEventOutletEventOutlet
 The system event outlet.
csAppBackgroundStyle BackgroundStyle
 Application background style.
bool InFrame
 Are we inbetween StartFrame() and FinishFrame()?
csApp::csAppPluginscfiPlugin
 The iComponent interface.
csArray< csModalInfo * > ModalInfo
 This is a stack of csModalInfo instances to keep track of modality.

Friends

class csMouse

Detailed Description

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.

The Crystal Space application is a regular plugin from the system driver's point of view.

Definition at line 81 of file csapp.h.


Constructor & Destructor Documentation

csApp::csApp iObjectRegistry object_reg,
csSkin Skin
 

Initialize windowing system by giving a system driver and a skin.

virtual csApp::~csApp  )  [virtual]
 

Deinitialize windowing system.


Member Function Documentation

csComponent* csApp::CaptureFocus csComponent who  )  [inline]
 

Capture all focused events (or disable capture if 0).

Definition at line 284 of file csapp.h.

csComponent* csApp::CaptureKeyboard csComponent who  )  [inline]
 

Capture all keyboard events (or disable capture if 0).

Definition at line 280 of file csapp.h.

csComponent* csApp::CaptureMouse csComponent who  )  [inline]
 

Capture all mouse events (or disable capture if 0).

Definition at line 276 of file csapp.h.

bool csApp::ClipLine float &  x1,
float &  y1,
float &  x2,
float &  y2,
int  ClipX1,
int  ClipY1,
int  ClipX2,
int  ClipY2
[inline]
 

Clip a line against a rectangle and return true if its clipped out.

Definition at line 432 of file csapp.h.

iEvent* csApp::CreateEvent  )  [inline]
 

Create a new event object: NEVER create event objects with `new'.

Definition at line 220 of file csapp.h.

virtual void csApp::Delete csComponent comp  )  [virtual]
 

Delete a child component.

Reimplemented from csComponent.

void csApp::Dismiss int  iCode = cscmdCancel  ) 
 

Dismiss a dialog box with given return code.

virtual void csApp::Draw  )  [virtual]
 

Draw the application background.

Reimplemented from csComponent.

int csApp::FindColor int  r,
int  g,
int  b
 

Return a color identifier given R,G,B (each 0..255).

virtual void csApp::FinishFrame  )  [virtual]
 

This is called at the end of every frame.

void csApp::FlushEvents  ) 
 

Process all events in the queue and refresh the screen.

csTicks csApp::GetCurrentTime  )  [inline]
 

Query current time.

Definition at line 291 of file csapp.h.

References csTicks.

virtual void csApp::GetFont iFont *&  oFont  )  [virtual]
 

Return default font and font size.

Reimplemented from csComponent.

iGraphics2D* csApp::GetG2D  )  [inline]
 

Get the pointer to 2D graphics driver for direct manipulations.

WARNING! Don't abuse of this function!

Definition at line 487 of file csapp.h.

iGraphics3D* csApp::GetG3D  )  [inline]
 

Get the pointer to 2D graphics driver for direct manipulations.

WARNING! Don't abuse of this function!

Definition at line 494 of file csapp.h.

csHintManager& csApp::GetHintManager  )  [inline]
 

Get the hint manager object.

Definition at line 357 of file csapp.h.

bool csApp::GetKeyState int  iKey  ) 
 

Query the current state of a key.

csMouse& csApp::GetMouse  )  [inline]
 

Return application's global mouse object.

Definition at line 267 of file csapp.h.

csMouseCursorID csApp::GetMouseCursor  )  [inline]
 

Query mouse cursor pointer.

Definition at line 273 of file csapp.h.

References csMouseCursorID.

void csApp::GetPixel int  x,
int  y,
uint8 oR,
uint8 oG,
uint8 oB
[inline]
 

Get R,G,B at given screen location.

Definition at line 441 of file csapp.h.

virtual csSkin* csApp::GetSkin  )  [virtual]
 

Get the closest in window hierarchy skin object.

Reimplemented from csComponent.

iTextureHandle* csApp::GetTexture const char *  Name  )  [inline]
 

Find a texture by name.

Definition at line 260 of file csapp.h.

References csWSTexture::GetHandle().

csWSTexVector* csApp::GetTextures  )  [inline]
 

Return application's texture list.

Definition at line 256 of file csapp.h.

csComponent* csApp::GetTopModalComponent  ) 
 

Get the top component which is currently modal.

Or 0 if not in modality.

iBase* csApp::GetTopModalUserdata  ) 
 

Get the userdata for the top modal component.

Or 0 if not in modality.

virtual bool csApp::HandleEvent iEvent Event  )  [virtual]
 

Send event to all childs and return processed status.

Reimplemented from csComponent.

void csApp::HintAdd const char *  iText,
csComponent iComp
[inline]
 

Associate a hint with given component.

Definition at line 350 of file csapp.h.

void csApp::HintRemove csComponent iComp  ) 
 

Remove the hint associated with given component.

virtual void csApp::Idle  )  [virtual]
 

The windowing system is idle: do some lazy work.

virtual bool csApp::Initialize  )  [virtual]
 

Set up application layout (read configs, create windows, menus etc).

void csApp::InitializeSkin  )  [protected]
 

Initialize all skin slices with textures and colors etc.

virtual void csApp::Insert csComponent comp  )  [virtual]
 

Insert a child component.

Reimplemented from csComponent.

csPtr<iFont> csApp::LoadFont const char *  iFontName,
int  fontSize = 10
[inline]
 

Load a font and return its handle or 0.

Definition at line 361 of file csapp.h.

bool csApp::LoadTexture const char *  iTexName,
const char *  iTexParams,
int  iFlags
 

Add a single texture to application's texture list.

virtual void csApp::NotifyDelete csComponent iComp  )  [virtual]
 

Every time a component is deleted, this routine is called.

void csApp::Post iEvent Event  )  [inline]
 

Add a previously created event to event queue.

Definition at line 224 of file csapp.h.

virtual bool csApp::PostHandleEvent iEvent Event  )  [virtual]
 

Handle a event if nobody eaten it.

Reimplemented from csComponent.

void csApp::pplBeginDraw unsigned  mode  )  [inline]
 

Begin drawing: users of CSWS should NEVER invoke G2D/G3D->BeginDraw!

Definition at line 464 of file csapp.h.

void csApp::pplBox int  x,
int  y,
int  w,
int  h,
int  color
[inline]
 

Draw a box.

Definition at line 377 of file csapp.h.

void csApp::pplClear int  color  )  [inline]
 

Clear page with specified color.

Definition at line 416 of file csapp.h.

void csApp::pplClearZbuffer  )  [inline]
 

Clear the entire Z-buffer (takes effect before next 3D draw operation).

Definition at line 456 of file csapp.h.

void csApp::pplClearZbuffer int  x1,
int  y1,
int  x2,
int  y2
[inline]
 

Clear the Z-buffer in the given area.

Definition at line 452 of file csapp.h.

int csApp::pplColor int  color  )  [inline]
 

Convert a logical color into physical.

Definition at line 373 of file csapp.h.

void csApp::pplDontCacheFrame  )  [inline]
 

Tell the graphics pipeline that you are going to update the entire screen during NEXT frame.

This will force graphics pipeline to NOT cache the image of the current frame so that it can be propagated to next frame (if during next frame you are going to repaint just a part of screen, propagating image changes through multiple video pages is a MUST, otherwise you will get flickering images).

Definition at line 480 of file csapp.h.

void csApp::pplFreeArea csImageArea Area  )  [inline]
 

Free buffer used to keep an area of screen.

Definition at line 412 of file csapp.h.

void csApp::pplInvalidate csRect rect  )  [inline]
 

Force blitting of the respective rectangle at the end of frame.

Definition at line 468 of file csapp.h.

void csApp::pplLine float  x1,
float  y1,
float  x2,
float  y2,
int  color
[inline]
 

Draw a line.

Definition at line 381 of file csapp.h.

void csApp::pplPixel int  x,
int  y,
int  color
[inline]
 

Draw a pixel.

Definition at line 385 of file csapp.h.

void csApp::pplPixmap csPixmap s2d,
int  x,
int  y,
int  w,
int  h,
uint8  Alpha
[inline]
 

Draw a (scaled) pixmap.

Definition at line 393 of file csapp.h.

void csApp::pplRestoreArea csImageArea Area,
bool  Free = false
[inline]
 

Restore a part of screen.

Definition at line 409 of file csapp.h.

void csApp::pplRestoreClipRect  )  [inline]
 

Restore clipping rectangle to (0, 0, ScreenW, ScreenH);.

Definition at line 428 of file csapp.h.

void csApp::pplSaveArea csImageArea *&  Area,
int  x,
int  y,
int  w,
int  h
[inline]
 

Save a part of screen.

Definition at line 406 of file csapp.h.

void csApp::pplSetClipRect csRect clip  )  [inline]
 

Same, but with csRect argument.

Definition at line 424 of file csapp.h.

References csRect::xmax, csRect::xmin, csRect::ymax, and csRect::ymin.

void csApp::pplSetClipRect int  xmin,
int  ymin,
int  xmax,
int  ymax
[inline]
 

Set clipping rectangle: SHOULD CALL pplRestoreClipRect() AFTER DRAWING!

Definition at line 420 of file csapp.h.

void csApp::pplText int  x,
int  y,
int  fg,
int  bg,
iFont Font,
const char *  s
[inline]
 

Draw a text string: if bg < 0 background is not drawn.

Definition at line 389 of file csapp.h.

void csApp::pplTexture iTextureHandle hTex,
int  sx,
int  sy,
int  sw,
int  sh,
int  tx,
int  ty,
int  tw,
int  th,
uint8  Alpha = 0
[inline]
 

Draw a (part) of texture (possibly scaled) in given screen rectangle.

Definition at line 401 of file csapp.h.

void csApp::pplTiledPixmap csPixmap s2d,
int  x,
int  y,
int  w,
int  h,
int  orgx,
int  orgy,
uint8  Alpha
[inline]
 

Draw a (unscaled but tiled) pixmap.

Definition at line 396 of file csapp.h.

virtual bool csApp::PreHandleEvent iEvent Event  )  [virtual]
 

Handle a event before all others.

Reimplemented from csComponent.

virtual void csApp::PrepareTextures  )  [virtual]
 

Prepare textures for usage (register them with the graphics driver).

void csApp::Printf int  mode,
char const *  format,
  ...
 

Display a string on the console using almost usual printf() syntax.

void csApp::PrintfV int  mode,
char const *  format,
va_list 
 

Display a string on the console using almost usual printf() syntax.

void csApp::SetBackgroundStyle csAppBackgroundStyle  iBackgroundStyle  ) 
 

Set application background style.

void csApp::SetMouseCursor csMouseCursorID  ID  )  [inline]
 

Set mouse cursor pointer.

Definition at line 270 of file csapp.h.

void csApp::SetSkin csSkin Skin,
bool  DeleteOld = true
 

Set the skin of the application.

void csApp::SetupPalette  )  [protected]
 

setup palette

void csApp::SetWindowListSize int  iWidth,
int  iHeight
[inline]
 

Set window list size.

Definition at line 298 of file csapp.h.

void csApp::SetZbufferMode unsigned  mode  )  [inline]
 

Set the respective Z-buffer mode (one of CS_ZBUF_XXX constants).

Definition at line 460 of file csapp.h.

void csApp::ShutDown  ) 
 

Shut down the program.

virtual void csApp::StartFrame  )  [virtual]
 

This is called once per frame by HandleEvent ().

bool csApp::StartModal csComponent comp,
iBase userdata
 

Set modality state on a component.

When the component is dismissed StopModal() will be called automatically. This function returns immediatelly. StartModal() can fail if the component is already modal.

void csApp::StopModal int  iCode = cscmdCancel  ) 
 

Stop top-level modality state.

bool csApp::SwitchMouseCursor csMouseCursorID  Shape  )  [inline]
 

Change system mouse cursor and return success status.

Definition at line 437 of file csapp.h.

void csApp::WindowList  ) 
 

Show window list.


Member Data Documentation

csAppBackgroundStyle csApp::BackgroundStyle [protected]
 

Application background style.

Definition at line 107 of file csapp.h.

csConfigAccess csApp::config
 

The system configuration.

Definition at line 168 of file csapp.h.

csTicks csApp::CurrentTime [protected]
 

The time at the start of current frame.

Definition at line 103 of file csapp.h.

csRef<iFont> csApp::DefaultFont
 

Default font.

Definition at line 196 of file csapp.h.

int csApp::DefaultFontSize
 

Default font size.

Definition at line 198 of file csapp.h.

int csApp::DismissCode [protected]
 

The code that dialog passed to Dismiss ().

Definition at line 99 of file csapp.h.

csRef<iEventQueue> csApp::event_queue
 

The event queue.

Definition at line 162 of file csapp.h.

iEventOutlet* csApp::EventOutlet [protected]
 

The system event outlet.

Definition at line 105 of file csapp.h.

csComponent* csApp::FocusOwner
 

The component that captured all focused events (mouse & keyboard).

Definition at line 184 of file csapp.h.

csRef<iFontServer> csApp::FontServer
 

The font server.

Definition at line 170 of file csapp.h.

csGraphicsPipeline csApp::GfxPpl [protected]
 

The graphics pipeline.

Definition at line 87 of file csapp.h.

csHintManager* csApp::hints [protected]
 

The hints manager.

Definition at line 93 of file csapp.h.

csRef<iImageIO> csApp::ImageLoader
 

The image loader.

Definition at line 172 of file csapp.h.

bool csApp::InFrame [protected]
 

Are we inbetween StartFrame() and FinishFrame()?

Definition at line 109 of file csapp.h.

bool csApp::InsertMode
 

Global "Insert" key state.

Definition at line 192 of file csapp.h.

csRef<iKeyboardDriver> csApp::KeyboardDriver
 

Keyboard driver.

Definition at line 174 of file csapp.h.

csComponent* csApp::KeyboardOwner
 

The component that captured the keyboard.

Definition at line 182 of file csapp.h.

csComponent* csApp::LastMouseContainer
 

The component that the mouse was last over.

Definition at line 186 of file csapp.h.

csArray<csModalInfo*> csApp::ModalInfo [protected]
 

This is a stack of csModalInfo instances to keep track of modality.

Definition at line 154 of file csapp.h.

csMouse* csApp::Mouse [protected]
 

The mouse pointer.

Definition at line 89 of file csapp.h.

csMouseCursorID csApp::MouseCursorID [protected]
 

Current & old mouse pointer ID.

Definition at line 97 of file csapp.h.

csRef<iMouseDriver> csApp::MouseDriver
 

Mouse driver.

Definition at line 176 of file csapp.h.

csComponent* csApp::MouseOwner
 

The component that captured the mouse.

Definition at line 180 of file csapp.h.

iObjectRegistry* csApp::object_reg
 

The object registry.

Definition at line 158 of file csapp.h.

csMouseCursorID csApp::OldMouseCursorID [protected]
 

Current & old mouse pointer ID.

Definition at line 97 of file csapp.h.

int csApp::Pal[cs_Color_Last]
 

Application's adaptive palette.

Definition at line 178 of file csapp.h.

int csApp::PhysColorShift [protected]
 

This is equal to 8 if any of physical r,g,b masks is 0xff000000.

Definition at line 101 of file csapp.h.

csRef<iPluginManager> csApp::plugin_mgr
 

The plugin manager.

Definition at line 164 of file csapp.h.

csApp::csAppPlugin * csApp::scfiPlugin [protected]
 

The iComponent interface.

int csApp::ScreenHeight
 

Screen width and height (application can be actually smaller).

Definition at line 194 of file csapp.h.

int csApp::ScreenWidth
 

Screen width and height (application can be actually smaller).

Definition at line 194 of file csapp.h.

csSkin* csApp::skin
 

The global skin repository.

Definition at line 188 of file csapp.h.

csWSTexVector csApp::Textures [protected]
 

The list of windowing system textures.

Definition at line 91 of file csapp.h.

csRef<iVirtualClock> csApp::vc
 

The virtual clock.

Definition at line 160 of file csapp.h.

csRef<iVFS> csApp::VFS
 

The virtual file system.

Definition at line 166 of file csapp.h.

bool csApp::WindowListChanged
 

This is set to TRUE each time top-level window list changes.

Definition at line 190 of file csapp.h.

int csApp::WindowListHeight [protected]
 

Window list width and height.

Definition at line 95 of file csapp.h.

int csApp::WindowListWidth [protected]
 

Window list width and height.

Definition at line 95 of file csapp.h.


The documentation for this class was generated from the following file:
Generated for Crystal Space by doxygen 1.3.9.1