mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-18 16:27:34 +01:00
[reader] Binded python font choice to reader files
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
|
||||
#include <poincare/preferences.h>
|
||||
#include "word_wrap_view.h"
|
||||
|
||||
#include "utility.h"
|
||||
|
||||
namespace Reader
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user