From 3b03f87070d91f63f0dc3c7152723727781dcccf Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sat, 28 Apr 2018 11:52:04 +0200 Subject: Add commands, users side panel, improve image download start using odhtdb --- src/Channel.cpp | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'src/Channel.cpp') diff --git a/src/Channel.cpp b/src/Channel.cpp index d7d6dc5..f02b97a 100644 --- a/src/Channel.cpp +++ b/src/Channel.cpp @@ -1,4 +1,6 @@ #include "../include/Channel.hpp" +#include "../include/UsersSidePanel.hpp" +#include "../include/ChannelSidePanel.hpp" #include using namespace std; @@ -72,9 +74,11 @@ namespace dchat messageBoard.processEvent(event); } - void Channel::draw(sf::RenderWindow &window, const sf::Vector2f &position, Cache &cache) + void Channel::draw(sf::RenderWindow &window, Cache &cache) { - messageBoard.draw(window, position, cache); - chatbar.draw(window, position); + ChannelSidePanel::draw(window); + messageBoard.draw(window, cache); + chatbar.draw(window); + UsersSidePanel::draw(window); } } -- cgit v1.2.3