LeviLamina
Loading...
Searching...
No Matches
AnimatedGif.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/util/gif/FrameDisposalMethod.h"
7#include "mc/util/gif/Gif.h"
8
9// auto generated forward declare list
10// clang-format off
11namespace mce { class Color; }
12namespace mce { struct Image; }
13// clang-format on
14
15class AnimatedGif {
16public:
17 // member variables
18 // NOLINTBEGIN
19 ::ll::TypedStorage<8, 56, ::gif::Gif> mGifData;
20 ::ll::TypedStorage<4, 4, uint> mFrameIndex;
21 ::ll::TypedStorage<1, 1, bool> mFrameDirty;
22 ::ll::TypedStorage<8, 8, ::std::chrono::steady_clock::time_point> mLastRenderedTime;
23 ::ll::TypedStorage<4, 4, ::gif::FrameDisposalMethod> mFrameDisposal;
24 ::ll::TypedStorage<8, 24, ::std::vector<::mce::Color>> mFrameCache;
25 ::ll::TypedStorage<8, 24, ::std::vector<::mce::Color>> mPrevFrameCache;
26 // NOLINTEND
27
28public:
29 // prevent constructor by default
30 AnimatedGif& operator=(AnimatedGif const&);
31 AnimatedGif(AnimatedGif const&);
32 AnimatedGif();
33
34public:
35 // member functions
36 // NOLINTBEGIN
37 MCAPI ::mce::Image makeCurrentFrame();
38
39 MCAPI ::AnimatedGif& operator=(::AnimatedGif&&);
40
41 MCAPI bool setAnimationProgress(::std::chrono::steady_clock::time_point now);
42
43 MCAPI ~AnimatedGif();
44 // NOLINTEND
45
46public:
47 // destructor thunk
48 // NOLINTBEGIN
49 MCAPI void $dtor();
50 // NOLINTEND
51};
Definition AnimatedGif.h:5
Definition Color.h:13
Definition Image.h:12