CrystalSpace

Public API Reference

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

csApp Class Reference
[Application]

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

#include <csapp.h>

Inheritance diagram for csApp:

csComponent List of all members.

Public Methods

 csApp (iObjectRegistry *object_reg, csSkin &Skin)
 Initialize windowing system by giving a system driver and a skin. More...

virtual ~csApp ()
 Deinitialize windowing system. More...

virtual bool Initialize ()
 Set up application layout (read configs, create windows, menus etc). More...

void SetSkin (csSkin *Skin, bool DeleteOld=true)
 Set the skin of the application. More...

virtual void StartFrame ()
 This is called once per frame by HandleEvent (). More...

virtual void FinishFrame ()
 This is called at the end of every frame. More...

void FlushEvents ()
 Process all events in the queue and refresh the screen. More...

iEventCreateEvent ()
 Create a new event object: NEVER create event objects with `new'. More...

void Post (iEvent *Event)
 Add a previously created event to event queue. More...

void ShutDown ()
 Shut down the program. More...

virtual void Idle ()
 The windowing system is idle: do some lazy work. More...

virtual void Draw ()
 Draw the application background. More...

virtual void GetFont (iFont *&oFont, int &oFontSize)
 Return default font and font size. More...

void SetBackgroundStyle (csAppBackgroundStyle iBackgroundStyle)
 Set application background style. More...

void Printf (int mode, char const *format,...)
 Display a string on the console using almost usual printf() syntax. More...

void PrintfV (int mode, char const *format, va_list)
 Display a string on the console using almost usual printf() syntax. More...

bool LoadTexture (const char *iTexName, const char *iTexParams, int iFlags)
 Add a single texture to application's texture list. More...

virtual void PrepareTextures ()
 Prepare textures for usage (register them with the graphics driver). More...

csWSTexVectorGetTextures ()
 Return application's texture list. More...

iTextureHandleGetTexture (const char *Name)
 Find a texture by name. More...

csMouseGetMouse ()
 Return application's global mouse object. More...

void SetMouseCursor (csMouseCursorID ID)
 Set mouse cursor pointer. More...

csMouseCursorID GetMouseCursor ()
 Query mouse cursor pointer. More...

csComponentCaptureMouse (csComponent *who)
 Capture all mouse events (or disable capture if 0). More...

csComponentCaptureKeyboard (csComponent *who)
 Capture all keyboard events (or disable capture if 0). More...

csComponentCaptureFocus (csComponent *who)
 Capture all focused events (or disable capture if 0). More...

bool GetKeyState (int iKey)
 Query the current state of a key. More...

csTicks GetCurrentTime ()
 Query current time. More...

void WindowList ()
 Show window list. More...

void SetWindowListSize (int iWidth, int iHeight)
 Set window list size. More...

virtual void Insert (csComponent *comp)
 Insert a child component. More...

virtual void Delete (csComponent *comp)
 Delete a child component. More...

bool StartModal (csComponent *comp, iBase *userdata)
 Set modality state on a component. More...

void StopModal (int iCode=cscmdCancel)
 Stop top-level modality state. More...

csComponentGetTopModalComponent ()
 Get the top component which is currently modal. More...

iBaseGetTopModalUserdata ()
 Get the userdata for the top modal component. More...

void Dismiss (int iCode=cscmdCancel)
 Dismiss a dialog box with given return code. More...

virtual bool PreHandleEvent (iEvent &Event)
 Handle a event before all others. More...

virtual bool HandleEvent (iEvent &Event)
 Send event to all childs and return processed status. More...

virtual bool PostHandleEvent (iEvent &Event)
 Handle a event if nobody eaten it. More...

virtual void NotifyDelete (csComponent *iComp)
 Every time a component is deleted, this routine is called. More...

virtual csSkinGetSkin ()
 Get the closest in window hierarchy skin object. More...

void HintAdd (const char *iText, csComponent *iComp)
 Associate a hint with given component. More...

void HintRemove (csComponent *iComp)
 Remove the hint associated with given component. More...

csHintManagerGetHintManager ()
 Get the hint manager object. More...

csPtr< iFontLoadFont (const char *iFontName)
 Load a font and return its handle or 0. More...

int FindColor (int r, int g, int b)
 Return a color identifier given R,G,B (each 0..255). More...

int pplColor (int color)
 Convert a logical color into physical. More...

void pplBox (int x, int y, int w, int h, int color)
 Draw a box. More...

void pplLine (float x1, float y1, float x2, float y2, int color)
 Draw a line. More...

void pplPixel (int x, int y, int color)
 Draw a pixel. More...

void pplText (int x, int y, int fg, int bg, iFont *Font, int FontSize, const char *s)
 Draw a text string: if bg < 0 background is not drawn. More...

void pplPixmap (csPixmap *s2d, int x, int y, int w, int h, uint8 Alpha)
 Draw a (scaled) pixmap. More...

void pplTiledPixmap (csPixmap *s2d, int x, int y, int w, int h, int orgx, int orgy, uint8 Alpha)
 Draw a (unscaled but tiled) pixmap. More...

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. More...

void pplSaveArea (csImageArea *&Area, int x, int y, int w, int h)
 Save a part of screen. More...

void pplRestoreArea (csImageArea *Area, bool Free=false)
 Restore a part of screen. More...

void pplFreeArea (csImageArea *Area)
 Free buffer used to keep an area of screen. More...

void pplClear (int color)
 Clear page with specified color. More...

void pplSetClipRect (int xmin, int ymin, int xmax, int ymax)
 Set clipping rectangle: SHOULD CALL pplRestoreClipRect() AFTER DRAWING! More...

void pplSetClipRect (csRect &clip)
 Same, but with csRect argument. More...

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

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. More...

bool SwitchMouseCursor (csMouseCursorID Shape)
 Change system mouse cursor and return success status. More...

void GetPixel (int x, int y, uint8 &oR, uint8 &oG, uint8 &oB)
 Get R,G,B at given screen location. More...

void pplPolygon3D (G3DPolygonDPFX &poly, uint mode)
 Draw a 3D polygon. More...

void pplClearZbuffer (int x1, int y1, int x2, int y2)
 Clear the Z-buffer in the given area. More...

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

void SetZbufferMode (unsigned mode)
 Set the respective Z-buffer mode (one of CS_ZBUF_XXX constants). More...

void pplBeginDraw (unsigned mode)
 Begin drawing: users of CSWS should NEVER invoke G2D/G3D->BeginDraw! More...

void pplInvalidate (csRect &rect)
 Force blitting of the respective rectangle at the end of frame. More...

void pplDontCacheFrame ()
 Tell the graphics pipeline that you are going to update the entire screen during NEXT frame. More...

iGraphics2DGetG2D ()
 Get the pointer to 2D graphics driver for direct manipulations. More...

iGraphics3DGetG3D ()
 Get the pointer to 2D graphics driver for direct manipulations. More...


Public Attributes

iObjectRegistryobject_reg
 The object registry. More...

csRef< iVirtualClockvc
 The virtual clock. More...

csRef< iEventQueueevent_queue
 The event queue. More...

csRef< iPluginManagerplugin_mgr
 The plugin manager. More...

csRef< iVFSVFS
 The virtual file system. More...

csConfigAccess config
 The system configuration. More...

csRef< iFontServerFontServer
 The font server. More...

csRef< iImageIOImageLoader
 The image loader. More...

csRef< iKeyboardDriverKeyboardDriver
 Keyboard driver. More...

csRef< iMouseDriverMouseDriver
 Mouse driver. More...

int Pal [cs_Color_Last]
 Application's adaptive palette. More...

csComponentMouseOwner
 The component that captured the mouse. More...

csComponentKeyboardOwner
 The component that captured the keyboard. More...

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

csComponentLastMouseContainer
 The component that the mouse was last over. More...

csSkinskin
 The global skin repository. More...

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

bool InsertMode
 Global "Insert" key state. More...

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

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

csRef< iFontDefaultFont
 Default font. More...

int DefaultFontSize
 Default font size. More...


Protected Methods

void InitializeSkin ()
 Initialize all skin slices with textures and colors etc. More...

void SetupPalette ()
 setup palette. More...


Protected Attributes

csGraphicsPipeline GfxPpl
 The graphics pipeline. More...

csMouseMouse
 The mouse pointer. More...

csWSTexVector Textures
 The list of windowing system textures. More...

csHintManagerhints
 The hints manager. More...

int WindowListWidth
 Window list width and height. More...

int WindowListHeight
 Window list width and height. More...

csMouseCursorID MouseCursorID
 Current & old mouse pointer ID. More...

csMouseCursorID OldMouseCursorID
 Current & old mouse pointer ID. More...

int DismissCode
 The code that dialog passed to Dismiss (). More...

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

csTicks CurrentTime
 The time at the start of current frame. More...

iEventOutletEventOutlet
 The system event outlet. More...

csAppBackgroundStyle BackgroundStyle
 Application background style. More...

bool InFrame
 Are we inbetween StartFrame() and FinishFrame()? More...

csApp::csAppPluginscfiPlugin
 The iComponent interface. More...

csArray< csModalInfo * > ModalInfo
 This is a stack of csModalInfo instances to keep track of modality. More...


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 79 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 279 of file csapp.h.

csComponent* csApp::CaptureKeyboard csComponent   who [inline]
 

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

Definition at line 275 of file csapp.h.

csComponent* csApp::CaptureMouse csComponent   who [inline]
 

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

Definition at line 271 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 427 of file csapp.h.

References csGraphicsPipeline::ClipLine.

iEvent* csApp::CreateEvent   [inline]
 

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

Definition at line 215 of file csapp.h.

References iEventOutlet::CreateEvent.

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 286 of file csapp.h.

References CurrentTime.

virtual void csApp::GetFont iFont *&    oFont,
int &    oFontSize
[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 481 of file csapp.h.

References csGraphicsPipeline::G2D.

iGraphics3D* csApp::GetG3D   [inline]
 

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

WARNING! Don't abuse of this function!

Definition at line 488 of file csapp.h.

References csGraphicsPipeline::G3D.

csHintManager& csApp::GetHintManager   [inline]
 

Get the hint manager object.

Definition at line 352 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 262 of file csapp.h.

References csMouseCursorID, and MouseCursorID.

csMouseCursorID csApp::GetMouseCursor   [inline]
 

Query mouse cursor pointer.

Definition at line 268 of file csapp.h.

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 436 of file csapp.h.

References csGraphicsPipeline::GetPixel.

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 255 of file csapp.h.

References csWSTexVector::FindTexture, csWSTexture::GetHandle, and GetTextures.

csWSTexVector* csApp::GetTextures   [inline]
 

Return application's texture list.

Definition at line 251 of file csapp.h.

Referenced by GetTexture.

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 345 of file csapp.h.

References csHintManager::Add.

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 [inline]
 

Load a font and return its handle or 0.

Definition at line 356 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 219 of file csapp.h.

References iEventOutlet::Post.

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 458 of file csapp.h.

References csGraphicsPipeline::BeginDraw.

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

Draw a box.

Definition at line 372 of file csapp.h.

References csGraphicsPipeline::Box, and pplColor.

void csApp::pplClear int    color [inline]
 

Clear page with specified color.

Definition at line 411 of file csapp.h.

References csGraphicsPipeline::Clear, and pplColor.

void csApp::pplClearZbuffer   [inline]
 

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

Definition at line 450 of file csapp.h.

References csGraphicsPipeline::ClearZbuffer.

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

Clear the Z-buffer in the given area.

Definition at line 446 of file csapp.h.

References csGraphicsPipeline::ClearZbuffer.

int csApp::pplColor int    color [inline]
 

Convert a logical color into physical.

Definition at line 368 of file csapp.h.

References Pal, and PhysColorShift.

Referenced by pplBox, pplClear, pplLine, pplPixel, and pplText.

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 474 of file csapp.h.

References csGraphicsPipeline::DontCacheFrame.

void csApp::pplFreeArea csImageArea   Area [inline]
 

Free buffer used to keep an area of screen.

Definition at line 407 of file csapp.h.

References csGraphicsPipeline::FreeArea.

void csApp::pplInvalidate csRect   rect [inline]
 

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

Definition at line 462 of file csapp.h.

References csGraphicsPipeline::Invalidate.

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

Draw a line.

Definition at line 376 of file csapp.h.

References csGraphicsPipeline::Line, and pplColor.

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

Draw a pixel.

Definition at line 380 of file csapp.h.

References csGraphicsPipeline::Pixel, and pplColor.

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

Draw a (scaled) pixmap.

Definition at line 388 of file csapp.h.

References csGraphicsPipeline::Pixmap.

void csApp::pplPolygon3D G3DPolygonDPFX   poly,
uint    mode
[inline]
 

Draw a 3D polygon.

Definition at line 442 of file csapp.h.

References csGraphicsPipeline::Polygon3D.

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

Restore a part of screen.

Definition at line 404 of file csapp.h.

References csGraphicsPipeline::RestoreArea.

void csApp::pplRestoreClipRect   [inline]
 

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

Definition at line 423 of file csapp.h.

References csGraphicsPipeline::RestoreClipRect.

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

Save a part of screen.

Definition at line 401 of file csapp.h.

References csGraphicsPipeline::SaveArea.

void csApp::pplSetClipRect csRect   clip [inline]
 

Same, but with csRect argument.

Definition at line 419 of file csapp.h.

References csGraphicsPipeline::SetClipRect, 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 415 of file csapp.h.

References csGraphicsPipeline::SetClipRect.

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

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

Definition at line 384 of file csapp.h.

References csComponent::FontSize, pplColor, and csGraphicsPipeline::Text.

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 396 of file csapp.h.

References csGraphicsPipeline::Texture, and uint8.

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 391 of file csapp.h.

References csGraphicsPipeline::TiledPixmap, and uint8.

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 265 of file csapp.h.

References csMouseCursorID, and MouseCursorID.

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 293 of file csapp.h.

References WindowListHeight, and WindowListWidth.

void csApp::SetZbufferMode unsigned    mode [inline]
 

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

Definition at line 454 of file csapp.h.

References csGraphicsPipeline::SetZbufferMode.

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 432 of file csapp.h.

References csGraphicsPipeline::SwitchMouseCursor.

void csApp::WindowList  
 

Show window list.


Member Data Documentation

csAppBackgroundStyle csApp::BackgroundStyle [protected]
 

Application background style.

Definition at line 105 of file csapp.h.

csConfigAccess csApp::config
 

The system configuration.

Definition at line 163 of file csapp.h.

csTicks csApp::CurrentTime [protected]
 

The time at the start of current frame.

Definition at line 101 of file csapp.h.

Referenced by GetCurrentTime.

csRef<iFont> csApp::DefaultFont
 

Default font.

Definition at line 191 of file csapp.h.

int csApp::DefaultFontSize
 

Default font size.

Definition at line 193 of file csapp.h.

int csApp::DismissCode [protected]
 

The code that dialog passed to Dismiss ().

Definition at line 97 of file csapp.h.

csRef<iEventQueue> csApp::event_queue
 

The event queue.

Definition at line 157 of file csapp.h.

iEventOutlet* csApp::EventOutlet [protected]
 

The system event outlet.

Definition at line 103 of file csapp.h.

csComponent* csApp::FocusOwner
 

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

Definition at line 179 of file csapp.h.

csRef<iFontServer> csApp::FontServer
 

The font server.

Definition at line 165 of file csapp.h.

csGraphicsPipeline csApp::GfxPpl [protected]
 

The graphics pipeline.

Definition at line 85 of file csapp.h.

csHintManager* csApp::hints [protected]
 

The hints manager.

Definition at line 91 of file csapp.h.

csRef<iImageIO> csApp::ImageLoader
 

The image loader.

Definition at line 167 of file csapp.h.

bool csApp::InFrame [protected]
 

Are we inbetween StartFrame() and FinishFrame()?

Definition at line 107 of file csapp.h.

bool csApp::InsertMode
 

Global "Insert" key state.

Definition at line 187 of file csapp.h.

csRef<iKeyboardDriver> csApp::KeyboardDriver
 

Keyboard driver.

Definition at line 169 of file csapp.h.

csComponent* csApp::KeyboardOwner
 

The component that captured the keyboard.

Definition at line 177 of file csapp.h.

csComponent* csApp::LastMouseContainer
 

The component that the mouse was last over.

Definition at line 181 of file csapp.h.

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

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

Definition at line 149 of file csapp.h.

csMouse* csApp::Mouse [protected]
 

The mouse pointer.

Definition at line 87 of file csapp.h.

csMouseCursorID csApp::MouseCursorID [protected]
 

Current & old mouse pointer ID.

Definition at line 95 of file csapp.h.

Referenced by GetMouse, and SetMouseCursor.

csRef<iMouseDriver> csApp::MouseDriver
 

Mouse driver.

Definition at line 171 of file csapp.h.

csComponent* csApp::MouseOwner
 

The component that captured the mouse.

Definition at line 175 of file csapp.h.

iObjectRegistry* csApp::object_reg
 

The object registry.

Definition at line 153 of file csapp.h.

csMouseCursorID csApp::OldMouseCursorID [protected]
 

Current & old mouse pointer ID.

Definition at line 95 of file csapp.h.

int csApp::Pal[cs_Color_Last]
 

Application's adaptive palette.

Definition at line 173 of file csapp.h.

Referenced by pplColor.

int csApp::PhysColorShift [protected]
 

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

Definition at line 99 of file csapp.h.

Referenced by pplColor.

csRef<iPluginManager> csApp::plugin_mgr
 

The plugin manager.

Definition at line 159 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 189 of file csapp.h.

int csApp::ScreenWidth
 

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

Definition at line 189 of file csapp.h.

csSkin* csApp::skin
 

The global skin repository.

Definition at line 183 of file csapp.h.

csWSTexVector csApp::Textures [protected]
 

The list of windowing system textures.

Definition at line 89 of file csapp.h.

csRef<iVirtualClock> csApp::vc
 

The virtual clock.

Definition at line 155 of file csapp.h.

csRef<iVFS> csApp::VFS
 

The virtual file system.

Definition at line 161 of file csapp.h.

bool csApp::WindowListChanged
 

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

Definition at line 185 of file csapp.h.

int csApp::WindowListHeight [protected]
 

Window list width and height.

Definition at line 93 of file csapp.h.

Referenced by SetWindowListSize.

int csApp::WindowListWidth [protected]
 

Window list width and height.

Definition at line 93 of file csapp.h.

Referenced by SetWindowListSize.


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