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();
73 void duplicateLayer();
75 void moveFrameForward();
76 void moveFrameBackward();
77 void removeSelectedFrames();
78 void reverseSelectedFrames();
79 void addExposureToSelectedFrames();
80 void subtractExposureFromSelectedFrames();
83 Status addNewBitmapLayer();
84 Status addNewVectorLayer();
85 Status addNewCameraLayer();
87 Status deleteCurrentLayer();
88 void changeKeyframeLineColor();
89 void changeallKeyframeLineColor();
91 void setLayerVisibilityIndex(
int index);
100 void checkForUpdates();
101 void openTemporaryDirectory();
105 void showSoundClipWarningIfNeeded();
107 void exposeSelectedFrames(
int offset);
111 Editor* mEditor =
nullptr;
114 bool mSuppressSoundWarning =
false;
Status insertKeyFrameAtCurrentPosition()
Will insert a keyframe at the current position and push connected frames to the right.
QObject * parent() const const