17#ifndef COMMANDCENTER_H
18#define COMMANDCENTER_H
21#include "pencilerror.h"
37 void setCore(
Editor* e) { mEditor = e; }
40 Status importAnimatedImage();
42 Status importSound(FileType type);
43 Status exportMovie(
bool isGif =
false);
44 Status exportImageSequence();
49 void flipSelectionX();
50 void flipSelectionY();
57 void rotateClockwise();
58 void rotateCounterClockwise();
64 void GotoNextKeyFrame();
65 void GotoPrevKeyFrame();
71 void duplicateLayer();
73 void moveFrameForward();
74 void moveFrameBackward();
75 void removeSelectedFrames();
76 void reverseSelectedFrames();
77 void addExposureToSelectedFrames();
78 void subtractExposureFromSelectedFrames();
81 Status addNewBitmapLayer();
82 Status addNewVectorLayer();
83 Status addNewCameraLayer();
85 Status deleteCurrentLayer();
86 void changeKeyframeLineColor();
87 void changeallKeyframeLineColor();
89 void setLayerVisibilityIndex(
int index);
98 void checkForUpdates();
99 void openTemporaryDirectory();
103 void showSoundClipWarningIfNeeded();
105 void exposeSelectedFrames(
int offset);
109 Editor* mEditor =
nullptr;
112 bool mSuppressSoundWarning =
false;
Status insertKeyFrameAtCurrentPosition()
Will insert a keyframe at the current position and push connected frames to the right.
QObject * parent() const const