mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-23 22:55:39 +00:00
24 lines
455 B
C
24 lines
455 B
C
|
#include "../GuiComponent.h"
|
||
|
#include "ComponentGrid.h"
|
||
|
#include "NinePatchComponent.h"
|
||
|
|
||
|
class AnimatedImageComponent;
|
||
|
class TextComponent;
|
||
|
|
||
|
class BusyComponent : public GuiComponent
|
||
|
{
|
||
|
public:
|
||
|
BusyComponent(Window* window);
|
||
|
|
||
|
void onSizeChanged() override;
|
||
|
|
||
|
void reset(); // reset to frame 0
|
||
|
|
||
|
private:
|
||
|
NinePatchComponent mBackground;
|
||
|
ComponentGrid mGrid;
|
||
|
|
||
|
std::shared_ptr<AnimatedImageComponent> mAnimation;
|
||
|
std::shared_ptr<TextComponent> mText;
|
||
|
};
|