Darken FileMan button colors for visibility (#2010)

This commit is contained in:
Mark Thompson 2024-03-18 23:56:23 -05:00 committed by GitHub
parent c1bf2620c7
commit c5f73cf8f4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 6 deletions

View file

@ -694,7 +694,7 @@ FileManagerView::FileManagerView(
button_show_hidden_files.on_select = [this]() { button_show_hidden_files.on_select = [this]() {
show_hidden_files = !show_hidden_files; show_hidden_files = !show_hidden_files;
button_show_hidden_files.set_color(show_hidden_files ? Color::green() : Color::dark_grey()); button_show_hidden_files.set_color(show_hidden_files ? Color::dark_green() : Color::dark_grey());
reload_current(); reload_current();
}; };
} }

View file

@ -261,26 +261,26 @@ class FileManagerView : public FileManBaseView {
{22 * 8, 29 * 8, 4 * 8, 32}, {22 * 8, 29 * 8, 4 * 8, 32},
{}, {},
&bitmap_icon_new_dir, &bitmap_icon_new_dir,
Color::green()}; Color::dark_green()};
NewButton button_new_file{ NewButton button_new_file{
{26 * 8, 29 * 8, 4 * 8, 32}, {26 * 8, 29 * 8, 4 * 8, 32},
{}, {},
&bitmap_icon_new_file, &bitmap_icon_new_file,
Color::green()}; Color::dark_green()};
NewButton button_open_notepad{ NewButton button_open_notepad{
{0 * 8, 34 * 8, 4 * 8, 32}, {0 * 8, 34 * 8, 4 * 8, 32},
{}, {},
&bitmap_icon_notepad, &bitmap_icon_notepad,
Color::orange()}; Color::dark_orange()};
NewButton button_rename_timestamp{ NewButton button_rename_timestamp{
{4 * 8, 29 * 8, 4 * 8, 32}, {4 * 8, 29 * 8, 4 * 8, 32},
{}, {},
&bitmap_icon_options_datetime, &bitmap_icon_options_datetime,
Color::orange(), Color::dark_blue(),
/*vcenter*/ true}; /*vcenter*/ true};
NewButton button_open_iq_trim{ NewButton button_open_iq_trim{
@ -288,7 +288,7 @@ class FileManagerView : public FileManBaseView {
{4 * 8, 34 * 8, 4 * 8, 32}, {4 * 8, 34 * 8, 4 * 8, 32},
{}, {},
&bitmap_icon_trim, &bitmap_icon_trim,
Color::orange()}; Color::dark_orange()};
NewButton button_show_hidden_files{ NewButton button_show_hidden_files{
{17 * 8, 34 * 8, 4 * 8, 32}, {17 * 8, 34 * 8, 4 * 8, 32},