Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/compositor/operations/COM_ViewerBaseOperation.h')
-rw-r--r--source/blender/compositor/operations/COM_ViewerBaseOperation.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/source/blender/compositor/operations/COM_ViewerBaseOperation.h b/source/blender/compositor/operations/COM_ViewerBaseOperation.h
index 8864894f0ed..2aaa7d20966 100644
--- a/source/blender/compositor/operations/COM_ViewerBaseOperation.h
+++ b/source/blender/compositor/operations/COM_ViewerBaseOperation.h
@@ -30,8 +30,8 @@ class ViewerBaseOperation : public NodeOperation {
protected:
float *outputBuffer;
unsigned char *outputBufferDisplay;
- Image * image;
- ImageUser * imageUser;
+ Image *image;
+ ImageUser *imageUser;
void *lock;
bool active;
float centerX;
@@ -41,27 +41,27 @@ protected:
bool doColorPredivide;
public:
- bool isOutputOperation(bool rendering) const {return isActiveViewerOutput();}
+ bool isOutputOperation(bool rendering) const { return isActiveViewerOutput(); }
void initExecution();
void deinitExecution();
- void setImage(Image *image) {this->image = image;}
- void setImageUser(ImageUser *imageUser) {this->imageUser = imageUser;}
- const bool isActiveViewerOutput() const {return active;}
- void setActive(bool active) {this->active = active;}
- void setCenterX(float centerX) {this->centerX = centerX;}
- void setCenterY(float centerY) {this->centerY = centerY;}
- void setChunkOrder(OrderOfChunks tileOrder) {this->chunkOrder = tileOrder;}
+ void setImage(Image *image) { this->image = image; }
+ void setImageUser(ImageUser *imageUser) { this->imageUser = imageUser; }
+ const bool isActiveViewerOutput() const { return active; }
+ void setActive(bool active) { this->active = active; }
+ void setCenterX(float centerX) { this->centerX = centerX;}
+ void setCenterY(float centerY) { this->centerY = centerY;}
+ void setChunkOrder(OrderOfChunks tileOrder) { this->chunkOrder = tileOrder; }
float getCenterX() { return this->centerX; }
float getCenterY() { return this->centerY; }
OrderOfChunks getChunkOrder() { return this->chunkOrder; }
const CompositorPriority getRenderPriority() const;
- void setColorManagement(bool doColorManagement) {this->doColorManagement = doColorManagement;}
- void setColorPredivide(bool doColorPredivide) {this->doColorPredivide = doColorPredivide;}
- bool isViewerOperation() {return true;}
+ void setColorManagement(bool doColorManagement) { this->doColorManagement = doColorManagement; }
+ void setColorPredivide(bool doColorPredivide) { this->doColorPredivide = doColorPredivide; }
+ bool isViewerOperation() { return true; }
protected:
ViewerBaseOperation();
- void updateImage(rcti*rect);
+ void updateImage(rcti *rect);
private:
void initImage();