|
#include <CATControlWnd.h>

Definition at line 27 of file CATControlWnd.h.
Public Member Functions | ||||
| CATControlWnd (const CATString &element, const CATString &rootDir) | ||||
| Constructor - mirrors CATXMLObject() constructor for now. | ||||
| virtual | ~CATControlWnd () | |||
| virtual CATWND | GetControlWndHndl () | |||
| virtual void | SetFocused (bool focused) | |||
| virtual void | MarkDirty (CATRect *dirtyRect=0, bool force=false) | |||
| ||||
| virtual void | Draw (CATImage *image, const CATRect &dirtyRect) | |||
| virtual CATResult | OnEvent (const CATEvent &event, CATInt32 &retVal) | |||
| Event handler. | ||||
| virtual void | PostDraw (CATDRAWCONTEXT drawContext, const CATRect &dirtyRect) | |||
| virtual bool | GetPostRects (CATStack< CATRect > &rectStack) | |||
| virtual void | OnParentCreate () | |||
| virtual void | OnParentDestroy () | |||
| virtual void | SetVisible (bool visible) | |||
| virtual CATResult | RectFromAttribs () | |||
| virtual CATColor | GetColorFore () const | |||
| virtual CATColor | GetColorBack () const | |||
| virtual CATResult | Load (CATPROGRESSCB progressCB=0, void *progressParam=0, CATFloat32 progMin=0.0f, CATFloat32 progMax=1.0f) | |||
| Win-32 specific control stuff. | ||||
| virtual void | OnEscapeChange () | |||
| virtual void | SetEnabled (bool enabled) | |||
| virtual void | OSSetText (const CATString &newText) | |||
| virtual void | OSGetText (CATString &getText) | |||
| virtual CATString | GetHint () const | |||
| GetHint() retrieves the hint text for the control. | ||||
Protected Member Functions | ||||
| virtual void | OSDrawBorderRect (CATDRAWCONTEXT drawContext, CATRect &rect) | |||
| Draw a border around the control. | ||||
| virtual CATResult | ParseAttributes () | |||
| ParseAttributes() parses the known attributes for an object. | ||||
| virtual CATResult | OSCreate () | |||
| OS-specific control creation / cleanup. | ||||
| virtual void | OSCleanup () | |||
| virtual bool | OnControlEvent (const CATEvent &event, CATInt32 &returnVal) | |||
| CATResult | CreateControlWnd (const CATString &windowClass, CATUInt32 style) | |||
Protected Attributes | ||||
| CATRect | fWndRect | |||
| CATWND | fControlWnd | |||
| CATColor | fFGColor_focus | |||
| Foreground color - selected. | ||||
| CATColor | fBGColor_focus | |||
| CATColor | fFGColor_border | |||
| Foreground color - border. | ||||
| CATColor | fBGColor_border | |||
| bool | fFocusSet | |||
| bool | fBorderSet | |||
| bool | fCaptured | |||
1.5.4