mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-04-10 19:15:13 +00:00
Made SystemView more themable (added a ThemeExtras component, made theming on pre-existing elements less restrictive).
27 lines
509 B
C++
27 lines
509 B
C++
#pragma once
|
|
|
|
#include "../GuiComponent.h"
|
|
#include "../components/ImageComponent.h"
|
|
#include "../components/TextComponent.h"
|
|
#include "../components/ScrollableContainer.h"
|
|
|
|
class SystemData;
|
|
|
|
class SystemView : public GuiComponent
|
|
{
|
|
public:
|
|
SystemView(Window* window, SystemData* system);
|
|
|
|
void updateData();
|
|
|
|
bool input(InputConfig* config, Input input) override;
|
|
|
|
private:
|
|
SystemData* mSystem;
|
|
|
|
TextComponent mHeaderText;
|
|
ImageComponent mHeaderImage;
|
|
ImageComponent mImage;
|
|
ThemeExtras mExtras;
|
|
};
|