[reader] Binded python font choice to reader files

This commit is contained in:
Laury
2021-09-18 12:23:32 +02:00
parent a5584634e5
commit 7c02c9e72f
2 changed files with 3 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
#include <poincare/preferences.h>
#include "word_wrap_view.h"
#include "utility.h"
namespace Reader

View File

@@ -1,6 +1,7 @@
#ifndef _WORD_WRAP_VIEW_H_
#define _WORD_WRAP_VIEW_H_
#include <apps/global_preferences.h>
#include <escher.h>
namespace Reader
@@ -8,6 +9,7 @@ namespace Reader
class WordWrapTextView : public PointerTextView {
public:
WordWrapTextView() : PointerTextView(GlobalPreferences::sharedGlobalPreferences()->font()) {};
void drawRect(KDContext * ctx, KDRect rect) const override;
void setText(const char*, int length);
void nextPage();