#include <Dialog.h>
Inheritance diagram for clawsoft.Dialog.HelpButton:
Public Methods | |
HelpButton () | |
void | action (int xx, int yy, int bb) |
void | setCaption (const char *) |
void | setCaption (String) |
void | draw () |
virtual void | action () |
bool | checkKeyEvents () |
bool | checkMouseEvents () |
bool | checkMouseMotionEvents () |
virtual void | map () |
virtual bool | pressed () |
virtual bool | checkEvents () |
char * | getClassName () |
Returns the name of the current class. | |
void | X (int) |
const int | X () |
void | Y (int) |
const int | Y () |
void | W (int) |
const int | W () |
void | H (int) |
const int | H () |
void | setTop (int) |
const int | getTop () |
void | setLeft (int) |
const int | getLeft () |
void | setRight (int) |
const int | getRight () |
void | setBottom (int) |
const int | getBottom () |
Protected Methods | |
void | setClassName (char *n) |
Call this method when you need to set the name of the class you're creating, typically int it's constructor, remeber that you must set the classname for every clas you create, that way you can have more information while being in a debuging process. | |
Protected Attributes | |
String | caption |
bool | state |
Rect | rect |
MouseEvent | mouse |
KeyboardEvent | keyboard |
bool | drawn |
int | x |
int | y |
int | w |
int | h |
int | _b |
int | _r |
|
Definition at line 70 of file Dialog.cpp. References clawsoft.TextButton.setCaption(), and clawsoft.Object.setClassName(). |
|
Implements clawsoft.Widget. Definition at line 21 of file BaseButton.h. Referenced by clawsoft.TextButton.checkKeyEvents(), clawsoft.BaseButton.checkKeyEvents(), clawsoft.TextButton.checkMouseEvents(), and clawsoft.BaseButton.checkMouseEvents(). |
|
Implements clawsoft.TextButton. Definition at line 83 of file Dialog.cpp. |
|
Implements clawsoft.Widget. Definition at line 23 of file BaseButton.h. |
|
Reimplemented from clawsoft.BaseButton. Definition at line 125 of file TextButton.cpp. References clawsoft.BaseButton.action(), clawsoft.TextButton.draw(), clawsoft.MouseEvent.getStatus(), clawsoft.MouseEvent.inFocus(), clawsoft.Widget.keyboard, clawsoft.KeyboardEvent.keyPressed(), clawsoft.Widget.mouse, and clawsoft.BaseButton.rect. |
|
Reimplemented from clawsoft.BaseButton. Definition at line 114 of file TextButton.cpp. References clawsoft.BaseButton.action(), clawsoft.TextButton.draw(), clawsoft.MouseEvent.getStatus(), clawsoft.MouseEvent.inFocus(), clawsoft.MouseEvent.leftPressed(), clawsoft.Widget.mouse, and clawsoft.BaseButton.rect. Referenced by clawsoft.Dialog.checkMouseEvents(), and clawsoft.GameSelector.run(). |
|
Reimplemented from clawsoft.BaseButton. Definition at line 104 of file TextButton.cpp. References clawsoft.TextButton.draw(), clawsoft.GUIObject.drawn, clawsoft.MouseEvent.inFocus(), clawsoft.Widget.mouse, and clawsoft.BaseButton.rect. |
|
Reimplemented from clawsoft.BaseButton. Definition at line 33 of file TextButton.cpp. References BUTTON_DOWN_LEFT, BUTTON_DOWN_MIDDLE, BUTTON_DOWN_RIGHT, BUTTON_LIT_LEFT, BUTTON_LIT_MIDDLE, BUTTON_LIT_RIGHT, BUTTON_UP_LEFT, BUTTON_UP_MIDDLE, BUTTON_UP_RIGHT, clawsoft.TextButton.caption, DEFAULT_FONT, clawsoft.GUIObject.drawn, clawsoft.Rect.getRight(), clawsoft.Rect.H(), clawsoft.MouseEvent.inFocus(), clawsoft.MouseEvent.leftPressed(), clawsoft.Widget.mouse, clawsoft.BaseButton.rect, SystemFont, clawsoft.Rect.W(), clawsoft.Rect.X(), and clawsoft.Rect.Y(). Referenced by clawsoft.TextButton.checkKeyEvents(), clawsoft.TextButton.checkMouseEvents(), clawsoft.TextButton.checkMouseMotionEvents(), clawsoft.Dialog.drawComponents(), clawsoft.GameSelector.drawContents(), and main(). |
|
Definition at line 101 of file Rect.cpp. References clawsoft.Rect._b. Referenced by clawsoft.Window.draw(), clawsoft.TextBox.drawBorder(), clawsoft.MouseEvent.inFocus(), and clawsoft.Dialog.map(). |
|
Returns the name of the current class.
Definition at line 18 of file Object.cpp. References clawsoft.Object.__cls_name. |
|
Definition at line 93 of file Rect.cpp. References clawsoft.Rect.x. Referenced by clawsoft.MouseEvent.inFocus(). |
|
Definition at line 97 of file Rect.cpp. References clawsoft.Rect._r. Referenced by clawsoft.Window.draw(), clawsoft.TextButton.draw(), clawsoft.TextBox.drawBorder(), clawsoft.MouseEvent.inFocus(), clawsoft.Window.map(), and clawsoft.Dialog.map(). |
|
Definition at line 89 of file Rect.cpp. References clawsoft.Rect.y. Referenced by clawsoft.MouseEvent.inFocus(). |
|
Definition at line 65 of file Rect.cpp. References clawsoft.Rect.h. Referenced by clawsoft.Window.checkMouseMotionEvents(), clawsoft.TextButton.draw(), clawsoft.TextBox.draw(), clawsoft.BaseButton.draw(), clawsoft.TextField.drawBorder(), clawsoft.GameSelector.GameSelector(), clawsoft.LoginDialog.LoginDialog(), clawsoft.Window.map(), clawsoft.TextField.map(), clawsoft.TextButton.map(), clawsoft.GameSelector.map(), clawsoft.Rect.Rect(), and clawsoft.TextButton.TextButton(). |
|
Definition at line 48 of file Rect.cpp. References clawsoft.Rect._b, clawsoft.Rect.h, and clawsoft.Rect.y. Referenced by clawsoft.Window.draw(), clawsoft.TextButton.draw(), clawsoft.Window.map(), and clawsoft.GameSelector.map(). |
|
Definition at line 145 of file TextButton.cpp. References clawsoft.TextButton.caption, DEFAULT_FONT, clawsoft.Rect.H(), SystemFont, and clawsoft.Rect.W(). Referenced by main(), clawsoft.GameSelector.map(), and clawsoft.Dialog.map(). |
|
Definition at line 27 of file BaseButton.cpp. References clawsoft.MouseEvent.inFocus(), clawsoft.MouseEvent.leftPressed(), clawsoft.Widget.mouse, and clawsoft.BaseButton.state. Referenced by clawsoft.BaseButton.checkMouseEvents(). |
|
Definition at line 84 of file Rect.cpp. References clawsoft.Rect._b, clawsoft.Rect.h, and clawsoft.Rect.y. |
|
Definition at line 141 of file TextButton.cpp. References clawsoft.TextButton.caption. |
|
Definition at line 137 of file TextButton.cpp. References clawsoft.TextButton.caption. Referenced by clawsoft.Dialog.CancelButton.CancelButton(), clawsoft.Dialog.HelpButton.HelpButton(), and clawsoft.Dialog.OKButton.OKButton(). |
|
|
Definition at line 74 of file Rect.cpp. References clawsoft.Rect._r, clawsoft.Rect.w, and clawsoft.Rect.x. |
|
Definition at line 79 of file Rect.cpp. References clawsoft.Rect._r, clawsoft.Rect.w, and clawsoft.Rect.x. |
|
Definition at line 69 of file Rect.cpp. References clawsoft.Rect._b, clawsoft.Rect.h, and clawsoft.Rect.y. |
|
Definition at line 61 of file Rect.cpp. References clawsoft.Rect.w. Referenced by clawsoft.Window.checkMouseMotionEvents(), clawsoft.TextButton.draw(), clawsoft.TextBox.draw(), clawsoft.BaseButton.draw(), clawsoft.TextField.drawBorder(), clawsoft.GameSelector.GameSelector(), clawsoft.LoginDialog.LoginDialog(), clawsoft.Window.map(), clawsoft.TextButton.map(), clawsoft.GameSelector.map(), clawsoft.Rect.Rect(), and clawsoft.TextButton.TextButton(). |
|
Definition at line 43 of file Rect.cpp. References clawsoft.Rect._r, clawsoft.Rect.w, and clawsoft.Rect.x. Referenced by clawsoft._center(), clawsoft.Window.checkMouseMotionEvents(), clawsoft.Window.draw(), clawsoft.TextButton.draw(), clawsoft.Window.map(), clawsoft.GameSelector.map(), and clawsoft.Dialog.map(). |
|
Definition at line 53 of file Rect.cpp. References clawsoft.Rect.x. Referenced by clawsoft.Window.checkMouseMotionEvents(), clawsoft.Window.draw(), clawsoft.TextButton.draw(), clawsoft.TextBox.draw(), clawsoft.BaseButton.draw(), clawsoft.TextField.drawBorder(), clawsoft.TextBox.drawBorder(), clawsoft.LoginDialog.drawContents(), clawsoft.GameSelector.GameSelector(), clawsoft.LoginDialog.LoginDialog(), clawsoft.Window.map(), clawsoft.LoginDialog.map(), clawsoft.GameSelector.map(), and clawsoft.Window.move(). |
|
Definition at line 33 of file Rect.cpp. References clawsoft.Rect._r, clawsoft.Rect.w, and clawsoft.Rect.x. Referenced by clawsoft._center(), clawsoft.Window.draw(), clawsoft.TextButton.draw(), clawsoft.Window.map(), clawsoft.LoginDialog.map(), and clawsoft.Dialog.map(). |
|
Definition at line 57 of file Rect.cpp. References clawsoft.Rect.y. Referenced by clawsoft.Window.checkMouseMotionEvents(), clawsoft.Window.draw(), clawsoft.TextButton.draw(), clawsoft.TextBox.draw(), clawsoft.BaseButton.draw(), clawsoft.TextField.drawBorder(), clawsoft.TextBox.drawBorder(), clawsoft.LoginDialog.drawContents(), clawsoft.GameSelector.GameSelector(), clawsoft.LoginDialog.LoginDialog(), clawsoft.Window.map(), clawsoft.LoginDialog.map(), and clawsoft.Window.move(). |
|
Definition at line 38 of file Rect.cpp. References clawsoft.Rect._b, clawsoft.Rect.h, and clawsoft.Rect.y. Referenced by clawsoft.Window.draw(), clawsoft.TextButton.draw(), clawsoft.Window.map(), clawsoft.LoginDialog.map(), clawsoft.GameSelector.map(), and clawsoft.Dialog.map(). |
|
Definition at line 18 of file Rect.h. Referenced by clawsoft.Rect.getBottom(), clawsoft.Rect.H(), clawsoft.Rect.Rect(), clawsoft.Rect.setBottom(), clawsoft.Rect.setTop(), and clawsoft.Rect.Y(). |
|
Definition at line 19 of file Rect.h. Referenced by clawsoft.Rect.getRight(), clawsoft.Rect.Rect(), clawsoft.Rect.setLeft(), clawsoft.Rect.setRight(), clawsoft.Rect.W(), and clawsoft.Rect.X(). |
|
Definition at line 13 of file TextButton.h. Referenced by clawsoft.TextButton.draw(), clawsoft.TextButton.map(), clawsoft.TextButton.setCaption(), and clawsoft.TextButton.TextButton(). |
|
Definition at line 16 of file gui.h. Referenced by clawsoft.BaseButton.BaseButton(), clawsoft.TextButton.checkMouseMotionEvents(), clawsoft.BaseButton.checkMouseMotionEvents(), clawsoft.TextButton.draw(), clawsoft.BaseButton.draw(), and clawsoft.GUIObject.GUIObject(). |
|
Definition at line 17 of file Rect.h. Referenced by clawsoft.Rect.H(), clawsoft.Window.map(), clawsoft.Rect.Rect(), clawsoft.Rect.setBottom(), clawsoft.Rect.setTop(), and clawsoft.Rect.Y(). |
|
Definition at line 17 of file Widget.h. Referenced by clawsoft.TextButton.checkKeyEvents(), and clawsoft.BaseButton.checkKeyEvents(). |
|
|
Definition at line 15 of file BaseButton.h. Referenced by clawsoft.TextButton.checkKeyEvents(), clawsoft.TextButton.checkMouseEvents(), clawsoft.TextButton.checkMouseMotionEvents(), and clawsoft.TextButton.draw(). |
|
Definition at line 14 of file BaseButton.h. Referenced by clawsoft.BaseButton.BaseButton(), and clawsoft.BaseButton.pressed(). |
|
Definition at line 16 of file Rect.h. Referenced by clawsoft.Window.map(), clawsoft.GameSelector.map(), clawsoft.Rect.Rect(), clawsoft.Rect.setLeft(), clawsoft.Rect.setRight(), clawsoft.Rect.W(), and clawsoft.Rect.X(). |
|
Definition at line 14 of file Rect.h. Referenced by clawsoft.Rect.getLeft(), clawsoft.Window.move(), clawsoft.Rect.Rect(), clawsoft.Rect.setLeft(), clawsoft.Rect.setRight(), clawsoft.Rect.W(), and clawsoft.Rect.X(). |
|
Definition at line 15 of file Rect.h. Referenced by clawsoft.Rect.getTop(), clawsoft.Rect.H(), clawsoft.Window.move(), clawsoft.Rect.Rect(), clawsoft.Rect.setBottom(), clawsoft.Rect.setTop(), and clawsoft.Rect.Y(). |
Powered by: