[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:
Gabriel Ozouf
2020-10-27 14:40:18 +01:00
committed by Émilie Feral
parent d5e810f2b8
commit 0185e0562c
8 changed files with 23 additions and 23 deletions

View File

@@ -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);
}
}

View File

@@ -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