summaryrefslogtreecommitdiff
path: root/src/ui
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2020-08-02 19:13:04 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2020-08-02 19:13:04 +0300
commit179a8f700f0e4432e273372365ba0187961d4f21 (patch)
tree6310ddd05faf023e475086ab88d05b710c43fc96 /src/ui
parent89e11130e0af438564e32eee6b97f31087eb4849 (diff)
Cleanup
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/labelwidget.h2
-rw-r--r--src/ui/window.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/ui/labelwidget.h b/src/ui/labelwidget.h
index aee853a5..aaa897c9 100644
--- a/src/ui/labelwidget.h
+++ b/src/ui/labelwidget.h
@@ -7,10 +7,10 @@
7iDeclareWidgetClass(LabelWidget) 7iDeclareWidgetClass(LabelWidget)
8iDeclareObjectConstructionArgs(LabelWidget, const char *label, int key, int kmods, const char *command) 8iDeclareObjectConstructionArgs(LabelWidget, const char *label, int key, int kmods, const char *command)
9 9
10void setAlignVisually_LabelWidget(iLabelWidget *, iBool alignVisual);
10void setFont_LabelWidget (iLabelWidget *, int fontId); 11void setFont_LabelWidget (iLabelWidget *, int fontId);
11void setText_LabelWidget (iLabelWidget *, const iString *text); /* resizes widget */ 12void setText_LabelWidget (iLabelWidget *, const iString *text); /* resizes widget */
12void setTextCStr_LabelWidget (iLabelWidget *, const char *text); 13void setTextCStr_LabelWidget (iLabelWidget *, const char *text);
13void setAlignVisually_LabelWidget(iLabelWidget *, iBool alignVisual);
14 14
15void updateSize_LabelWidget (iLabelWidget *); 15void updateSize_LabelWidget (iLabelWidget *);
16void updateText_LabelWidget (iLabelWidget *, const iString *text); /* not resized */ 16void updateText_LabelWidget (iLabelWidget *, const iString *text); /* not resized */
diff --git a/src/ui/window.c b/src/ui/window.c
index add9d420..be84b6c2 100644
--- a/src/ui/window.c
+++ b/src/ui/window.c
@@ -197,8 +197,8 @@ static void setupUserInterface_Window(iWindow *d) {
197 addChild_Widget(div, iClob(navBar)); 197 addChild_Widget(div, iClob(navBar));
198 setBackgroundColor_Widget(navBar, gray25_ColorId); 198 setBackgroundColor_Widget(navBar, gray25_ColorId);
199 setCommandHandler_Widget(navBar, handleNavBarCommands_); 199 setCommandHandler_Widget(navBar, handleNavBarCommands_);
200 addChild_Widget(navBar, iClob(newIcon_LabelWidget(" \U0001f860 ", 0, 0, "navigate.back"))); 200 addChild_Widget(navBar, iClob(newIcon_LabelWidget(" \U0001f850 ", 0, 0, "navigate.back")));
201 addChild_Widget(navBar, iClob(newIcon_LabelWidget("\U0001f862", 0, 0, "navigate.forward"))); 201 addChild_Widget(navBar, iClob(newIcon_LabelWidget("\U0001f852", 0, 0, "navigate.forward")));
202 addChild_Widget(navBar, iClob(newIcon_LabelWidget("\U0001f3e0", 0, 0, "navigate.home"))); 202 addChild_Widget(navBar, iClob(newIcon_LabelWidget("\U0001f3e0", 0, 0, "navigate.home")));
203 iLabelWidget *lock = addChildFlags_Widget(navBar, 203 iLabelWidget *lock = addChildFlags_Widget(navBar,
204 iClob(newIcon_LabelWidget("\U0001f512", 0, 0, "cert.server")), 204 iClob(newIcon_LabelWidget("\U0001f512", 0, 0, "cert.server")),