Restore home menu order (#2384)

* Fix ext notice position ( No need to alter the position of the ext app notice, as there is no back button on the home screen )
* add desired position to external apps
* read and store desired location
* apply ext apps desired order
* fix memory alignment in application_information_t
This commit is contained in:
E.T. 2024-11-23 21:37:03 +01:00 committed by GitHub
parent e6a099913a
commit 69271632ae
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
38 changed files with 130 additions and 56 deletions

View file

@ -55,7 +55,11 @@ class DynamicBitmap {
class ExternalItemsMenuLoader {
public:
static std::vector<GridItem> load_external_items(app_location_t, NavigationView&);
struct GridItemEx : GridItem {
int32_t desired_position;
};
static std::vector<GridItemEx> load_external_items(app_location_t, NavigationView&);
ExternalItemsMenuLoader() = delete;
static bool run_external_app(ui::NavigationView&, std::filesystem::path);
static bool run_standalone_app(ui::NavigationView&, std::filesystem::path);