LibraryViewer

This commit is contained in:
IlyaShurupov 2023-11-28 23:22:04 +03:00
parent 5a55011911
commit c7d3b15758
24 changed files with 226111 additions and 36 deletions

View file

@ -32,9 +32,9 @@ namespace tp {
class AnimRect : Rect<AnimValue> {
public:
AnimRect() {
set({ 0, 0, 0, 0 });
AnimRect() {
setAnimTime(450);
setNoTransition({ 0, 0, 0, 0 });
}
[[nodiscard]] RectF get() const;
@ -45,9 +45,10 @@ namespace tp {
};
class AnimColor {
public:
AnimColor();
AnimRect mColor;
public:
[[nodiscard]] RGBA get() const;
void set(const RGBA&);
};