1
0
mirror of https://github.com/Dejvino/lilybook.git synced 2024-09-28 01:43:37 +00:00
lilybook/main/modes/ReaderMode.h

22 lines
452 B
C++

#include "AppMode.h"
#include "reader/Typesetter.h"
#include "reader/TextStorage.h"
#include "reader/PagePrinter.h"
class ReaderMode : public AppMode
{
public:
virtual void start();
virtual void loop();
virtual void finish();
private:
long bookmark = 0;
Typesetter typesetter;
PagePrinter pagePrinter;
TextStorage textStorage;
TextReader* textReader = NULL;
Page* pageLast = NULL;
Page* pageCurrent = NULL;
};