diff options
Diffstat (limited to 'src/settings.c')
| -rw-r--r-- | src/settings.c | 17 |
1 files changed, 3 insertions, 14 deletions
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; |
