Skip to content

Commit

Permalink
Darken FileMan button colors for visibility (#2010)
Browse files Browse the repository at this point in the history
  • Loading branch information
NotherNgineer committed Mar 19, 2024
1 parent c1bf262 commit c5f73cf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion firmware/application/apps/ui_fileman.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -694,7 +694,7 @@ FileManagerView::FileManagerView(

button_show_hidden_files.on_select = [this]() {
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();
};
}
Expand Down
10 changes: 5 additions & 5 deletions firmware/application/apps/ui_fileman.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -261,34 +261,34 @@ class FileManagerView : public FileManBaseView {
{22 * 8, 29 * 8, 4 * 8, 32},
{},
&bitmap_icon_new_dir,
Color::green()};
Color::dark_green()};

NewButton button_new_file{
{26 * 8, 29 * 8, 4 * 8, 32},
{},
&bitmap_icon_new_file,
Color::green()};
Color::dark_green()};

NewButton button_open_notepad{
{0 * 8, 34 * 8, 4 * 8, 32},
{},
&bitmap_icon_notepad,
Color::orange()};
Color::dark_orange()};

NewButton button_rename_timestamp{

{4 * 8, 29 * 8, 4 * 8, 32},
{},
&bitmap_icon_options_datetime,
Color::orange(),
Color::dark_blue(),
/*vcenter*/ true};

NewButton button_open_iq_trim{

{4 * 8, 34 * 8, 4 * 8, 32},
{},
&bitmap_icon_trim,
Color::orange()};
Color::dark_orange()};

NewButton button_show_hidden_files{
{17 * 8, 34 * 8, 4 * 8, 32},
Expand Down

0 comments on commit c5f73cf

Please sign in to comment.