summaryrefslogtreecommitdiff
path: root/src/ui/labelwidget.h
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-03-10 11:48:17 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-03-10 11:48:17 +0200
commitd36529d053f7e4f2915e51e7cfbf01aa1c80adf9 (patch)
treef8e9307eb5836f62a34cf9137039bfbd774e2dac /src/ui/labelwidget.h
parente4e0a543c5c0e838828b88458dbe31ece3901397 (diff)
Mobile: Working on the phone preferences
Diffstat (limited to 'src/ui/labelwidget.h')
-rw-r--r--src/ui/labelwidget.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/ui/labelwidget.h b/src/ui/labelwidget.h
index 7a1d4de8..3e3c76fb 100644
--- a/src/ui/labelwidget.h
+++ b/src/ui/labelwidget.h
@@ -51,6 +51,13 @@ iChar icon_LabelWidget (const iLabelWidget *);
51iLabelWidget *newKeyMods_LabelWidget(const char *label, int key, int kmods, const char *command); 51iLabelWidget *newKeyMods_LabelWidget(const char *label, int key, int kmods, const char *command);
52iLabelWidget *newColor_LabelWidget (const char *text, int color); 52iLabelWidget *newColor_LabelWidget (const char *text, int color);
53 53
54iLocalDef iLabelWidget *newFont_LabelWidget(const char *label, const char *command, int fontId) {
55 iLabelWidget *d = new_LabelWidget(label, command);
56 checkIcon_LabelWidget(d);
57 setFont_LabelWidget(d, fontId);
58 return d;
59}
60
54iLocalDef iLabelWidget *newEmpty_LabelWidget(void) { 61iLocalDef iLabelWidget *newEmpty_LabelWidget(void) {
55 return new_LabelWidget("", NULL); 62 return new_LabelWidget("", NULL);
56} 63}