#include <LoginDialog.h>
Inheritance diagram for clawsoft.LoginDialog:
Public Methods | |
LoginDialog () | |
~LoginDialog () | |
void | okAction (int xx, int yy, int bb) |
void | cancelAction (int xx, int yy, int bb) |
bool | run () |
void | map () |
Call this method when you need to recalculate the dimension of the window, is allways a good idea to do it before the main loop. | |
String & | getText () |
virtual void | helpAction (int xx, int yy, int bb) |
bool | checkMouseEvents () |
void | action () |
void | draw () |
void | move (int x, int y) |
void | maximize () |
bool | checkKeyEvents () |
bool | checkMouseMotionEvents () |
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 () |
Data Fields | |
TextField * | nombre |
Protected Methods | |
void | drawContents () |
void | drawComponents () |
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 | |
bool | state |
bool | doexit |
OKButton | okBtn |
CancelButton | cancelBtn |
HelpButton | helpBtn |
DialogType | dType |
String | caption |
Rect | rect |
Rect | captionRect |
Rect | toolbarRect |
Rect | lborderRect |
Rect | rborderRect |
MouseEvent | mouse |
KeyboardEvent | keyboard |
bool | drawn |
int | x |
int | y |
int | w |
int | h |
int | _b |
int | _r |
|
Definition at line 13 of file LoginDialog.cpp. References clawsoft.Window.caption, clawsoft.Rect.H(), clawsoft.LoginDialog.nombre, clawsoft.Object.setClassName(), clawsoft.Rect.W(), clawsoft.Rect.X(), and clawsoft.Rect.Y(). |
|
Definition at line 18 of file LoginDialog.h. References clawsoft.LoginDialog.nombre. |
|
Implements clawsoft.Widget. Definition at line 163 of file Window.cpp. |
|
Reimplemented from clawsoft.Dialog. Definition at line 46 of file LoginDialog.cpp. References clawsoft.LoginDialog.doexit, and clawsoft.LoginDialog.state. |
|
Implements clawsoft.Widget. Definition at line 198 of file Window.cpp. |
|
Implements clawsoft.Widget. Definition at line 167 of file Window.cpp. |
|
Reimplemented from clawsoft.Window. Definition at line 129 of file Dialog.cpp. References clawsoft.Dialog.cancelAction(), clawsoft.Dialog.cancelBtn, clawsoft.TextButton.checkMouseEvents(), clawsoft.DLG_CANCEL, clawsoft.DLG_OK, clawsoft.DLG_OK_CANCEL, clawsoft.DLG_OK_CANCEL_HELP, globalEvent, clawsoft.Dialog.helpAction(), clawsoft.Dialog.helpBtn, clawsoft.Dialog.okAction(), and clawsoft.Dialog.okBtn. Referenced by clawsoft.LoginDialog.run(), and clawsoft.GameSelector.run(). |
|
Implements clawsoft.Widget. Definition at line 178 of file Window.cpp. References globalEvent, clawsoft.Rect.H(), clawsoft.MouseEvent.inFocus(), clawsoft.Window.lborderRect, clawsoft.MouseEvent.leftPressed(), clawsoft.Widget.mouse, clawsoft.Window.move(), clawsoft.Window.rborderRect, clawsoft.Window.rect, clawsoft.Rect.W(), WINDOW_BOTTOM_MIDDLE, WINDOW_TOP_CAPTION, clawsoft.Rect.X(), and clawsoft.Rect.Y(). Referenced by clawsoft.LoginDialog.run(), and clawsoft.GameSelector.run(). |
|
|
Reimplemented from clawsoft.Window. Definition at line 87 of file Dialog.cpp. References clawsoft.Dialog.cancelBtn, clawsoft.DLG_CANCEL, clawsoft.DLG_OK, clawsoft.DLG_OK_CANCEL, clawsoft.DLG_OK_CANCEL_HELP, clawsoft.TextButton.draw(), clawsoft.Dialog.drawContents(), clawsoft.Dialog.helpBtn, and clawsoft.Dialog.okBtn. |
|
Reimplemented from clawsoft.Dialog. Definition at line 26 of file LoginDialog.cpp. References DEFAULT_FONT, clawsoft.TextBox.draw(), clawsoft.LoginDialog.nombre, clawsoft.Rect.X(), and clawsoft.Rect.Y(). |
|
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 94 of file LoginDialog.cpp. References clawsoft.TextBox.getText(), and clawsoft.LoginDialog.nombre. |
|
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 58 of file Dialog.h. Referenced by clawsoft.Dialog.checkMouseEvents(). |
|
Call this method when you need to recalculate the dimension of the window, is allways a good idea to do it before the main loop.
Reimplemented from clawsoft.Dialog. Definition at line 51 of file LoginDialog.cpp. References clawsoft.LoginDialog.nombre, clawsoft.Rect.X(), and clawsoft.Rect.Y(). |
|
|
|
Definition at line 204 of file Window.cpp. References clawsoft.Window.map(), clawsoft.Rect.x, clawsoft.Rect.X(), clawsoft.Rect.y, and clawsoft.Rect.Y(). Referenced by clawsoft.Window.checkMouseMotionEvents(). |
|
Reimplemented from clawsoft.Dialog. Definition at line 41 of file LoginDialog.cpp. References clawsoft.LoginDialog.doexit, and clawsoft.LoginDialog.state. |
|
Definition at line 61 of file LoginDialog.cpp. References BACKGROUND, clawsoft.TextBox.checkKeyEvents(), clawsoft.TextBox.checkMouseEvents(), clawsoft.Dialog.checkMouseEvents(), clawsoft.TextBox.checkMouseMotionEvents(), clawsoft.Window.checkMouseMotionEvents(), clawsoft.LoginDialog.doexit, clawsoft.Window.draw(), globalEvent, clawsoft.LoginDialog.nombre, and clawsoft.LoginDialog.state. |
|
Definition at line 84 of file Rect.cpp. References clawsoft.Rect._b, clawsoft.Rect.h, and clawsoft.Rect.y. |
|
|
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 46 of file Dialog.h. Referenced by clawsoft.Dialog.checkMouseEvents(), clawsoft.Dialog.drawComponents(), and clawsoft.Dialog.map(). |
|
Definition at line 15 of file Window.h. Referenced by clawsoft.Window.draw(), clawsoft.GameSelector.GameSelector(), clawsoft.LoginDialog.LoginDialog(), clawsoft.Window.map(), and clawsoft.Window.Window(). |
|
Definition at line 17 of file Window.h. Referenced by clawsoft.Window.checkMouseEvents(), clawsoft.Window.draw(), and clawsoft.Window.map(). |
|
Definition at line 15 of file LoginDialog.h. Referenced by clawsoft.LoginDialog.cancelAction(), clawsoft.LoginDialog.okAction(), and clawsoft.LoginDialog.run(). |
|
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 48 of file Dialog.h. Referenced by clawsoft.Dialog.Dialog(), and clawsoft.GameSelector.GameSelector(). |
|
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 47 of file Dialog.h. Referenced by clawsoft.Dialog.checkMouseEvents(), clawsoft.Dialog.drawComponents(), and clawsoft.Dialog.map(). |
|
Definition at line 17 of file Widget.h. Referenced by clawsoft.TextButton.checkKeyEvents(), and clawsoft.BaseButton.checkKeyEvents(). |
|
Definition at line 19 of file Window.h. Referenced by clawsoft.Window.checkMouseMotionEvents(), clawsoft.Window.draw(), and clawsoft.Window.map(). |
|
|
Definition at line 23 of file LoginDialog.h. Referenced by clawsoft.LoginDialog.drawContents(), clawsoft.LoginDialog.getText(), clawsoft.LoginDialog.LoginDialog(), clawsoft.LoginDialog.map(), clawsoft.LoginDialog.run(), and clawsoft.LoginDialog.~LoginDialog(). |
|
Definition at line 45 of file Dialog.h. Referenced by clawsoft.Dialog.checkMouseEvents(), clawsoft.Dialog.drawComponents(), and clawsoft.Dialog.map(). |
|
Definition at line 20 of file Window.h. Referenced by clawsoft.Window.checkMouseMotionEvents(), clawsoft.Window.draw(), and clawsoft.Window.map(). |
|
Definition at line 16 of file Window.h. Referenced by clawsoft.Window.checkMouseMotionEvents(), and clawsoft.Window.map(). |
|
Definition at line 14 of file LoginDialog.h. Referenced by clawsoft.LoginDialog.cancelAction(), clawsoft.LoginDialog.okAction(), and clawsoft.LoginDialog.run(). |
|
Definition at line 18 of file Window.h. Referenced by clawsoft.Window.draw(), and clawsoft.Window.map(). |
|
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: