summaryrefslogtreecommitdiff
path: root/windows/mainwindow.hpp
diff options
context:
space:
mode:
authorouwou <26526779+ouwou@users.noreply.github.com>2020-08-20 03:19:16 -0400
committerouwou <26526779+ouwou@users.noreply.github.com>2020-08-20 03:19:16 -0400
commita201d5905ad9188e890eeb0cc0aee8d4fb9dcf3c (patch)
treee7b28048f1150c379db1fb27e8efa032aafaf06d /windows/mainwindow.hpp
parent4b903bbd3e8436e1d63b8c12e76d8a3c924da5fc (diff)
downloadabaddon-portaudio-a201d5905ad9188e890eeb0cc0aee8d4fb9dcf3c.tar.gz
abaddon-portaudio-a201d5905ad9188e890eeb0cc0aee8d4fb9dcf3c.zip
rudimentary chat
Diffstat (limited to 'windows/mainwindow.hpp')
-rw-r--r--windows/mainwindow.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/windows/mainwindow.hpp b/windows/mainwindow.hpp
index c315c32..adf82ef 100644
--- a/windows/mainwindow.hpp
+++ b/windows/mainwindow.hpp
@@ -1,5 +1,6 @@
#pragma once
#include "../components/channels.hpp"
+#include "../components/chatwindow.hpp"
#include <gtkmm.h>
class Abaddon;
@@ -10,12 +11,16 @@ public:
void UpdateComponents();
void UpdateChannelListing();
+ void UpdateChatWindowContents();
+ void UpdateChatActiveChannel(Snowflake id);
protected:
Gtk::Box m_main_box;
Gtk::Box m_content_box;
+ Gtk::Paned m_chan_chat_paned;
ChannelList m_channel_list;
+ ChatWindow m_chat;
Gtk::MenuBar m_menu_bar;
Gtk::MenuItem m_menu_discord;