Support open in notepad from fileman (#1052)

* Support open in notepad from fileman
* Align Filename Exit button with UI
This commit is contained in:
Kyle Reed 2023-05-22 21:40:03 -07:00 committed by GitHub
parent 1cb682473a
commit c2314f4838
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 52 additions and 12 deletions

View file

@ -121,7 +121,7 @@ class FileManBaseView : public View {
""};
Button button_exit{
{21 * 8, 34 * 8, 9 * 8, 32},
{22 * 8, 34 * 8, 9 * 8, 32},
"Exit"};
};
@ -264,6 +264,12 @@ class FileManagerView : public FileManBaseView {
{},
&bitmap_icon_new_file,
Color::green()};
NewButton button_open_notepad{
{0 * 8, 34 * 8, 4 * 8, 32},
{},
&bitmap_icon_notepad,
Color::orange()};
};
} /* namespace ui */