diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2020-08-17 02:40:03 -0400 |
---|---|---|
committer | ouwou <26526779+ouwou@users.noreply.github.com> | 2020-08-17 02:40:03 -0400 |
commit | 18af78e6af49821f8c7adb5b4325d75c8bf4fd03 (patch) | |
tree | 2a2812d604fa0b00891613e868a79972159886aa /components | |
parent | 212511e29d01af9b096e91371956b28de834bd13 (diff) | |
download | abaddon-portaudio-18af78e6af49821f8c7adb5b4325d75c8bf4fd03.tar.gz abaddon-portaudio-18af78e6af49821f8c7adb5b4325d75c8bf4fd03.zip |
connect and heartbeat
Diffstat (limited to 'components')
-rw-r--r-- | components/channels.cpp | 12 | ||||
-rw-r--r-- | components/channels.hpp | 12 |
2 files changed, 24 insertions, 0 deletions
diff --git a/components/channels.cpp b/components/channels.cpp new file mode 100644 index 0000000..364f18b --- /dev/null +++ b/components/channels.cpp @@ -0,0 +1,12 @@ +#include "channels.hpp" + +ChannelList::ChannelList() { + m_main = Gtk::manage(new Gtk::ScrolledWindow); + m_list = Gtk::manage(new Gtk::ListBox); + + m_main->add(*m_list); +} + +Gtk::Widget* ChannelList::GetRoot() const { + return m_main; +} diff --git a/components/channels.hpp b/components/channels.hpp new file mode 100644 index 0000000..0bc1855 --- /dev/null +++ b/components/channels.hpp @@ -0,0 +1,12 @@ +#pragma once +#include <gtkmm.h> + +class ChannelList { +public: + ChannelList(); + Gtk::Widget *GetRoot() const; + +protected: + Gtk::ListBox *m_list; + Gtk::ScrolledWindow *m_main; +}; |