diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2013-03-22 14:14:17 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2013-03-22 14:14:17 (GMT) |
| commit | 9abe51526cac2634af0541c3de69834dd30e9f78 (patch) | |
| tree | 6ae4deadfe00a83094b9d288d8c11d8ce823577a /src/login/LoginView.h | |
| parent | 2c311b9a36a88fadd96f3d39acb1ab2590835d81 (diff) | |
| download | powder-9abe51526cac2634af0541c3de69834dd30e9f78.zip powder-9abe51526cac2634af0541c3de69834dd30e9f78.tar.gz | |
Move all GUI source files into gui/
Diffstat (limited to 'src/login/LoginView.h')
| -rw-r--r-- | src/login/LoginView.h | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/src/login/LoginView.h b/src/login/LoginView.h deleted file mode 100644 index a492b75..0000000 --- a/src/login/LoginView.h +++ /dev/null @@ -1,39 +0,0 @@ -#ifndef LOGINVIEW_H_ -#define LOGINVIEW_H_ - -#include "interface/Window.h" -#include "LoginController.h" -#include "LoginModel.h" - -namespace ui -{ - class Textbox; - class Button; - class Label; -} - -class LoginController; -class LoginMode; -class LoginView: public ui::Window { - LoginController * c; - ui::Point targetSize; - ui::Button * loginButton; - ui::Button * cancelButton; - ui::Label * titleLabel; - ui::Label * infoLabel; - ui::Textbox * usernameField; - ui::Textbox * passwordField; -public: - class LoginAction; - class CancelAction; - LoginView(); - virtual void OnKeyPress(int key, Uint16 character, bool shift, bool ctrl, bool alt); - virtual void OnTryExit(ExitMethod method); - void AttachController(LoginController * c_) { c = c_; } - void NotifyStatusChanged(LoginModel * sender); - virtual void OnDraw(); - virtual void OnTick(float dt); - virtual ~LoginView(); -}; - -#endif /* LOGINVIEW_H_ */ |
