diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2022-06-23 00:48:00 -0400 |
---|---|---|
committer | ouwou <26526779+ouwou@users.noreply.github.com> | 2022-06-23 00:48:00 -0400 |
commit | d841a2c862eddc6b2053b48907f8e1400e2d1391 (patch) | |
tree | 77741f5d2cb9908f86cd7c1c737b2c52ade4fd3e /src/dialogs/textinput.hpp | |
parent | 4ee7025ab09b606a2556bf9f42c1218d7fd72843 (diff) | |
download | abaddon-portaudio-d841a2c862eddc6b2053b48907f8e1400e2d1391.tar.gz abaddon-portaudio-d841a2c862eddc6b2053b48907f8e1400e2d1391.zip |
add change filename
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; +}; |