6#include "TTauri/Text/FontID.hpp"
7#include "TTauri/Text/FontGlyphIDs.hpp"
8#include "TTauri/Text/FontBook.hpp"
12inline FontID ElusiveIcons_font_id = FontID{};
14enum class ElusiveIcon :
char32_t {
16 AddressBookAlt = 0xf101,
21 AlignJustify = 0xf107,
40 BookmarkEmpty = 0xf119,
48 CalendarSign = 0xf121,
61 ChevronRight = 0xf12f,
64 CircleArrowDown = 0xf132,
65 CircleArrowLeft = 0xf133,
66 CircleArrowRight = 0xf134,
67 CircleArrowUp = 0xf135,
93 ExclamationSign = 0xf14f,
97 FacetimeVideo = 0xf153,
98 FastBackward = 0xf154,
104 FileEditAlt = 0xf158,
114 FolderClose = 0xf163,
124 FriendfeedRect = 0xf16d,
146 HearingImpaired = 0xf184,
159 IndentRight = 0xf191,
174 Livejournal = 0xf1a0,
181 MapMarkerAlt = 0xf1a6,
196 PaperClipAlt = 0xf1b5,
223 QuestionSign = 0xf1d0,
226 QuoteRightAlt = 0xf1d3,
234 RemoveCircle = 0xf1db,
239 ResizeHorizontal = 0xf1e1,
240 ResizeSmall = 0xf1e2,
241 ResizeVertical = 0xf1e3,
255 ShoppingCart = 0xf1f2,
256 ShoppingCartSign = 0xf1f1,
265 Stackoverflow = 0xf1fb,
269 StepBackward = 0xf1ff,
270 StepForward = 0xf200,
273 Stumbleupon = 0xf203,
292 UniversalAccess = 0xf216,
309 WarningSign = 0xf227,
321inline FontGlyphIDs to_FontGlyphIDs(ElusiveIcon rhs)
noexcept {
322 tt_assume(ElusiveIcons_font_id);
325 return fontBook->
find_glyph(ElusiveIcons_font_id, Grapheme{
static_cast<char32_t>(rhs)});
FontGlyphIDs find_glyph(FontID font_id, Grapheme grapheme) const noexcept
Find a glyph using the given code-point.