summaryrefslogtreecommitdiff
path: root/src/components/voiceinfobox.hpp
diff options
context:
space:
mode:
authorouwou <26526779+ouwou@users.noreply.github.com>2023-05-29 06:29:39 +0000
committerGitHub <noreply@github.com>2023-05-29 06:29:39 +0000
commit3fbc71e369fedddd7ebc2eb08c9721860ae6b597 (patch)
tree297c9e2d905b0ba33978be5f64b9624773661a30 /src/components/voiceinfobox.hpp
parent8e9fb27e0bec4c9dd4b706e15987cbb16cf42005 (diff)
parent7da37a2fa90cebf43631c74aa1abfb9842502291 (diff)
downloadabaddon-portaudio-3fbc71e369fedddd7ebc2eb08c9721860ae6b597.tar.gz
abaddon-portaudio-3fbc71e369fedddd7ebc2eb08c9721860ae6b597.zip
Merge pull request #105 from uowuo/voice
Voice support 🤯
Diffstat (limited to 'src/components/voiceinfobox.hpp')
-rw-r--r--src/components/voiceinfobox.hpp26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/components/voiceinfobox.hpp b/src/components/voiceinfobox.hpp
new file mode 100644
index 0000000..9988c63
--- /dev/null
+++ b/src/components/voiceinfobox.hpp
@@ -0,0 +1,26 @@
+#pragma once
+
+#ifdef WITH_VOICE
+
+ #include <gtkmm/box.h>
+ #include <gtkmm/eventbox.h>
+ #include <gtkmm/image.h>
+ #include <gtkmm/label.h>
+
+class VoiceInfoBox : public Gtk::Box {
+public:
+ VoiceInfoBox();
+
+private:
+ void UpdateLocation();
+
+ Gtk::Box m_left;
+ Gtk::EventBox m_status_ev;
+ Gtk::Label m_status;
+ Gtk::Label m_location;
+
+ Gtk::EventBox m_disconnect_ev;
+ Gtk::Image m_disconnect_img;
+};
+
+#endif