aboutsummaryrefslogtreecommitdiff
path: root/include/MessageBoard.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/MessageBoard.hpp')
-rw-r--r--include/MessageBoard.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/MessageBoard.hpp b/include/MessageBoard.hpp
index e84396d..a4dc5a6 100644
--- a/include/MessageBoard.hpp
+++ b/include/MessageBoard.hpp
@@ -24,6 +24,9 @@ namespace dchat
private:
void updateStaticContentTexture(const sf::Vector2u &newSize);
void addMessage(Message *message);
+
+ void drawDefault(sf::RenderWindow &window, Cache &cache);
+ void drawSimple(sf::RenderWindow &window, Cache &cache);
private:
sf::RenderTexture staticContentTexture;
bool dirty;
@@ -37,5 +40,8 @@ namespace dchat
sf::Clock frameTimer;
double totalHeight;
bool scrollToBottom;
+ sf::Vector2f backgroundSizeWithoutPadding;
+ sf::Vector2f backgroundSize;
+ sf::Vector2f backgroundPos;
};
}