Game Accessibility Library logo SourceForge.net Logo
Game Accessibility Suite: CATSkin Class Reference

CATSkin Class Reference
[GUI Application library for CAT]

#include <CATSkin.h>

Inheritance diagram for CATSkin:

CATGuiObj CATXMLObject

List of all members.


Detailed Description

Basic windowing class.

Definition at line 32 of file CATSkin.h.


Public Member Functions

 CATSkin (const CATString &element, const CATString &skinRootDir, const CATString &skinPath)
virtual ~CATSkin ()
 CATSkin destructor.
CATString GetRootDir ()
 Retrieve the root directory of the skin.
CATString GetPath ()
 Retrieve the full path to the skin's .XML file.
CATString GetAuthor ()
 Retrieve the author's name for the skin.
CATString GetUrl ()
 Retrieve the author's URL.
CATString GetCopyright ()
 Retrieve the skin's copyright string.
CATWindowGetWindowByName (const CATString &name)
CATResult GetControlsByCommand (const CATString &windowName, const CATString &command, CATStack< CATControl * > &controlStack)
CATResult GetControlsByCommand (CATWindow *wnd, const CATString &command, CATStack< CATControl * > &controlStack)
virtual CATResult OnEvent (const CATEvent &event, CATInt32 &retVal)
CATResult OpenWindow (const CATString &wndName, CATWindow *&window, CATWindow *parent=0, CATPOINT *origin=0)
virtual CATResult CloseWindow (const CATString &wndName)
virtual void OnCommand (CATCommand &command, CATControl *ctrl, CATWindow *wnd)
virtual void CloseAll ()
virtual CATResult Load (CATPROGRESSCB progressCB=0, void *progressParam=0, CATFloat32 progMin=0.0f, CATFloat32 progMax=1.0f)
 Load() loads the skin in.

Protected Member Functions

virtual CATResult ParseAttributes ()
 ParseAttributes() parses the known attributes for an object.
virtual CATResult RectFromAttribs ()
virtual void MarkDirty (CATRect *dirtyRect=0, bool force=false)
virtual CATControlHitTest (const CATPOINT &pt)

Protected Attributes

clock_t fUpdateTime
CATString fSkinRoot
CATString fSkinPath
CATString fAuthor
CATString fURL
CATString fCopyright
CATUInt32 fTemplateCtr

The documentation for this class was generated from the following files:
Generated on Mon Feb 11 04:10:51 2008 for Game Accessibility Suite by doxygen 1.5.4