2020-05-08 12:42:02 +02:00
|
|
|
#ifndef VIEW_LOGGIN_H
|
|
|
|
#define VIEW_LOGGIN_H
|
|
|
|
|
|
|
|
#include <gtkmm/window.h>
|
|
|
|
#include <gtkmm/button.h>
|
|
|
|
#include <gtkmm/box.h>
|
|
|
|
#include <gtkmm/label.h>
|
|
|
|
#include <gtkmm/entry.h>
|
|
|
|
|
2020-05-16 20:52:10 +02:00
|
|
|
#include "session_manager.h"
|
2020-05-08 12:42:02 +02:00
|
|
|
class view_loggin : public Gtk::Window
|
|
|
|
{
|
|
|
|
public:
|
2020-05-16 20:52:10 +02:00
|
|
|
view_loggin(session_manager *sesi);
|
|
|
|
session_manager *sesi;
|
2020-05-08 12:42:02 +02:00
|
|
|
|
|
|
|
Gtk::Label user;
|
|
|
|
Gtk::Entry entry_user;
|
|
|
|
Gtk::Box box_user;
|
|
|
|
|
|
|
|
Gtk::Label pass;
|
|
|
|
Gtk::Entry entry_pass;
|
|
|
|
Gtk::Box box_pass;
|
|
|
|
|
|
|
|
Gtk::Button button;
|
|
|
|
Gtk::Box box;
|
|
|
|
|
|
|
|
void on_button_clicked();
|
|
|
|
|
|
|
|
bool login;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // VIEW_LOGGIN_H
|