summaryrefslogtreecommitdiff
path: root/src/ui
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/window.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/ui/window.c b/src/ui/window.c
index 59d6a11a..2661fd3f 100644
--- a/src/ui/window.c
+++ b/src/ui/window.c
@@ -215,7 +215,11 @@ static void setupUserInterface_Window(iWindow *d) {
215 addChild_Widget(navBar, iClob(newIcon_LabelWidget(reloadCStr_, 0, 0, "navigate.reload"))), 215 addChild_Widget(navBar, iClob(newIcon_LabelWidget(reloadCStr_, 0, 0, "navigate.reload"))),
216 "reload"); 216 "reload");
217 addChild_Widget(navBar, iClob(newIcon_LabelWidget("\U0001f464", 0, 0, "cert.client"))); 217 addChild_Widget(navBar, iClob(newIcon_LabelWidget("\U0001f464", 0, 0, "cert.client")));
218 addChild_Widget(navBar, iClob(newIcon_LabelWidget("\U0001d362", 0, 0, "navbar.menu"))); 218
219 iLabelWidget *fileMenu =
220 makeMenuButton_LabelWidget("\U0001d362", fileMenuItems, iElemCount(fileMenuItems));
221 setAlignVisually_LabelWidget(fileMenu, iTrue);
222 addChild_Widget(navBar, iClob(fileMenu));
219 } 223 }
220 224
221 /* Tab bar. */ { 225 /* Tab bar. */ {
@@ -445,9 +449,8 @@ void init_Window(iWindow *d) {
445#endif 449#endif
446#if defined (iPlatformLinux) 450#if defined (iPlatformLinux)
447 /* Load the window icon. */ { 451 /* Load the window icon. */ {
448#if 0
449 int w, h, num; 452 int w, h, num;
450 const iBlock *icon = &imageAppicon64_Embedded; 453 const iBlock *icon = &imageLagrange64_Embedded;
451 stbi_uc *pixels = stbi_load_from_memory(constData_Block(icon), 454 stbi_uc *pixels = stbi_load_from_memory(constData_Block(icon),
452 size_Block(icon), 455 size_Block(icon),
453 &w, 456 &w,
@@ -459,7 +462,6 @@ void init_Window(iWindow *d) {
459 SDL_SetWindowIcon(d->win, surf); 462 SDL_SetWindowIcon(d->win, surf);
460 SDL_FreeSurface(surf); 463 SDL_FreeSurface(surf);
461 stbi_image_free(pixels); 464 stbi_image_free(pixels);
462#endif
463 } 465 }
464#endif 466#endif
465 d->root = new_Widget(); 467 d->root = new_Widget();