diff options
author | dec05eba <dec05eba@protonmail.com> | 2019-10-12 08:17:17 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2019-10-12 08:17:20 +0200 |
commit | a3526002980b3ebc112ec6f272923a5196c072cd (patch) | |
tree | e09b6b311113c5a45b5fe541810eff8e96317779 | |
parent | 0fda98b233ae0f44b1f0a8691958087619b243e1 (diff) |
Show chapter name at bottom while viewing manga
-rw-r--r-- | src/QuickMedia.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/QuickMedia.cpp b/src/QuickMedia.cpp index 05c9004..35bf9f7 100644 --- a/src/QuickMedia.cpp +++ b/src/QuickMedia.cpp @@ -854,7 +854,7 @@ namespace QuickMedia { bool resized = true; sf::Event event; - sf::Text chapter_text(std::string("Page ") + std::to_string(image_index + 1) + "/" + std::to_string(num_images), font, 14); + sf::Text chapter_text(chapter_title + std::string(" | Page ") + std::to_string(image_index + 1) + "/" + std::to_string(num_images), font, 14); if(image_index == num_images) chapter_text.setString("End"); chapter_text.setFillColor(sf::Color::White); |