diff options
Diffstat (limited to 'include/UserSettingsWindow.hpp')
-rw-r--r-- | include/UserSettingsWindow.hpp | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/include/UserSettingsWindow.hpp b/include/UserSettingsWindow.hpp new file mode 100644 index 0000000..e7062e1 --- /dev/null +++ b/include/UserSettingsWindow.hpp @@ -0,0 +1,33 @@ +#pragma once + +#include <gtkmm/grid.h> +#include <gtkmm/entry.h> +#include <gtkmm/label.h> +#include <string> + +namespace Gtk +{ + class Paned; +} + +namespace dchat +{ + class ChatWindow; + + class UserSettingsWindow : public Gtk::Grid + { + public: + UserSettingsWindow(ChatWindow *chatWindow); + void setAvatarUrl(const std::string &url); + void setNickname(const std::string &nickname); + + void setupLeftPanel(Gtk::Paned *sidePanels); + void setupRightPanel(Gtk::Paned *sidePanels); + private: + ChatWindow *chatWindow; + Gtk::Entry nicknameEntry; + Gtk::Entry avatarUrlEntry; + Glib::ustring prevNickname; + Glib::ustring prevAvatarUrl; + }; +}
\ No newline at end of file |