aboutsummaryrefslogtreecommitdiff
path: root/include/ChatWindow.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2018-10-31 18:12:49 +0100
committerdec05eba <dec05eba@protonmail.com>2018-10-31 18:12:53 +0100
commita535703add6bf29878845cb270997514489cfc16 (patch)
tree6816c8749c0dde59cc936cdc274307b0561bac27 /include/ChatWindow.hpp
parent687796532d80fc6a0ae8327eec8f901002bdc0dd (diff)
Start with images/gif, resize chat input
Diffstat (limited to 'include/ChatWindow.hpp')
-rw-r--r--include/ChatWindow.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/ChatWindow.hpp b/include/ChatWindow.hpp
index b10af2b..0b58506 100644
--- a/include/ChatWindow.hpp
+++ b/include/ChatWindow.hpp
@@ -38,8 +38,8 @@ namespace dchat
Gtk::Grid leftPanelChannels;
Gtk::Grid leftPanelUsers;
Gtk::Label currentChannelTitle;
- Gtk::ScrolledWindow chatArea;
- Gtk::Grid chatAreaLayout;
+ Gtk::ScrolledWindow messageArea;
+ Gtk::Grid messageAreaLayout;
Gtk::TextView chatInput;
struct ChannelData
@@ -53,5 +53,6 @@ namespace dchat
std::vector<User*> users;
ChatMessage *lastMessage;
+ int chatPrevNumLines;
};
} \ No newline at end of file