mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-04-10 19:15:13 +00:00
30 lines
812 B
C
30 lines
812 B
C
![]() |
#pragma once
|
||
|
|
||
|
#include "views/gamelist/ISimpleGameListView.h"
|
||
|
#include "components/ImageGridComponent.h"
|
||
|
#include "components/ImageComponent.h"
|
||
|
#include <stack>
|
||
|
|
||
|
class GridGameListView : public ISimpleGameListView
|
||
|
{
|
||
|
public:
|
||
|
GridGameListView(Window* window, FileData* root);
|
||
|
|
||
|
//virtual void onThemeChanged(const std::shared_ptr<ThemeData>& theme) override;
|
||
|
|
||
|
virtual FileData* getCursor() override;
|
||
|
virtual void setCursor(FileData*) override;
|
||
|
|
||
|
virtual bool input(InputConfig* config, Input input) override;
|
||
|
|
||
|
virtual const char* getName() const override { return "grid"; }
|
||
|
|
||
|
virtual std::vector<HelpPrompt> getHelpPrompts() override;
|
||
|
|
||
|
protected:
|
||
|
virtual void populateList(const std::vector<FileData*>& files) override;
|
||
|
virtual void launch(FileData* game) override;
|
||
|
|
||
|
ImageGridComponent<FileData*> mGrid;
|
||
|
};
|