32 void setCurrentFrame(
int n) { mCurrentFrame = n; }
33 int getCurrentFrame()
const {
return mCurrentFrame; }
35 void setCurrentColor(
QColor c) { mCurrentColor = c; }
36 QColor getCurrentColor()
const {
return mCurrentColor; }
38 void setCurrentLayer(
int n) { mCurrentLayer = n; }
39 int getCurrentLayer()
const {
return mCurrentLayer; }
41 void setCurrentView(
QTransform t) { mCurrentView = t; }
42 QTransform getCurrentView()
const {
return mCurrentView; }
44 void setFrameRate(
int n) { mFps = n; }
45 int getFrameRate()
const {
return mFps; }
47 void setLooping(
bool b) { mIsLoop = b; }
48 bool isLooping()
const {
return mIsLoop; }
50 void setRangedPlayback(
bool b) { mIsRangedPlayback = b; }
51 bool isRangedPlayback()
const {
return mIsRangedPlayback; }
53 void setMarkInFrameNumber(
int n) { mMarkInFrame = n; }
54 int getMarkInFrameNumber()
const {
return mMarkInFrame; }
56 void setMarkOutFrameNumber(
int n) { mMarkOutFrame = n; }
57 int getMarkOutFrameNumber()
const {
return mMarkOutFrame; }
60 int mCurrentFrame = 1;
61 QColor mCurrentColor{ 0, 0, 0, 255 };
62 int mCurrentLayer = 0;
69 bool mIsRangedPlayback =
false;
71 int mMarkOutFrame = 10;