diff options
| author | Joel Klinghed <the_jk@yahoo.com> | 2017-07-24 20:58:16 +0200 |
|---|---|---|
| committer | Joel Klinghed <the_jk@yahoo.com> | 2017-07-24 20:58:16 +0200 |
| commit | d7de7fe9427df19497b336dd4a5eca61055bd437 (patch) | |
| tree | a2031bed2f51cebe3d1033bd4c48824426d7c88e /src/gui_form.hh | |
| parent | 7fbc163ed0d3e6d7f803486518bdd36e4c3bbbf6 (diff) | |
Add description to GuiForm fields
And improve GTK implementation of GuiForm to use GtkGrid instead
of GtkBox
Diffstat (limited to 'src/gui_form.hh')
| -rw-r--r-- | src/gui_form.hh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui_form.hh b/src/gui_form.hh index 95ec221..4ba5f15 100644 --- a/src/gui_form.hh +++ b/src/gui_form.hh @@ -22,9 +22,11 @@ public: static GuiForm* create(std::string const& title, std::string const& text); virtual void add_string(std::string const& id, std::string const& label, - std::string const& value) = 0; + std::string const& value, + std::string const& description) = 0; virtual void add_number(std::string const& id, std::string const& label, - uint64_t value) = 0; + uint64_t value, + std::string const& description) = 0; virtual void add_listener(Listener* listener) = 0; virtual void remove_listener(Listener* listener) = 0; |
