17#ifndef COMMANDCENTER_H
18#define COMMANDCENTER_H
21#include "pencilerror.h"
37 void setCore(
Editor* e) { mEditor = e; }
41 Status importSound(FileType type);
42 Status exportMovie(
bool isGif =
false);
43 Status exportImageSequence();
48 void flipSelectionX();
49 void flipSelectionY();
56 void rotateClockwise();
57 void rotateCounterClockwise();
63 void GotoNextKeyFrame();
64 void GotoPrevKeyFrame();
70 void duplicateLayer();
72 void moveFrameForward();
73 void moveFrameBackward();
74 void removeSelectedFrames();
75 void reverseSelectedFrames();
76 void addExposureToSelectedFrames();
77 void subtractExposureFromSelectedFrames();
80 Status addNewBitmapLayer();
81 Status addNewVectorLayer();
82 Status addNewCameraLayer();
84 Status deleteCurrentLayer();
85 void changeKeyframeLineColor();
86 void changeallKeyframeLineColor();
88 void setLayerVisibilityIndex(
int index);
97 void checkForUpdates();
98 void openTemporaryDirectory();
102 void showSoundClipWarningIfNeeded();
104 void exposeSelectedFrames(
int offset);
108 Editor* mEditor =
nullptr;
111 bool mSuppressSoundWarning =
false;
Status insertKeyFrameAtCurrentPosition()
Will insert a keyframe at the current position and push connected frames to the right.
QObject * parent() const const