#pragma once #include #include #include #include #include #include #include namespace dchat { class ChatWindow : public Gtk::Grid { public: ChatWindow(); private: void setupTopBar(); void setupLeftPanel(Gtk::Paned *sidePanels); void setupMessageArea(Gtk::Grid *rightPanel); void setupChatInput(Gtk::Grid *rightPanel); private: Gtk::Grid topbar; Gtk::Entry topbarSearchBar; Gtk::Label currentChannelTitle; Gtk::ScrolledWindow chatArea; Gtk::TextView chatInput; }; }