mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-24 15:15:38 +00:00
59d7516a16
- Final changes for VLC screensaver support as well - ALSA de-init/re-init only when needed - Adding screensaver options menu inside UI settings - Slightly moved options (Show Frameskip to "Other Settings", sorting within same menu) - Adding info popups on random video screensaver and OMX + Game Info setting
30 lines
880 B
C++
30 lines
880 B
C++
#pragma once
|
|
|
|
#include "views/gamelist/ISimpleGameListView.h"
|
|
#include "components/TextListComponent.h"
|
|
|
|
class BasicGameListView : public ISimpleGameListView
|
|
{
|
|
public:
|
|
BasicGameListView(Window* window, FileData* root);
|
|
|
|
// Called when a FileData* is added, has its metadata changed, or is removed
|
|
virtual void onFileChanged(FileData* file, FileChangeType change);
|
|
|
|
virtual void onThemeChanged(const std::shared_ptr<ThemeData>& theme);
|
|
|
|
virtual FileData* getCursor() override;
|
|
virtual void setCursor(FileData* file) override;
|
|
|
|
virtual const char* getName() const override { return "basic"; }
|
|
|
|
virtual std::vector<HelpPrompt> getHelpPrompts() override;
|
|
virtual void launch(FileData* game) override;
|
|
|
|
protected:
|
|
virtual void populateList(const std::vector<FileData*>& files) override;
|
|
virtual void remove(FileData* game) override;
|
|
|
|
TextListComponent<FileData*> mList;
|
|
};
|