
Public Member Functions | |
| Canvas (int x, int y, int x2, int y2, WidgetView *view, DragAndDropHandler *dragAndDropHandler=NULL, bool highlightOnMouseOver=false) | |
| WidgetView * | getView () |
| void | drawWidget (Widget *parent) |
| void | setGlowing (bool b) |
| bool | isGlowing () |
| bool | handleEvent (Widget *parent, SDL_Event *event, int x, int y) |
| Return true, if the event activated this widget. | |
| void | removeEffects (Widget *parent) |
| void | resize (int w, int h) |
| bool | canGetFocus () |
| virtual bool | hasSound () |
|
||||||||||||||||||||||||||||||||
|
|
|
||||||||||||||||||||
|
Return true, if the event activated this widget. (For example, button push, etc.) Another way to think about it is that if true, the widget fires an "activated" event to the outside world. |
1.4.0