Added new "App Setting" app (#1759)

* New "App Settings" app for quicker settings access
This commit is contained in:
Mark Thompson 2024-01-12 06:41:13 -06:00 committed by GitHub
parent 1676702a09
commit 58b488b840
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 47 additions and 0 deletions

View file

@ -564,6 +564,23 @@ class SetPersistentMemoryView : public View {
};
};
class AppSettingsView : public View {
public:
AppSettingsView(NavigationView& nav);
std::string title() const override { return "App Settings"; };
void focus() override;
private:
NavigationView& nav_;
Labels labels{
{{0, 4}, "Select file to edit:", Color::white()}};
MenuView menu_view{
{0, 2 * 8, 240, 26 * 8},
true};
};
class SettingsMenuView : public BtnGridView {
public:
SettingsMenuView(NavigationView& nav);