aboutsummaryrefslogtreecommitdiff
path: root/src/Channel.cpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2018-04-28 11:52:04 +0200
committerdec05eba <dec05eba@protonmail.com>2018-04-28 11:53:18 +0200
commit3b03f87070d91f63f0dc3c7152723727781dcccf (patch)
tree7b06163f34248d1e632c032cfaf306787675e585 /src/Channel.cpp
parentb0bfb8b8d1479502bd5adf17e6a1b94ec00c63ca (diff)
Add commands, users side panel, improve image download
start using odhtdb
Diffstat (limited to 'src/Channel.cpp')
-rw-r--r--src/Channel.cpp10
1 files changed, 7 insertions, 3 deletions
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 <cstring>
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);
}
}