diff options
| author | Aldrik Ramaekers <aldrik.ramaekers@protonmail.com> | 2020-02-12 12:22:24 +0100 |
|---|---|---|
| committer | Aldrik Ramaekers <aldrik.ramaekers@protonmail.com> | 2020-02-12 12:22:24 +0100 |
| commit | 99a426591c592d7a9b29c2941526347b5dc48872 (patch) | |
| tree | e404c2b0584e8ac8199a8d07580155d859ce3a38 | |
| parent | 0fe38e736a5ca90bb957f03f14f652eab72698c5 (diff) | |
settings page work
| -rw-r--r-- | data/translations/en-English.mo | bin | 1806 -> 1869 bytes | |||
| -rw-r--r-- | data/translations/nl-Dutch.mo | bin | 1886 -> 1958 bytes | |||
| m--------- | src/project-base | 0 | ||||
| -rw-r--r-- | src/settings.c | 17 |
4 files changed, 3 insertions, 14 deletions
diff --git a/data/translations/en-English.mo b/data/translations/en-English.mo Binary files differindex 402d0e7..e56e0da 100644 --- a/data/translations/en-English.mo +++ b/data/translations/en-English.mo diff --git a/data/translations/nl-Dutch.mo b/data/translations/nl-Dutch.mo Binary files differindex 3c7e857..20c54fc 100644 --- a/data/translations/nl-Dutch.mo +++ b/data/translations/nl-Dutch.mo diff --git a/src/project-base b/src/project-base -Subproject 7240eec58cc28e0340274caf565889a1929ffeb +Subproject 96eb719df8a84c7892121aee9e684a64eae2e4d diff --git a/src/settings.c b/src/settings.c index 147718c..3dd16b3 100644 --- a/src/settings.c +++ b/src/settings.c @@ -93,26 +93,15 @@ void settings_page_update_render() } ui_block_end(); -#if 0 ui_block_begin(LAYOUT_HORIZONTAL); { - ui_push_text("Style"); - } - ui_block_end(); - - ui_block_begin(LAYOUT_HORIZONTAL); - { - if (ui_push_color_button("Light", global_ui_context.style.id == UI_STYLE_LIGHT, rgb(250, 250, 250))) - { - ui_set_style(UI_STYLE_LIGHT); - } - if (ui_push_color_button("Dark", global_ui_context.style.id == UI_STYLE_DARK, rgb(50, 50, 50))) + if (ui_push_hypertext_link(localize("copy_config_path"))) { - ui_set_style(UI_STYLE_DARK); + char buffer[PATH_MAX]; + platform_set_clipboard(main_window, get_config_save_location(buffer)); } } ui_block_end(); -#endif } global_ui_context.layout.offset_y = global_settings_page.window.height - 33; |
