aboutsummaryrefslogtreecommitdiff
path: root/include/Body.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2020-09-10 20:40:17 +0200
committerdec05eba <dec05eba@protonmail.com>2020-09-10 20:40:17 +0200
commit6f11b42b7015646bcdc5f8bbec7da61e76655861 (patch)
tree364f9bbe02a9f8806a2640f36ebbf8a1da70fdb8 /include/Body.hpp
parent901edef180648ce9c76ec4f73005da6498f57cf0 (diff)
Add ctrl+r keybind to show related videos menu
Diffstat (limited to 'include/Body.hpp')
-rw-r--r--include/Body.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/Body.hpp b/include/Body.hpp
index 86b6984..a3058a6 100644
--- a/include/Body.hpp
+++ b/include/Body.hpp
@@ -55,7 +55,7 @@ namespace QuickMedia {
class Body {
public:
- Body(Program *program, sf::Font &font, sf::Font &bold_font);
+ Body(Program *program, sf::Font *font, sf::Font *bold_font);
// Select previous item, ignoring invisible items
void select_previous_item();
@@ -82,7 +82,8 @@ namespace QuickMedia {
bool no_items_visible() const;
- sf::Text title_text;
+ sf::Font *font;
+ sf::Font *bold_font;
sf::Text progress_text;
sf::Text author_text;
sf::Text replies_text;