Add interface class to represent player interface. Have simple hide/show animation between. Put up more interface elements on login interface to show inteded ui.
This commit is contained in:
@@ -22,6 +22,10 @@
|
||||
|
||||
#include <Wt/WContainerWidget>
|
||||
#include <Wt/WPushButton>
|
||||
#include <Wt/WVBoxLayout>
|
||||
#include <Wt/WHBoxLayout>
|
||||
#include <Wt/WLineEdit>
|
||||
#include <Wt/WText>
|
||||
#include "../WebInterface.h"
|
||||
|
||||
class LoginInterface : public Wt::WContainerWidget
|
||||
@@ -30,6 +34,15 @@ public:
|
||||
LoginInterface(WebInterface* app);
|
||||
private:
|
||||
Wt::WPushButton* loginButton;
|
||||
Wt::WVBoxLayout* loginLayout;
|
||||
Wt::WContainerWidget* loginContainer;
|
||||
Wt::WHBoxLayout* usernameArea;
|
||||
Wt::WContainerWidget* usernameContainer;
|
||||
Wt::WHBoxLayout* passwordArea;
|
||||
Wt::WContainerWidget* passwordContainer;
|
||||
Wt::WLineEdit* usernameField;
|
||||
Wt::WLineEdit* passwordField;
|
||||
WebInterface* app;
|
||||
};
|
||||
|
||||
#endif // LOGININTERFACE_H
|
||||
|
||||
Reference in New Issue
Block a user