summaryrefslogtreecommitdiff
path: root/src/ui/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/util.c')
-rw-r--r--src/ui/util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/util.c b/src/ui/util.c
index f430ac1c..e410ded1 100644
--- a/src/ui/util.c
+++ b/src/ui/util.c
@@ -1902,14 +1902,14 @@ static void addRadioButton_(iWidget *parent, const char *id, const char *label,
1902 1902
1903static void addFontButtons_(iWidget *parent, const char *id) { 1903static void addFontButtons_(iWidget *parent, const char *id) {
1904 const char *fontNames[] = { 1904 const char *fontNames[] = {
1905 "Nunito", "Fira Sans", "Literata", "Tinos", "Source Sans Pro", "Iosevka" 1905 "Nunito", "Fira Sans", "Literata", "Tinos", "Source Sans 3", "Iosevka"
1906 }; 1906 };
1907 iArray *items = new_Array(sizeof(iMenuItem)); 1907 iArray *items = new_Array(sizeof(iMenuItem));
1908 iForIndices(i, fontNames) { 1908 iForIndices(i, fontNames) {
1909 pushBack_Array(items, 1909 pushBack_Array(items,
1910 &(iMenuItem){ fontNames[i], 0, 0, format_CStr("!%s.set arg:%d", id, i) }); 1910 &(iMenuItem){ fontNames[i], 0, 0, format_CStr("!%s.set arg:%d", id, i) });
1911 } 1911 }
1912 iLabelWidget *button = makeMenuButton_LabelWidget("Source Sans Pro", data_Array(items), size_Array(items)); 1912 iLabelWidget *button = makeMenuButton_LabelWidget("Source Sans 3", data_Array(items), size_Array(items));
1913 setBackgroundColor_Widget(findChild_Widget(as_Widget(button), "menu"), uiBackgroundMenu_ColorId); 1913 setBackgroundColor_Widget(findChild_Widget(as_Widget(button), "menu"), uiBackgroundMenu_ColorId);
1914 setId_Widget(as_Widget(button), format_CStr("prefs.%s", id)); 1914 setId_Widget(as_Widget(button), format_CStr("prefs.%s", id));
1915 addChildFlags_Widget(parent, iClob(button), alignLeft_WidgetFlag); 1915 addChildFlags_Widget(parent, iClob(button), alignLeft_WidgetFlag);