HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
elusive_icon.hpp
1// Copyright Take Vos 2020-2021.
2// Distributed under the Boost Software License, Version 1.0.
3// (See accompanying file LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt)
4
5#pragma once
6
7#include "font_id.hpp"
8#include "font_glyph_ids.hpp"
9#include "font_book.hpp"
10
11namespace tt {
12
13inline font_id elusive_icons_font_id() noexcept
14{
15 static font_id tmp = font_book::global().register_font(URL("resource:elusiveicons-webfont.ttf"));
16 return tmp;
17}
18
19enum class elusive_icon : char32_t {
20 AddressBook = 0xf102,
21 AddressBookAlt = 0xf101,
22 Adjust = 0xf104,
23 AdjustAlt = 0xf103,
24 Adult = 0xf105,
25 AlignCenter = 0xf106,
26 AlignJustify = 0xf107,
27 AlignLeft = 0xf108,
28 AlignRight = 0xf109,
29 ArrowDown = 0xf10a,
30 ArrowLeft = 0xf10b,
31 ArrowRight = 0xf10c,
32 ArrowUp = 0xf10d,
33 Asl = 0xf10e,
34 Asterisk = 0xf10f,
35 Backward = 0xf110,
36 BanCircle = 0xf111,
37 Barcode = 0xf112,
38 Behance = 0xf113,
39 Bell = 0xf114,
40 Blind = 0xf115,
41 Blogger = 0xf116,
42 Bold = 0xf117,
43 Book = 0xf118,
44 Bookmark = 0xf11a,
45 BookmarkEmpty = 0xf119,
46 Braille = 0xf11b,
47 Briefcase = 0xf11c,
48 Broom = 0xf11d,
49 Brush = 0xf11e,
50 Bulb = 0xf11f,
51 Bullhorn = 0xf120,
52 Calendar = 0xf122,
53 CalendarSign = 0xf121,
54 Camera = 0xf123,
55 Car = 0xf124,
56 CaretDown = 0xf125,
57 CaretLeft = 0xf126,
58 CaretRight = 0xf127,
59 CaretUp = 0xf128,
60 Cc = 0xf129,
61 Certificate = 0xf12a,
62 Check = 0xf12c,
63 CheckEmpty = 0xf12b,
64 ChevronDown = 0xf12d,
65 ChevronLeft = 0xf12e,
66 ChevronRight = 0xf12f,
67 ChevronUp = 0xf130,
68 Child = 0xf131,
69 CircleArrowDown = 0xf132,
70 CircleArrowLeft = 0xf133,
71 CircleArrowRight = 0xf134,
72 CircleArrowUp = 0xf135,
73 Cloud = 0xf137,
74 CloudAlt = 0xf136,
75 Cog = 0xf139,
76 CogAlt = 0xf138,
77 Cogs = 0xf13a,
78 Comment = 0xf13c,
79 CommentAlt = 0xf13b,
80 Compass = 0xf13e,
81 CompassAlt = 0xf13d,
82 CreditCard = 0xf13f,
83 Css = 0xf140,
84 Dashboard = 0xf141,
85 Delicious = 0xf142,
86 Deviantart = 0xf143,
87 Digg = 0xf144,
88 Download = 0xf146,
89 DownloadAlt = 0xf145,
90 Dribbble = 0xf147,
91 Edit = 0xf148,
92 Eject = 0xf149,
93 Envelope = 0xf14b,
94 EnvelopeAlt = 0xf14a,
95 Error = 0xf14d,
96 ErrorAlt = 0xf14c,
97 Eur = 0xf14e,
98 ExclamationSign = 0xf14f,
99 EyeClose = 0xf150,
100 EyeOpen = 0xf151,
101 Facebook = 0xf152,
102 FacetimeVideo = 0xf153,
103 FastBackward = 0xf154,
104 FastForward = 0xf155,
105 Female = 0xf156,
106 File = 0xf15c,
107 FileAlt = 0xf157,
108 FileEdit = 0xf159,
109 FileEditAlt = 0xf158,
110 FileNew = 0xf15b,
111 FileNewAlt = 0xf15a,
112 Film = 0xf15d,
113 Filter = 0xf15e,
114 Fire = 0xf15f,
115 Flag = 0xf161,
116 FlagAlt = 0xf160,
117 Flickr = 0xf162,
118 Folder = 0xf166,
119 FolderClose = 0xf163,
120 FolderOpen = 0xf164,
121 FolderSign = 0xf165,
122 font = 0xf167,
123 fontsize = 0xf168,
124 Fork = 0xf169,
125 Forward = 0xf16b,
126 ForwardAlt = 0xf16a,
127 Foursquare = 0xf16c,
128 Friendfeed = 0xf16e,
129 FriendfeedRect = 0xf16d,
130 Fullscreen = 0xf16f,
131 Gbp = 0xf170,
132 Gift = 0xf171,
133 Github = 0xf173,
134 GithubText = 0xf172,
135 Glass = 0xf174,
136 Glasses = 0xf175,
137 Globe = 0xf177,
138 GlobeAlt = 0xf176,
139 Googleplus = 0xf178,
140 Graph = 0xf17a,
141 GraphAlt = 0xf179,
142 Group = 0xf17c,
143 GroupAlt = 0xf17b,
144 Guidedog = 0xf17d,
145 HandDown = 0xf17e,
146 HandLeft = 0xf17f,
147 HandRight = 0xf180,
148 HandUp = 0xf181,
149 Hdd = 0xf182,
150 Headphones = 0xf183,
151 HearingImpaired = 0xf184,
152 Heart = 0xf187,
153 HeartAlt = 0xf185,
154 HeartEmpty = 0xf186,
155 Home = 0xf189,
156 HomeAlt = 0xf188,
157 Hourglass = 0xf18a,
158 Idea = 0xf18c,
159 IdeaAlt = 0xf18b,
160 Inbox = 0xf18f,
161 InboxAlt = 0xf18d,
162 InboxBox = 0xf18e,
163 IndentLeft = 0xf190,
164 IndentRight = 0xf191,
165 InfoCircle = 0xf192,
166 Instagram = 0xf193,
167 IphoneHome = 0xf194,
168 Italic = 0xf195,
169 Key = 0xf196,
170 Laptop = 0xf198,
171 LaptopAlt = 0xf197,
172 Lastfm = 0xf199,
173 Leaf = 0xf19a,
174 Lines = 0xf19b,
175 Link = 0xf19c,
176 Linkedin = 0xf19d,
177 List = 0xf19f,
178 ListAlt = 0xf19e,
179 Livejournal = 0xf1a0,
180 Lock = 0xf1a2,
181 LockAlt = 0xf1a1,
182 Magic = 0xf1a3,
183 Magnet = 0xf1a4,
184 Male = 0xf1a5,
185 MapMarker = 0xf1a7,
186 MapMarkerAlt = 0xf1a6,
187 Mic = 0xf1a9,
188 MicAlt = 0xf1a8,
189 Minus = 0xf1ab,
190 MinusSign = 0xf1aa,
191 Move = 0xf1ac,
192 Music = 0xf1ad,
193 Myspace = 0xf1ae,
194 Network = 0xf1af,
195 Off = 0xf1b0,
196 Ok = 0xf1b3,
197 OkCircle = 0xf1b1,
198 OkSign = 0xf1b2,
199 Opensource = 0xf1b4,
200 PaperClip = 0xf1b6,
201 PaperClipAlt = 0xf1b5,
202 Path = 0xf1b7,
203 Pause = 0xf1b9,
204 PauseAlt = 0xf1b8,
205 Pencil = 0xf1bb,
206 PencilAlt = 0xf1ba,
207 Person = 0xf1bc,
208 Phone = 0xf1be,
209 PhoneAlt = 0xf1bd,
210 Photo = 0xf1c0,
211 PhotoAlt = 0xf1bf,
212 Picasa = 0xf1c1,
213 Picture = 0xf1c2,
214 Pinterest = 0xf1c3,
215 Plane = 0xf1c4,
216 Play = 0xf1c7,
217 PlayAlt = 0xf1c5,
218 PlayCircle = 0xf1c6,
219 Plurk = 0xf1c9,
220 PlurkAlt = 0xf1c8,
221 Plus = 0xf1cb,
222 PlusSign = 0xf1ca,
223 Podcast = 0xf1cc,
224 Print = 0xf1cd,
225 Puzzle = 0xf1ce,
226 Qrcode = 0xf1cf,
227 Question = 0xf1d1,
228 QuestionSign = 0xf1d0,
229 QuoteAlt = 0xf1d2,
230 QuoteRight = 0xf1d4,
231 QuoteRightAlt = 0xf1d3,
232 Quotes = 0xf1d5,
233 Random = 0xf1d6,
234 Record = 0xf1d7,
235 Reddit = 0xf1d8,
236 Redux = 0xf1d9,
237 Refresh = 0xf1da,
238 Remove = 0xf1dd,
239 RemoveCircle = 0xf1db,
240 RemoveSign = 0xf1dc,
241 Repeat = 0xf1df,
242 RepeatAlt = 0xf1de,
243 ResizeFull = 0xf1e0,
244 ResizeHorizontal = 0xf1e1,
245 ResizeSmall = 0xf1e2,
246 ResizeVertical = 0xf1e3,
247 ReturnKey = 0xf1e4,
248 Retweet = 0xf1e5,
249 ReverseAlt = 0xf1e6,
250 Road = 0xf1e7,
251 Rss = 0xf1e8,
252 Scissors = 0xf1e9,
253 Screen = 0xf1eb,
254 ScreenAlt = 0xf1ea,
255 Screenshot = 0xf1ec,
256 Search = 0xf1ee,
257 SearchAlt = 0xf1ed,
258 Share = 0xf1f0,
259 ShareAlt = 0xf1ef,
260 ShoppingCart = 0xf1f2,
261 ShoppingCartSign = 0xf1f1,
262 Signal = 0xf1f3,
263 Skype = 0xf1f4,
264 Slideshare = 0xf1f5,
265 Smiley = 0xf1f7,
266 SmileyAlt = 0xf1f6,
267 Soundcloud = 0xf1f8,
268 Speaker = 0xf1f9,
269 Spotify = 0xf1fa,
270 Stackoverflow = 0xf1fb,
271 Star = 0xf1fe,
272 StarAlt = 0xf1fc,
273 StarEmpty = 0xf1fd,
274 StepBackward = 0xf1ff,
275 StepForward = 0xf200,
276 Stop = 0xf202,
277 StopAlt = 0xf201,
278 Stumbleupon = 0xf203,
279 Tag = 0xf204,
280 Tags = 0xf205,
281 Tasks = 0xf206,
282 TextHeight = 0xf207,
283 TextWidth = 0xf208,
284 Th = 0xf20b,
285 ThLarge = 0xf209,
286 ThList = 0xf20a,
287 ThumbsDown = 0xf20c,
288 ThumbsUp = 0xf20d,
289 Time = 0xf20f,
290 TimeAlt = 0xf20e,
291 Tint = 0xf210,
292 Torso = 0xf211,
293 Trash = 0xf213,
294 TrashAlt = 0xf212,
295 Tumblr = 0xf214,
296 Twitter = 0xf215,
297 UniversalAccess = 0xf216,
298 Unlock = 0xf218,
299 UnlockAlt = 0xf217,
300 Upload = 0xf219,
301 Usd = 0xf21a,
302 User = 0xf21b,
303 Viadeo = 0xf21c,
304 Video = 0xf21f,
305 VideoAlt = 0xf21d,
306 VideoChat = 0xf21e,
307 ViewMode = 0xf220,
308 Vimeo = 0xf221,
309 Vkontakte = 0xf222,
310 VolumeDown = 0xf223,
311 VolumeOff = 0xf224,
312 VolumeUp = 0xf225,
313 W3c = 0xf226,
314 WarningSign = 0xf227,
315 Website = 0xf229,
316 WebsiteAlt = 0xf228,
317 Wheelchair = 0xf22a,
318 Wordpress = 0xf22b,
319 Wrench = 0xf22d,
320 WrenchAlt = 0xf22c,
321 Youtube = 0xf22e,
322 ZoomIn = 0xf22f,
323 ZoomOut = 0xf230,
324};
325
326inline font_glyph_ids to_font_glyph_ids(elusive_icon rhs) noexcept {
327 return font_book::global().find_glyph(elusive_icons_font_id(), grapheme{static_cast<char32_t>(rhs)});
328}
329
330
331
332}