diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-08-02 19:13:04 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-08-02 19:13:04 +0300 |
commit | 179a8f700f0e4432e273372365ba0187961d4f21 (patch) | |
tree | 6310ddd05faf023e475086ab88d05b710c43fc96 /src/ui | |
parent | 89e11130e0af438564e32eee6b97f31087eb4849 (diff) |
Cleanup
Diffstat (limited to 'src/ui')
-rw-r--r-- | src/ui/labelwidget.h | 2 | ||||
-rw-r--r-- | src/ui/window.c | 4 |
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 @@ | |||
7 | iDeclareWidgetClass(LabelWidget) | 7 | iDeclareWidgetClass(LabelWidget) |
8 | iDeclareObjectConstructionArgs(LabelWidget, const char *label, int key, int kmods, const char *command) | 8 | iDeclareObjectConstructionArgs(LabelWidget, const char *label, int key, int kmods, const char *command) |
9 | 9 | ||
10 | void setAlignVisually_LabelWidget(iLabelWidget *, iBool alignVisual); | ||
10 | void setFont_LabelWidget (iLabelWidget *, int fontId); | 11 | void setFont_LabelWidget (iLabelWidget *, int fontId); |
11 | void setText_LabelWidget (iLabelWidget *, const iString *text); /* resizes widget */ | 12 | void setText_LabelWidget (iLabelWidget *, const iString *text); /* resizes widget */ |
12 | void setTextCStr_LabelWidget (iLabelWidget *, const char *text); | 13 | void setTextCStr_LabelWidget (iLabelWidget *, const char *text); |
13 | void setAlignVisually_LabelWidget(iLabelWidget *, iBool alignVisual); | ||
14 | 14 | ||
15 | void updateSize_LabelWidget (iLabelWidget *); | 15 | void updateSize_LabelWidget (iLabelWidget *); |
16 | void updateText_LabelWidget (iLabelWidget *, const iString *text); /* not resized */ | 16 | void 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")), |