#include <CSIcon.h>
Inheritance diagram for CSIcon:
Public Member Functions | |
virtual std::string | getType () |
virtual | ~CSIcon () |
void | setState (int state) |
int | getState () |
virtual bool | isFocusable () |
virtual void | paint (SDL_Surface *destination, SDL_Rect *parentViewport)=0 |
Static Public Attributes | |
const char * | CLASS = "CSIcon" |
static element, name of this class (introsepection) | |
Protected Member Functions | |
CSIcon (int kind) | |
int | getKind () |
|
Definition at line 38 of file CSIcon.h. References ICON_STATE_ENABLED.
00038 : CSGrafikElement(0,0) 00039 { 00040 mKind = kind; 00041 mState = ICON_STATE_ENABLED; 00042 } |
|
Definition at line 49 of file CSIcon.h.
00049 {} |
|
Definition at line 44 of file CSIcon.h.
00044 {return mKind;}
|
|
Reimplemented from CSGrafikElement. Reimplemented in CSPictureIcon, and CSTextIcon. Definition at line 48 of file CSIcon.h. References CLASS.
00048 {return (std::string) CLASS;} |
|
Definition at line 50 of file CSIcon.h. References ICON_STATE_ACTIVATED.
00051 { 00052 if ((state <= ICON_STATE_UNKOWN) || (state >= ICON_STATE_ACTIVATED)) 00053 return; 00054 mState = state; 00055 } |
|
Definition at line 57 of file CSIcon.h. Referenced by CSTextIcon::paint(), and CSPictureIcon::paint().
00057 {return mState;}
|
|
Definition at line 58 of file CSIcon.h.
00058 {return false;} |
|
Reimplemented from CSGrafikElement. Implemented in CSPictureIcon, and CSTextIcon. |
|
static element, name of this class (introsepection)
Reimplemented from CSGrafikElement. Reimplemented in CSPictureIcon, and CSTextIcon. Definition at line 10 of file CSIcon.cpp. Referenced by getType(). |