blob: 2d45b76c3a08bd7582fec74e9bdc30be158b1cc4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#pragma once
#include <gtkmm/label.h>
#include <gtkmm/grid.h>
#include <gtkmm/entry.h>
#include <gtkmm/paned.h>
#include <gtkmm/scrolledwindow.h>
#include <gtkmm/stack.h>
#include <gtkmm/textview.h>
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;
};
}
|