summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2020-10-24 19:43:50 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2020-10-24 19:43:50 +0300
commitd0f44017459b148257f631826c4c9aa62d5d9d6f (patch)
treef042ff6eb2103ed40c40a12f3b54802f90ec9d1b /src
parent6ec80b3548bd73da51338240b004ac42309bc2b4 (diff)
Updated Help: color themes
Diffstat (limited to 'src')
-rw-r--r--src/ui/util.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/ui/util.c b/src/ui/util.c
index 603b3213..16dea8d9 100644
--- a/src/ui/util.c
+++ b/src/ui/util.c
@@ -1010,8 +1010,8 @@ iWidget *makePreferences_Widget(void) {
1010 { "Colorful Light", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, colorfulLight_GmDocumentTheme) }, 1010 { "Colorful Light", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, colorfulLight_GmDocumentTheme) },
1011 { "Black", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, black_GmDocumentTheme) }, 1011 { "Black", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, black_GmDocumentTheme) },
1012 { "Gray", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, gray_GmDocumentTheme) }, 1012 { "Gray", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, gray_GmDocumentTheme) },
1013 { "Sepia", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, sepia_GmDocumentTheme) },
1014 { "White", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, white_GmDocumentTheme) }, 1013 { "White", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, white_GmDocumentTheme) },
1014 { "Sepia", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, sepia_GmDocumentTheme) },
1015 { "High Contrast", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, highContrast_GmDocumentTheme) }, 1015 { "High Contrast", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, highContrast_GmDocumentTheme) },
1016 }; 1016 };
1017 addChild_Widget(headings, iClob(makeHeading_Widget(isDark ? "Dark theme:" : "Light theme:"))); 1017 addChild_Widget(headings, iClob(makeHeading_Widget(isDark ? "Dark theme:" : "Light theme:")));
@@ -1020,9 +1020,6 @@ iWidget *makePreferences_Widget(void) {
1020 themes[0].label, themes, iElemCount(themes)))), 1020 themes[0].label, themes, iElemCount(themes)))),
1021 format_CStr("prefs.doctheme.%s", mode)); 1021 format_CStr("prefs.doctheme.%s", mode));
1022 } 1022 }
1023 //addChild_Widget(values, iClob(new_LabelWidget("Colorful", 0, 0, 0)));
1024// addChild_Widget(headings, iClob(makeHeading_Widget("Light theme:")));
1025// addChild_Widget(values, iClob(new_LabelWidget("White", 0, 0, 0)));
1026 addChild_Widget(headings, iClob(makeHeading_Widget("Saturation:"))); 1023 addChild_Widget(headings, iClob(makeHeading_Widget("Saturation:")));
1027 iWidget *sats = new_Widget(); 1024 iWidget *sats = new_Widget();
1028 /* Saturation levels. */ { 1025 /* Saturation levels. */ {