diff options
Diffstat (limited to 'src/login/LoginView.h')
| -rw-r--r-- | src/login/LoginView.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/src/login/LoginView.h b/src/login/LoginView.h new file mode 100644 index 0000000..2646e99 --- /dev/null +++ b/src/login/LoginView.h @@ -0,0 +1,37 @@ +/* + * LoginView.h + * + * Created on: Jan 24, 2012 + * Author: Simon + */ + +#ifndef LOGINVIEW_H_ +#define LOGINVIEW_H_ + +#include "interface/Button.h" +#include "interface/Window.h" +#include "interface/Label.h" +#include "interface/Textbox.h" +#include "LoginController.h" +#include "LoginModel.h" + +class LoginController; +class LoginMode; +class LoginView: public ui::Window { + LoginController * c; + ui::Button * loginButton; + ui::Button * cancelButton; + ui::Label * titleLabel; + ui::Label * infoLabel; + ui::Textbox * usernameField; + ui::Textbox * passwordField; +public: + class LoginAction; + LoginView(); + void AttachController(LoginController * c_) { c = c_; } + void NotifyStatusChanged(LoginModel * sender); + virtual void OnDraw(); + virtual ~LoginView(); +}; + +#endif /* LOGINVIEW_H_ */ |
