1
0
mirror of https://github.com/Dejvino/lilybook.git synced 2024-11-14 04:17:28 +00:00
lilybook/main/modes/ReaderMode.h

22 lines
452 B
C
Raw Normal View History

#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;
};