diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2022-08-12 18:35:58 -0400 |
---|---|---|
committer | ouwou <26526779+ouwou@users.noreply.github.com> | 2022-08-12 18:35:58 -0400 |
commit | 6a5ecb4d9584f7276cf1d592c95811a66943f61c (patch) | |
tree | 2c09268db37461ce9e1882789183c508bb36dd4a /src/dialogs/textinput.hpp | |
parent | dc28eae95a46c3079fcc76b3425ffa37844dd37d (diff) | |
parent | f60cea2216dd9677cb9105364cdaa778a0c187db (diff) | |
download | abaddon-portaudio-6a5ecb4d9584f7276cf1d592c95811a66943f61c.tar.gz abaddon-portaudio-6a5ecb4d9584f7276cf1d592c95811a66943f61c.zip |
Merge branch 'attachments'
Diffstat (limited to 'src/dialogs/textinput.hpp')
-rw-r--r-- | src/dialogs/textinput.hpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/dialogs/textinput.hpp b/src/dialogs/textinput.hpp new file mode 100644 index 0000000..fd2d2b8 --- /dev/null +++ b/src/dialogs/textinput.hpp @@ -0,0 +1,14 @@ +#pragma once +#include <gtkmm/dialog.h> +#include <gtkmm/entry.h> + +class TextInputDialog : public Gtk::Dialog { +public: + TextInputDialog(const Glib::ustring &prompt, const Glib::ustring &title, const Glib::ustring &placeholder, Gtk::Window &parent); + + Glib::ustring GetInput() const; + +private: + Gtk::Label m_label; + Gtk::Entry m_entry; +}; |