Modules/Widgets/public/widgets/AnimationTestWidget.hpp
2024-10-18 12:54:03 +03:00

20 lines
No EOL
384 B
C++

#pragma once
#include "Widget.hpp"
namespace tp {
class AnimationTestWidget : public Widget {
public:
AnimationTestWidget() = default;
~AnimationTestWidget() override = default;
void draw(Canvas& canvas) override;
void process(const EventHandler& events) override;
[[nodiscard]] bool needsNextFrame() const override;
private:
mutable SpringRect mTestSpring;
};
}