diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-03-10 11:48:17 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-03-10 11:48:17 +0200 |
commit | d36529d053f7e4f2915e51e7cfbf01aa1c80adf9 (patch) | |
tree | f8e9307eb5836f62a34cf9137039bfbd774e2dac /src/ui/labelwidget.h | |
parent | e4e0a543c5c0e838828b88458dbe31ece3901397 (diff) |
Mobile: Working on the phone preferences
Diffstat (limited to 'src/ui/labelwidget.h')
-rw-r--r-- | src/ui/labelwidget.h | 7 |
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 *); | |||
51 | iLabelWidget *newKeyMods_LabelWidget(const char *label, int key, int kmods, const char *command); | 51 | iLabelWidget *newKeyMods_LabelWidget(const char *label, int key, int kmods, const char *command); |
52 | iLabelWidget *newColor_LabelWidget (const char *text, int color); | 52 | iLabelWidget *newColor_LabelWidget (const char *text, int color); |
53 | 53 | ||
54 | iLocalDef 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 | |||
54 | iLocalDef iLabelWidget *newEmpty_LabelWidget(void) { | 61 | iLocalDef iLabelWidget *newEmpty_LabelWidget(void) { |
55 | return new_LabelWidget("", NULL); | 62 | return new_LabelWidget("", NULL); |
56 | } | 63 | } |