#include <CATSkin.h>
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. | |
CATWindow * | GetWindowByName (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 CATControl * | HitTest (const CATPOINT &pt) |
Protected Attributes | |
clock_t | fUpdateTime |
CATString | fSkinRoot |
CATString | fSkinPath |
CATString | fAuthor |
CATString | fURL |
CATString | fCopyright |
CATUInt32 | fTemplateCtr |