aboutsummaryrefslogtreecommitdiff
path: root/src/readerview.h
blob: 51fc48d9a4b0ba3563640b6778a81e7558090a78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#pragma once
#include <gtkmm.h>

class ReaderView : public Gtk::Frame
{
    public:
        ReaderView();
        virtual ~ReaderView();

        void setChapter(unsigned int chapter);
        unsigned int getChapter(void);
        unsigned int getChapterMax(void);
        void setBook(std::string book);
        std::string getBook(void);
        std::string getBookFull(void);
        std::vector<std::string> getAllBooks(void);
        
        void refresh(void);

    protected:
        Gtk::TextView text;
};