mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-18 21:30:38 +01:00
[escher/run_loop] Move kandinksy include
To check whether an ExternalText could be written with Epsilon's fonts, UTF8Helper made a reference to Kandinsky, which is prohibited. This check is now done in Escher, before dispatching the event. Change-Id: I55e9db1ba43c3115775499db47b90a6bdd7cc7b3
This commit is contained in:
committed by
Émilie Feral
parent
d5e810f2b8
commit
0185e0562c
@@ -234,7 +234,7 @@ constexpr Event USBPlug = Event::Special(4);
|
||||
constexpr Event BatteryCharging = Event::Special(5);
|
||||
/* This event is only used in the simulator, to handle text that cannot be
|
||||
* associated with a key. */
|
||||
// constexpr Event ExternalText = Event::Special(6);
|
||||
constexpr Event ExternalText = Event::Special(6);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -124,10 +124,6 @@ const char * EndOfWord(const char * word);
|
||||
// On a line, count number of glyphs before and after locations
|
||||
void countGlyphsInLine(const char * text, int * before, int * after, const char * beforeLocation, const char *afterLocation = nullptr);
|
||||
|
||||
/* Returns false if one of text's code points does not have a corresponding
|
||||
* glyph in Epsilon's fonts.*/
|
||||
bool CanBeWrittenWithGlyphs(const char * text);
|
||||
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user