From 607b15dbc2e1dfa8633e7ae679b709fe21c94599 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sun, 29 Apr 2018 12:29:01 +0200 Subject: Fix image ratio, implement scroll locking (cant scroll outside messages) --- include/Chatbar.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/Chatbar.hpp') diff --git a/include/Chatbar.hpp b/include/Chatbar.hpp index b6c6be8..6ae2190 100644 --- a/include/Chatbar.hpp +++ b/include/Chatbar.hpp @@ -30,6 +30,8 @@ namespace dchat void processEvent(const sf::Event &event, Channel *channel); void draw(sf::RenderWindow &window); + + static float getHeight(); private: void processChatCommand(const StringView &cmd); private: -- cgit v1.2.3