WidgetsNew Initial

This commit is contained in:
IlyaShurupov 2024-07-17 09:44:18 +03:00
parent 450a816b2b
commit 49cfe70c0d
15 changed files with 741 additions and 0 deletions

View file

@ -0,0 +1,20 @@
#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 needUpdate() const override;
private:
SpringRect mTestSpring;
};
}