mirror of
https://github.com/LNH-team/pico-launcher.git
synced 2026-06-02 09:06:54 +02:00
Add ability to set the position of the top screen cover image in custom themes
This commit is contained in:
@@ -7,12 +7,12 @@
|
||||
#include "romBrowser/views/CoverFlowRecyclerView.h"
|
||||
#include "romBrowser/viewModels/RomBrowserViewModel.h"
|
||||
#include "romBrowser/DisplayMode/CoverFlowFileRecyclerAdapter.h"
|
||||
#include "themes/custom/CustomThemeInfo.h"
|
||||
|
||||
class MaterialColorScheme;
|
||||
class ITheme;
|
||||
class VramContext;
|
||||
class IFontRepository;
|
||||
class CustomThemeInfo;
|
||||
|
||||
class CustomRomBrowserViewFactory : public IRomBrowserViewFactory
|
||||
{
|
||||
@@ -65,6 +65,11 @@ public:
|
||||
themeFileIconFactory, this, vblankTextureLoader, &viewModel->GetCoverRepository());
|
||||
}
|
||||
|
||||
Point GetTopCoverPosition() const override
|
||||
{
|
||||
return _customThemeInfo->topCoverInfo.GetPosition();
|
||||
}
|
||||
|
||||
void LoadResources(const ITheme& theme, const VramContext& mainVramContext);
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user