1
0
mirror of https://github.com/Dejvino/lilybook.git synced 2024-11-13 03:47:30 +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;
};