1/*
2 src/example_icons.cpp -- C++ version of an example application that shows
3 all available Entypo icons as they would appear in NanoGUI itself. For a Python
4 implementation, see '../python/example_icons.py'.
5
6 NanoGUI was developed by Wenzel Jakob <wenzel.jakob@epfl.ch>.
7 The widget drawing code is based on the NanoVG demo application
8 by Mikko Mononen.
9
10 All rights reserved. Use of this source code is governed by a
11 BSD-style license that can be found in the LICENSE.txt file.
12*/
13
14/* Developer note: need to make a change to this file?
15 * Please raise an Issue on GitHub describing what needs to change. This file
16 * was generated, so the scripts that generated it needs to update as well.
17 */
18
19#include <nanogui/nanogui.h>
20using namespace nanogui;
21
22// add a button to the wrapper with a fixed size
23// `icon` should be the defined constant in nanogui/entypo.h
24// the button label will be the string that represents this
25#define ADD_BUTTON(icon) \
26 auto b_##icon = new Button(wrapper, #icon, icon); \
27 b_##icon->setIconPosition(Button::IconPosition::Left); \
28 b_##icon->setFixedWidth(half_width);
29
30int main(int /* argc */, char ** /* argv */) {
31 nanogui::init();
32
33 /* scoped variables */ {
34 static constexpr int width = 1000;
35 static constexpr int half_width = width / 2;
36 static constexpr int height = 800;
37
38 // create a fixed size screen with one window
39 Screen *screen = new Screen({width, height}, "NanoGUI Icons", false);
40 Window *window = new Window(screen, "All Icons");
41 window->setPosition({0, 0});
42 window->setFixedSize({width, height});
43
44 // attach a vertical scroll panel
45 auto vscroll = new VScrollPanel(window);
46 vscroll->setFixedSize({width, height});
47
48 // vscroll should only have *ONE* child. this is what `wrapper` is for
49 auto wrapper = new Widget(vscroll);
50 wrapper->setFixedSize({width, height});
51 wrapper->setLayout(new GridLayout());// defaults: 2 columns
52
53 ////////////////////////////////////////////////////////////////////////
54 ////////////////////////////////////////////////////////////////////////
55 ////////////////////////////////////////////////////////////////////////
56 ADD_BUTTON(ENTYPO_ICON_500PX)
57 ADD_BUTTON(ENTYPO_ICON_500PX_WITH_CIRCLE)
58 ADD_BUTTON(ENTYPO_ICON_ADD_TO_LIST)
59 ADD_BUTTON(ENTYPO_ICON_ADD_USER)
60 ADD_BUTTON(ENTYPO_ICON_ADDRESS)
61 ADD_BUTTON(ENTYPO_ICON_ADJUST)
62 ADD_BUTTON(ENTYPO_ICON_AIR)
63 ADD_BUTTON(ENTYPO_ICON_AIRCRAFT)
64 ADD_BUTTON(ENTYPO_ICON_AIRCRAFT_LANDING)
65 ADD_BUTTON(ENTYPO_ICON_AIRCRAFT_TAKE_OFF)
66 ADD_BUTTON(ENTYPO_ICON_ALIGN_BOTTOM)
67 ADD_BUTTON(ENTYPO_ICON_ALIGN_HORIZONTAL_MIDDLE)
68 ADD_BUTTON(ENTYPO_ICON_ALIGN_LEFT)
69 ADD_BUTTON(ENTYPO_ICON_ALIGN_RIGHT)
70 ADD_BUTTON(ENTYPO_ICON_ALIGN_TOP)
71 ADD_BUTTON(ENTYPO_ICON_ALIGN_VERTICAL_MIDDLE)
72 ADD_BUTTON(ENTYPO_ICON_APP_STORE)
73 ADD_BUTTON(ENTYPO_ICON_ARCHIVE)
74 ADD_BUTTON(ENTYPO_ICON_AREA_GRAPH)
75 ADD_BUTTON(ENTYPO_ICON_ARROW_BOLD_DOWN)
76 ADD_BUTTON(ENTYPO_ICON_ARROW_BOLD_LEFT)
77 ADD_BUTTON(ENTYPO_ICON_ARROW_BOLD_RIGHT)
78 ADD_BUTTON(ENTYPO_ICON_ARROW_BOLD_UP)
79 ADD_BUTTON(ENTYPO_ICON_ARROW_DOWN)
80 ADD_BUTTON(ENTYPO_ICON_ARROW_LEFT)
81 ADD_BUTTON(ENTYPO_ICON_ARROW_LONG_DOWN)
82 ADD_BUTTON(ENTYPO_ICON_ARROW_LONG_LEFT)
83 ADD_BUTTON(ENTYPO_ICON_ARROW_LONG_RIGHT)
84 ADD_BUTTON(ENTYPO_ICON_ARROW_LONG_UP)
85 ADD_BUTTON(ENTYPO_ICON_ARROW_RIGHT)
86 ADD_BUTTON(ENTYPO_ICON_ARROW_UP)
87 ADD_BUTTON(ENTYPO_ICON_ARROW_WITH_CIRCLE_DOWN)
88 ADD_BUTTON(ENTYPO_ICON_ARROW_WITH_CIRCLE_LEFT)
89 ADD_BUTTON(ENTYPO_ICON_ARROW_WITH_CIRCLE_RIGHT)
90 ADD_BUTTON(ENTYPO_ICON_ARROW_WITH_CIRCLE_UP)
91 ADD_BUTTON(ENTYPO_ICON_ATTACHMENT)
92 ADD_BUTTON(ENTYPO_ICON_AWARENESS_RIBBON)
93 ADD_BUTTON(ENTYPO_ICON_BACK)
94 ADD_BUTTON(ENTYPO_ICON_BACK_IN_TIME)
95 ADD_BUTTON(ENTYPO_ICON_BAIDU)
96 ADD_BUTTON(ENTYPO_ICON_BAR_GRAPH)
97 ADD_BUTTON(ENTYPO_ICON_BASECAMP)
98 ADD_BUTTON(ENTYPO_ICON_BATTERY)
99 ADD_BUTTON(ENTYPO_ICON_BEAMED_NOTE)
100 ADD_BUTTON(ENTYPO_ICON_BEHANCE)
101 ADD_BUTTON(ENTYPO_ICON_BELL)
102 ADD_BUTTON(ENTYPO_ICON_BLACKBOARD)
103 ADD_BUTTON(ENTYPO_ICON_BLOCK)
104 ADD_BUTTON(ENTYPO_ICON_BOOK)
105 ADD_BUTTON(ENTYPO_ICON_BOOKMARK)
106 ADD_BUTTON(ENTYPO_ICON_BOOKMARKS)
107 ADD_BUTTON(ENTYPO_ICON_BOWL)
108 ADD_BUTTON(ENTYPO_ICON_BOX)
109 ADD_BUTTON(ENTYPO_ICON_BRIEFCASE)
110 ADD_BUTTON(ENTYPO_ICON_BROWSER)
111 ADD_BUTTON(ENTYPO_ICON_BRUSH)
112 ADD_BUTTON(ENTYPO_ICON_BUCKET)
113 ADD_BUTTON(ENTYPO_ICON_BUG)
114 ADD_BUTTON(ENTYPO_ICON_CAKE)
115 ADD_BUTTON(ENTYPO_ICON_CALCULATOR)
116 ADD_BUTTON(ENTYPO_ICON_CALENDAR)
117 ADD_BUTTON(ENTYPO_ICON_CAMERA)
118 ADD_BUTTON(ENTYPO_ICON_CCW)
119 ADD_BUTTON(ENTYPO_ICON_CHAT)
120 ADD_BUTTON(ENTYPO_ICON_CHECK)
121 ADD_BUTTON(ENTYPO_ICON_CHEVRON_DOWN)
122 ADD_BUTTON(ENTYPO_ICON_CHEVRON_LEFT)
123 ADD_BUTTON(ENTYPO_ICON_CHEVRON_RIGHT)
124 ADD_BUTTON(ENTYPO_ICON_CHEVRON_SMALL_DOWN)
125 ADD_BUTTON(ENTYPO_ICON_CHEVRON_SMALL_LEFT)
126 ADD_BUTTON(ENTYPO_ICON_CHEVRON_SMALL_RIGHT)
127 ADD_BUTTON(ENTYPO_ICON_CHEVRON_SMALL_UP)
128 ADD_BUTTON(ENTYPO_ICON_CHEVRON_THIN_DOWN)
129 ADD_BUTTON(ENTYPO_ICON_CHEVRON_THIN_LEFT)
130 ADD_BUTTON(ENTYPO_ICON_CHEVRON_THIN_RIGHT)
131 ADD_BUTTON(ENTYPO_ICON_CHEVRON_THIN_UP)
132 ADD_BUTTON(ENTYPO_ICON_CHEVRON_UP)
133 ADD_BUTTON(ENTYPO_ICON_CHEVRON_WITH_CIRCLE_DOWN)
134 ADD_BUTTON(ENTYPO_ICON_CHEVRON_WITH_CIRCLE_LEFT)
135 ADD_BUTTON(ENTYPO_ICON_CHEVRON_WITH_CIRCLE_RIGHT)
136 ADD_BUTTON(ENTYPO_ICON_CHEVRON_WITH_CIRCLE_UP)
137 ADD_BUTTON(ENTYPO_ICON_CIRCLE)
138 ADD_BUTTON(ENTYPO_ICON_CIRCLE_WITH_CROSS)
139 ADD_BUTTON(ENTYPO_ICON_CIRCLE_WITH_MINUS)
140 ADD_BUTTON(ENTYPO_ICON_CIRCLE_WITH_PLUS)
141 ADD_BUTTON(ENTYPO_ICON_CIRCULAR_GRAPH)
142 ADD_BUTTON(ENTYPO_ICON_CLAPPERBOARD)
143 ADD_BUTTON(ENTYPO_ICON_CLASSIC_COMPUTER)
144 ADD_BUTTON(ENTYPO_ICON_CLIPBOARD)
145 ADD_BUTTON(ENTYPO_ICON_CLOCK)
146 ADD_BUTTON(ENTYPO_ICON_CLOUD)
147 ADD_BUTTON(ENTYPO_ICON_CODE)
148 ADD_BUTTON(ENTYPO_ICON_COG)
149 ADD_BUTTON(ENTYPO_ICON_COLOURS)
150 ADD_BUTTON(ENTYPO_ICON_COMPASS)
151 ADD_BUTTON(ENTYPO_ICON_CONTROLLER_FAST_BACKWARD)
152 ADD_BUTTON(ENTYPO_ICON_CONTROLLER_FAST_FORWARD)
153 ADD_BUTTON(ENTYPO_ICON_CONTROLLER_JUMP_TO_START)
154 ADD_BUTTON(ENTYPO_ICON_CONTROLLER_NEXT)
155 ADD_BUTTON(ENTYPO_ICON_CONTROLLER_PAUS)
156 ADD_BUTTON(ENTYPO_ICON_CONTROLLER_PLAY)
157 ADD_BUTTON(ENTYPO_ICON_CONTROLLER_RECORD)
158 ADD_BUTTON(ENTYPO_ICON_CONTROLLER_STOP)
159 ADD_BUTTON(ENTYPO_ICON_CONTROLLER_VOLUME)
160 ADD_BUTTON(ENTYPO_ICON_COPY)
161 ADD_BUTTON(ENTYPO_ICON_CREATIVE_CLOUD)
162 ADD_BUTTON(ENTYPO_ICON_CREATIVE_COMMONS)
163 ADD_BUTTON(ENTYPO_ICON_CREATIVE_COMMONS_ATTRIBUTION)
164 ADD_BUTTON(ENTYPO_ICON_CREATIVE_COMMONS_NODERIVS)
165 ADD_BUTTON(ENTYPO_ICON_CREATIVE_COMMONS_NONCOMMERCIAL_EU)
166 ADD_BUTTON(ENTYPO_ICON_CREATIVE_COMMONS_NONCOMMERCIAL_US)
167 ADD_BUTTON(ENTYPO_ICON_CREATIVE_COMMONS_PUBLIC_DOMAIN)
168 ADD_BUTTON(ENTYPO_ICON_CREATIVE_COMMONS_REMIX)
169 ADD_BUTTON(ENTYPO_ICON_CREATIVE_COMMONS_SHARE)
170 ADD_BUTTON(ENTYPO_ICON_CREATIVE_COMMONS_SHAREALIKE)
171 ADD_BUTTON(ENTYPO_ICON_CREDIT)
172 ADD_BUTTON(ENTYPO_ICON_CREDIT_CARD)
173 ADD_BUTTON(ENTYPO_ICON_CROP)
174 ADD_BUTTON(ENTYPO_ICON_CROSS)
175 ADD_BUTTON(ENTYPO_ICON_CUP)
176 ADD_BUTTON(ENTYPO_ICON_CW)
177 ADD_BUTTON(ENTYPO_ICON_CYCLE)
178 ADD_BUTTON(ENTYPO_ICON_DATABASE)
179 ADD_BUTTON(ENTYPO_ICON_DIAL_PAD)
180 ADD_BUTTON(ENTYPO_ICON_DIRECTION)
181 ADD_BUTTON(ENTYPO_ICON_DOCUMENT)
182 ADD_BUTTON(ENTYPO_ICON_DOCUMENT_LANDSCAPE)
183 ADD_BUTTON(ENTYPO_ICON_DOCUMENTS)
184 ADD_BUTTON(ENTYPO_ICON_DOT_SINGLE)
185 ADD_BUTTON(ENTYPO_ICON_DOTS_THREE_HORIZONTAL)
186 ADD_BUTTON(ENTYPO_ICON_DOTS_THREE_VERTICAL)
187 ADD_BUTTON(ENTYPO_ICON_DOTS_TWO_HORIZONTAL)
188 ADD_BUTTON(ENTYPO_ICON_DOTS_TWO_VERTICAL)
189 ADD_BUTTON(ENTYPO_ICON_DOWNLOAD)
190 ADD_BUTTON(ENTYPO_ICON_DRIBBBLE)
191 ADD_BUTTON(ENTYPO_ICON_DRIBBBLE_WITH_CIRCLE)
192 ADD_BUTTON(ENTYPO_ICON_DRINK)
193 ADD_BUTTON(ENTYPO_ICON_DRIVE)
194 ADD_BUTTON(ENTYPO_ICON_DROP)
195 ADD_BUTTON(ENTYPO_ICON_DROPBOX)
196 ADD_BUTTON(ENTYPO_ICON_EDIT)
197 ADD_BUTTON(ENTYPO_ICON_EMAIL)
198 ADD_BUTTON(ENTYPO_ICON_EMOJI_FLIRT)
199 ADD_BUTTON(ENTYPO_ICON_EMOJI_HAPPY)
200 ADD_BUTTON(ENTYPO_ICON_EMOJI_NEUTRAL)
201 ADD_BUTTON(ENTYPO_ICON_EMOJI_SAD)
202 ADD_BUTTON(ENTYPO_ICON_ERASE)
203 ADD_BUTTON(ENTYPO_ICON_ERASER)
204 ADD_BUTTON(ENTYPO_ICON_EVERNOTE)
205 ADD_BUTTON(ENTYPO_ICON_EXPORT)
206 ADD_BUTTON(ENTYPO_ICON_EYE)
207 ADD_BUTTON(ENTYPO_ICON_EYE_WITH_LINE)
208 ADD_BUTTON(ENTYPO_ICON_FACEBOOK)
209 ADD_BUTTON(ENTYPO_ICON_FACEBOOK_WITH_CIRCLE)
210 ADD_BUTTON(ENTYPO_ICON_FEATHER)
211 ADD_BUTTON(ENTYPO_ICON_FINGERPRINT)
212 ADD_BUTTON(ENTYPO_ICON_FLAG)
213 ADD_BUTTON(ENTYPO_ICON_FLASH)
214 ADD_BUTTON(ENTYPO_ICON_FLASHLIGHT)
215 ADD_BUTTON(ENTYPO_ICON_FLAT_BRUSH)
216 ADD_BUTTON(ENTYPO_ICON_FLATTR)
217 ADD_BUTTON(ENTYPO_ICON_FLICKR)
218 ADD_BUTTON(ENTYPO_ICON_FLICKR_WITH_CIRCLE)
219 ADD_BUTTON(ENTYPO_ICON_FLOW_BRANCH)
220 ADD_BUTTON(ENTYPO_ICON_FLOW_CASCADE)
221 ADD_BUTTON(ENTYPO_ICON_FLOW_LINE)
222 ADD_BUTTON(ENTYPO_ICON_FLOW_PARALLEL)
223 ADD_BUTTON(ENTYPO_ICON_FLOW_TREE)
224 ADD_BUTTON(ENTYPO_ICON_FLOWER)
225 ADD_BUTTON(ENTYPO_ICON_FOLDER)
226 ADD_BUTTON(ENTYPO_ICON_FOLDER_IMAGES)
227 ADD_BUTTON(ENTYPO_ICON_FOLDER_MUSIC)
228 ADD_BUTTON(ENTYPO_ICON_FOLDER_VIDEO)
229 ADD_BUTTON(ENTYPO_ICON_FORWARD)
230 ADD_BUTTON(ENTYPO_ICON_FOURSQUARE)
231 ADD_BUTTON(ENTYPO_ICON_FUNNEL)
232 ADD_BUTTON(ENTYPO_ICON_GAME_CONTROLLER)
233 ADD_BUTTON(ENTYPO_ICON_GAUGE)
234 ADD_BUTTON(ENTYPO_ICON_GITHUB)
235 ADD_BUTTON(ENTYPO_ICON_GITHUB_WITH_CIRCLE)
236 ADD_BUTTON(ENTYPO_ICON_GLOBE)
237 ADD_BUTTON(ENTYPO_ICON_GOOGLE_DRIVE)
238 ADD_BUTTON(ENTYPO_ICON_GOOGLE_HANGOUTS)
239 ADD_BUTTON(ENTYPO_ICON_GOOGLE_PLAY)
240 ADD_BUTTON(ENTYPO_ICON_GOOGLE_PLUS)
241 ADD_BUTTON(ENTYPO_ICON_GOOGLE_PLUS_WITH_CIRCLE)
242 ADD_BUTTON(ENTYPO_ICON_GRADUATION_CAP)
243 ADD_BUTTON(ENTYPO_ICON_GRID)
244 ADD_BUTTON(ENTYPO_ICON_GROOVESHARK)
245 ADD_BUTTON(ENTYPO_ICON_HAIR_CROSS)
246 ADD_BUTTON(ENTYPO_ICON_HAND)
247 ADD_BUTTON(ENTYPO_ICON_HEART)
248 ADD_BUTTON(ENTYPO_ICON_HEART_OUTLINED)
249 ADD_BUTTON(ENTYPO_ICON_HELP)
250 ADD_BUTTON(ENTYPO_ICON_HELP_WITH_CIRCLE)
251 ADD_BUTTON(ENTYPO_ICON_HOME)
252 ADD_BUTTON(ENTYPO_ICON_HOUR_GLASS)
253 ADD_BUTTON(ENTYPO_ICON_HOUZZ)
254 ADD_BUTTON(ENTYPO_ICON_ICLOUD)
255 ADD_BUTTON(ENTYPO_ICON_IMAGE)
256 ADD_BUTTON(ENTYPO_ICON_IMAGE_INVERTED)
257 ADD_BUTTON(ENTYPO_ICON_IMAGES)
258 ADD_BUTTON(ENTYPO_ICON_INBOX)
259 ADD_BUTTON(ENTYPO_ICON_INFINITY)
260 ADD_BUTTON(ENTYPO_ICON_INFO)
261 ADD_BUTTON(ENTYPO_ICON_INFO_WITH_CIRCLE)
262 ADD_BUTTON(ENTYPO_ICON_INSTAGRAM)
263 ADD_BUTTON(ENTYPO_ICON_INSTAGRAM_WITH_CIRCLE)
264 ADD_BUTTON(ENTYPO_ICON_INSTALL)
265 ADD_BUTTON(ENTYPO_ICON_KEY)
266 ADD_BUTTON(ENTYPO_ICON_KEYBOARD)
267 ADD_BUTTON(ENTYPO_ICON_LAB_FLASK)
268 ADD_BUTTON(ENTYPO_ICON_LANDLINE)
269 ADD_BUTTON(ENTYPO_ICON_LANGUAGE)
270 ADD_BUTTON(ENTYPO_ICON_LAPTOP)
271 ADD_BUTTON(ENTYPO_ICON_LASTFM)
272 ADD_BUTTON(ENTYPO_ICON_LASTFM_WITH_CIRCLE)
273 ADD_BUTTON(ENTYPO_ICON_LAYERS)
274 ADD_BUTTON(ENTYPO_ICON_LEAF)
275 ADD_BUTTON(ENTYPO_ICON_LEVEL_DOWN)
276 ADD_BUTTON(ENTYPO_ICON_LEVEL_UP)
277 ADD_BUTTON(ENTYPO_ICON_LIFEBUOY)
278 ADD_BUTTON(ENTYPO_ICON_LIGHT_BULB)
279 ADD_BUTTON(ENTYPO_ICON_LIGHT_DOWN)
280 ADD_BUTTON(ENTYPO_ICON_LIGHT_UP)
281 ADD_BUTTON(ENTYPO_ICON_LINE_GRAPH)
282 ADD_BUTTON(ENTYPO_ICON_LINK)
283 ADD_BUTTON(ENTYPO_ICON_LINKEDIN)
284 ADD_BUTTON(ENTYPO_ICON_LINKEDIN_WITH_CIRCLE)
285 ADD_BUTTON(ENTYPO_ICON_LIST)
286 ADD_BUTTON(ENTYPO_ICON_LOCATION)
287 ADD_BUTTON(ENTYPO_ICON_LOCATION_PIN)
288 ADD_BUTTON(ENTYPO_ICON_LOCK)
289 ADD_BUTTON(ENTYPO_ICON_LOCK_OPEN)
290 ADD_BUTTON(ENTYPO_ICON_LOG_OUT)
291 ADD_BUTTON(ENTYPO_ICON_LOGIN)
292 ADD_BUTTON(ENTYPO_ICON_LOOP)
293 ADD_BUTTON(ENTYPO_ICON_MAGNET)
294 ADD_BUTTON(ENTYPO_ICON_MAGNIFYING_GLASS)
295 ADD_BUTTON(ENTYPO_ICON_MAIL)
296 ADD_BUTTON(ENTYPO_ICON_MAIL_WITH_CIRCLE)
297 ADD_BUTTON(ENTYPO_ICON_MAN)
298 ADD_BUTTON(ENTYPO_ICON_MAP)
299 ADD_BUTTON(ENTYPO_ICON_MASK)
300 ADD_BUTTON(ENTYPO_ICON_MEDAL)
301 ADD_BUTTON(ENTYPO_ICON_MEDIUM)
302 ADD_BUTTON(ENTYPO_ICON_MEDIUM_WITH_CIRCLE)
303 ADD_BUTTON(ENTYPO_ICON_MEGAPHONE)
304 ADD_BUTTON(ENTYPO_ICON_MENU)
305 ADD_BUTTON(ENTYPO_ICON_MERGE)
306 ADD_BUTTON(ENTYPO_ICON_MESSAGE)
307 ADD_BUTTON(ENTYPO_ICON_MIC)
308 ADD_BUTTON(ENTYPO_ICON_MINUS)
309 ADD_BUTTON(ENTYPO_ICON_MIXI)
310 ADD_BUTTON(ENTYPO_ICON_MOBILE)
311 ADD_BUTTON(ENTYPO_ICON_MODERN_MIC)
312 ADD_BUTTON(ENTYPO_ICON_MOON)
313 ADD_BUTTON(ENTYPO_ICON_MOUSE)
314 ADD_BUTTON(ENTYPO_ICON_MOUSE_POINTER)
315 ADD_BUTTON(ENTYPO_ICON_MUSIC)
316 ADD_BUTTON(ENTYPO_ICON_NETWORK)
317 ADD_BUTTON(ENTYPO_ICON_NEW)
318 ADD_BUTTON(ENTYPO_ICON_NEW_MESSAGE)
319 ADD_BUTTON(ENTYPO_ICON_NEWS)
320 ADD_BUTTON(ENTYPO_ICON_NEWSLETTER)
321 ADD_BUTTON(ENTYPO_ICON_NOTE)
322 ADD_BUTTON(ENTYPO_ICON_NOTIFICATION)
323 ADD_BUTTON(ENTYPO_ICON_NOTIFICATIONS_OFF)
324 ADD_BUTTON(ENTYPO_ICON_OLD_MOBILE)
325 ADD_BUTTON(ENTYPO_ICON_OLD_PHONE)
326 ADD_BUTTON(ENTYPO_ICON_ONEDRIVE)
327 ADD_BUTTON(ENTYPO_ICON_OPEN_BOOK)
328 ADD_BUTTON(ENTYPO_ICON_PALETTE)
329 ADD_BUTTON(ENTYPO_ICON_PAPER_PLANE)
330 ADD_BUTTON(ENTYPO_ICON_PAYPAL)
331 ADD_BUTTON(ENTYPO_ICON_PENCIL)
332 ADD_BUTTON(ENTYPO_ICON_PHONE)
333 ADD_BUTTON(ENTYPO_ICON_PICASA)
334 ADD_BUTTON(ENTYPO_ICON_PIE_CHART)
335 ADD_BUTTON(ENTYPO_ICON_PIN)
336 ADD_BUTTON(ENTYPO_ICON_PINTEREST)
337 ADD_BUTTON(ENTYPO_ICON_PINTEREST_WITH_CIRCLE)
338 ADD_BUTTON(ENTYPO_ICON_PLUS)
339 ADD_BUTTON(ENTYPO_ICON_POPUP)
340 ADD_BUTTON(ENTYPO_ICON_POWER_PLUG)
341 ADD_BUTTON(ENTYPO_ICON_PRICE_RIBBON)
342 ADD_BUTTON(ENTYPO_ICON_PRICE_TAG)
343 ADD_BUTTON(ENTYPO_ICON_PRINT)
344 ADD_BUTTON(ENTYPO_ICON_PROGRESS_EMPTY)
345 ADD_BUTTON(ENTYPO_ICON_PROGRESS_FULL)
346 ADD_BUTTON(ENTYPO_ICON_PROGRESS_ONE)
347 ADD_BUTTON(ENTYPO_ICON_PROGRESS_TWO)
348 ADD_BUTTON(ENTYPO_ICON_PUBLISH)
349 ADD_BUTTON(ENTYPO_ICON_QQ)
350 ADD_BUTTON(ENTYPO_ICON_QQ_WITH_CIRCLE)
351 ADD_BUTTON(ENTYPO_ICON_QUOTE)
352 ADD_BUTTON(ENTYPO_ICON_RADIO)
353 ADD_BUTTON(ENTYPO_ICON_RAFT)
354 ADD_BUTTON(ENTYPO_ICON_RAFT_WITH_CIRCLE)
355 ADD_BUTTON(ENTYPO_ICON_RAINBOW)
356 ADD_BUTTON(ENTYPO_ICON_RDIO)
357 ADD_BUTTON(ENTYPO_ICON_RDIO_WITH_CIRCLE)
358 ADD_BUTTON(ENTYPO_ICON_REMOVE_USER)
359 ADD_BUTTON(ENTYPO_ICON_RENREN)
360 ADD_BUTTON(ENTYPO_ICON_REPLY)
361 ADD_BUTTON(ENTYPO_ICON_REPLY_ALL)
362 ADD_BUTTON(ENTYPO_ICON_RESIZE_100_PERCENT)
363 ADD_BUTTON(ENTYPO_ICON_RESIZE_FULL_SCREEN)
364 ADD_BUTTON(ENTYPO_ICON_RETWEET)
365 ADD_BUTTON(ENTYPO_ICON_ROCKET)
366 ADD_BUTTON(ENTYPO_ICON_ROUND_BRUSH)
367 ADD_BUTTON(ENTYPO_ICON_RSS)
368 ADD_BUTTON(ENTYPO_ICON_RULER)
369 ADD_BUTTON(ENTYPO_ICON_SAVE)
370 ADD_BUTTON(ENTYPO_ICON_SCISSORS)
371 ADD_BUTTON(ENTYPO_ICON_SCRIBD)
372 ADD_BUTTON(ENTYPO_ICON_SELECT_ARROWS)
373 ADD_BUTTON(ENTYPO_ICON_SHARE)
374 ADD_BUTTON(ENTYPO_ICON_SHARE_ALTERNATIVE)
375 ADD_BUTTON(ENTYPO_ICON_SHAREABLE)
376 ADD_BUTTON(ENTYPO_ICON_SHIELD)
377 ADD_BUTTON(ENTYPO_ICON_SHOP)
378 ADD_BUTTON(ENTYPO_ICON_SHOPPING_BAG)
379 ADD_BUTTON(ENTYPO_ICON_SHOPPING_BASKET)
380 ADD_BUTTON(ENTYPO_ICON_SHOPPING_CART)
381 ADD_BUTTON(ENTYPO_ICON_SHUFFLE)
382 ADD_BUTTON(ENTYPO_ICON_SIGNAL)
383 ADD_BUTTON(ENTYPO_ICON_SINA_WEIBO)
384 ADD_BUTTON(ENTYPO_ICON_SKYPE)
385 ADD_BUTTON(ENTYPO_ICON_SKYPE_WITH_CIRCLE)
386 ADD_BUTTON(ENTYPO_ICON_SLIDESHARE)
387 ADD_BUTTON(ENTYPO_ICON_SMASHING)
388 ADD_BUTTON(ENTYPO_ICON_SOUND)
389 ADD_BUTTON(ENTYPO_ICON_SOUND_MIX)
390 ADD_BUTTON(ENTYPO_ICON_SOUND_MUTE)
391 ADD_BUTTON(ENTYPO_ICON_SOUNDCLOUD)
392 ADD_BUTTON(ENTYPO_ICON_SPORTS_CLUB)
393 ADD_BUTTON(ENTYPO_ICON_SPOTIFY)
394 ADD_BUTTON(ENTYPO_ICON_SPOTIFY_WITH_CIRCLE)
395 ADD_BUTTON(ENTYPO_ICON_SPREADSHEET)
396 ADD_BUTTON(ENTYPO_ICON_SQUARED_CROSS)
397 ADD_BUTTON(ENTYPO_ICON_SQUARED_MINUS)
398 ADD_BUTTON(ENTYPO_ICON_SQUARED_PLUS)
399 ADD_BUTTON(ENTYPO_ICON_STAR)
400 ADD_BUTTON(ENTYPO_ICON_STAR_OUTLINED)
401 ADD_BUTTON(ENTYPO_ICON_STOPWATCH)
402 ADD_BUTTON(ENTYPO_ICON_STUMBLEUPON)
403 ADD_BUTTON(ENTYPO_ICON_STUMBLEUPON_WITH_CIRCLE)
404 ADD_BUTTON(ENTYPO_ICON_SUITCASE)
405 ADD_BUTTON(ENTYPO_ICON_SWAP)
406 ADD_BUTTON(ENTYPO_ICON_SWARM)
407 ADD_BUTTON(ENTYPO_ICON_SWEDEN)
408 ADD_BUTTON(ENTYPO_ICON_SWITCH)
409 ADD_BUTTON(ENTYPO_ICON_TABLET)
410 ADD_BUTTON(ENTYPO_ICON_TABLET_MOBILE_COMBO)
411 ADD_BUTTON(ENTYPO_ICON_TAG)
412 ADD_BUTTON(ENTYPO_ICON_TEXT)
413 ADD_BUTTON(ENTYPO_ICON_TEXT_DOCUMENT)
414 ADD_BUTTON(ENTYPO_ICON_TEXT_DOCUMENT_INVERTED)
415 ADD_BUTTON(ENTYPO_ICON_THERMOMETER)
416 ADD_BUTTON(ENTYPO_ICON_THUMBS_DOWN)
417 ADD_BUTTON(ENTYPO_ICON_THUMBS_UP)
418 ADD_BUTTON(ENTYPO_ICON_THUNDER_CLOUD)
419 ADD_BUTTON(ENTYPO_ICON_TICKET)
420 ADD_BUTTON(ENTYPO_ICON_TIME_SLOT)
421 ADD_BUTTON(ENTYPO_ICON_TOOLS)
422 ADD_BUTTON(ENTYPO_ICON_TRAFFIC_CONE)
423 ADD_BUTTON(ENTYPO_ICON_TRASH)
424 ADD_BUTTON(ENTYPO_ICON_TREE)
425 ADD_BUTTON(ENTYPO_ICON_TRIANGLE_DOWN)
426 ADD_BUTTON(ENTYPO_ICON_TRIANGLE_LEFT)
427 ADD_BUTTON(ENTYPO_ICON_TRIANGLE_RIGHT)
428 ADD_BUTTON(ENTYPO_ICON_TRIANGLE_UP)
429 ADD_BUTTON(ENTYPO_ICON_TRIPADVISOR)
430 ADD_BUTTON(ENTYPO_ICON_TROPHY)
431 ADD_BUTTON(ENTYPO_ICON_TUMBLR)
432 ADD_BUTTON(ENTYPO_ICON_TUMBLR_WITH_CIRCLE)
433 ADD_BUTTON(ENTYPO_ICON_TV)
434 ADD_BUTTON(ENTYPO_ICON_TWITTER)
435 ADD_BUTTON(ENTYPO_ICON_TWITTER_WITH_CIRCLE)
436 ADD_BUTTON(ENTYPO_ICON_TYPING)
437 ADD_BUTTON(ENTYPO_ICON_UNINSTALL)
438 ADD_BUTTON(ENTYPO_ICON_UNREAD)
439 ADD_BUTTON(ENTYPO_ICON_UNTAG)
440 ADD_BUTTON(ENTYPO_ICON_UPLOAD)
441 ADD_BUTTON(ENTYPO_ICON_UPLOAD_TO_CLOUD)
442 ADD_BUTTON(ENTYPO_ICON_USER)
443 ADD_BUTTON(ENTYPO_ICON_USERS)
444 ADD_BUTTON(ENTYPO_ICON_V_CARD)
445 ADD_BUTTON(ENTYPO_ICON_VIDEO)
446 ADD_BUTTON(ENTYPO_ICON_VIDEO_CAMERA)
447 ADD_BUTTON(ENTYPO_ICON_VIMEO)
448 ADD_BUTTON(ENTYPO_ICON_VIMEO_WITH_CIRCLE)
449 ADD_BUTTON(ENTYPO_ICON_VINE)
450 ADD_BUTTON(ENTYPO_ICON_VINE_WITH_CIRCLE)
451 ADD_BUTTON(ENTYPO_ICON_VINYL)
452 ADD_BUTTON(ENTYPO_ICON_VK)
453 ADD_BUTTON(ENTYPO_ICON_VK_ALTERNITIVE)
454 ADD_BUTTON(ENTYPO_ICON_VK_WITH_CIRCLE)
455 ADD_BUTTON(ENTYPO_ICON_VOICEMAIL)
456 ADD_BUTTON(ENTYPO_ICON_WALLET)
457 ADD_BUTTON(ENTYPO_ICON_WARNING)
458 ADD_BUTTON(ENTYPO_ICON_WATER)
459 ADD_BUTTON(ENTYPO_ICON_WINDOWS_STORE)
460 ADD_BUTTON(ENTYPO_ICON_XING)
461 ADD_BUTTON(ENTYPO_ICON_XING_WITH_CIRCLE)
462 ADD_BUTTON(ENTYPO_ICON_YELP)
463 ADD_BUTTON(ENTYPO_ICON_YOUKO)
464 ADD_BUTTON(ENTYPO_ICON_YOUKO_WITH_CIRCLE)
465 ADD_BUTTON(ENTYPO_ICON_YOUTUBE)
466 ADD_BUTTON(ENTYPO_ICON_YOUTUBE_WITH_CIRCLE)
467 ////////////////////////////////////////////////////////////////////////
468 ////////////////////////////////////////////////////////////////////////
469 ////////////////////////////////////////////////////////////////////////
470
471 screen->performLayout();
472 screen->setVisible(true);
473
474 nanogui::mainloop();
475 }
476
477 nanogui::shutdown();
478 return 0;
479}
480