diff options
author | Your Name <you@example.com> | 2020-11-07 09:30:53 -0500 |
---|---|---|
committer | Your Name <you@example.com> | 2020-11-07 09:30:53 -0500 |
commit | 89a449c2ab9d736c1f03c78b745e814424e01360 (patch) | |
tree | 25c4d03bd39a5ddbe1b7f28713e82bf174a29216 /readerview.h | |
download | biblereader-89a449c2ab9d736c1f03c78b745e814424e01360.tar.gz biblereader-89a449c2ab9d736c1f03c78b745e814424e01360.tar.bz2 biblereader-89a449c2ab9d736c1f03c78b745e814424e01360.zip |
Initial commit
Diffstat (limited to 'readerview.h')
-rw-r--r-- | readerview.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/readerview.h b/readerview.h new file mode 100644 index 0000000..0ea631e --- /dev/null +++ b/readerview.h @@ -0,0 +1,32 @@ +#pragma once +#include <gtkmm.h> + +class Sword; + +class ReaderView : public Gtk::Frame +{ +public: + ReaderView(); + virtual ~ReaderView(); + + void setChapter(int chapter); + int getChapter(void); + int getChapterMax(void); + void setBook(std::string book); + std::string getBook(void); + std::string getBookFull(void); + std::vector<std::string> getAllBooks(void); + + void setVersion(std::string version); + std::string getVersion(void); + std::vector<std::string> getAllVersions(void); + + void refresh(void); + + std::vector<std::string> modsUpdated(void); + +protected: + Sword *sword; + Gtk::TextView text; + struct config *conf; +}; |