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:
authorTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2012-07-03 04:02:45 +0400
committerTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2012-07-03 04:02:45 +0400
commit98a7ca61fa905792bd3fdfa6c29f44691c9582ac (patch)
tree47455f2482f6eca0352c10c57482641eec6afb57 /source/blender/compositor/operations/COM_SetColorOperation.h
parent4e39a854b4589cddff484649d95cce4c71d4e9f4 (diff)
parent2ed69a95f499081aacc15c0295f3461c38430554 (diff)
Merged changes in the trunk up to revision 48505.
Diffstat (limited to 'source/blender/compositor/operations/COM_SetColorOperation.h')
-rw-r--r--source/blender/compositor/operations/COM_SetColorOperation.h32
1 files changed, 19 insertions, 13 deletions
diff --git a/source/blender/compositor/operations/COM_SetColorOperation.h b/source/blender/compositor/operations/COM_SetColorOperation.h
index 9d28f1757db..abfa2b9538a 100644
--- a/source/blender/compositor/operations/COM_SetColorOperation.h
+++ b/source/blender/compositor/operations/COM_SetColorOperation.h
@@ -31,10 +31,10 @@
*/
class SetColorOperation : public NodeOperation {
private:
- float channel1;
- float channel2;
- float channel3;
- float channel4;
+ float m_channel1;
+ float m_channel2;
+ float m_channel3;
+ float m_channel4;
public:
/**
@@ -42,15 +42,21 @@ public:
*/
SetColorOperation();
- const float getChannel1() {return this->channel1;}
- void setChannel1(float value) {this->channel1 = value;}
- const float getChannel2() {return this->channel2;}
- void setChannel2(float value) {this->channel2 = value;}
- const float getChannel3() {return this->channel3;}
- void setChannel3(float value) {this->channel3 = value;}
- const float getChannel4() {return this->channel4;}
- void setChannel4(float value) {this->channel4 = value;}
- void setChannels(float value[4]) {this->channel1 = value[0];this->channel2 = value[1];this->channel3 = value[2];this->channel4 = value[3];}
+ const float getChannel1() { return this->m_channel1; }
+ void setChannel1(float value) { this->m_channel1 = value; }
+ const float getChannel2() { return this->m_channel2; }
+ void setChannel2(float value) { this->m_channel2 = value; }
+ const float getChannel3() { return this->m_channel3; }
+ void setChannel3(float value) { this->m_channel3 = value; }
+ const float getChannel4() { return this->m_channel4; }
+ void setChannel4(float value) { this->m_channel4 = value; }
+ void setChannels(float value[4])
+ {
+ this->m_channel1 = value[0];
+ this->m_channel2 = value[1];
+ this->m_channel3 = value[2];
+ this->m_channel4 = value[3];
+ }
/**
* the inner loop of this program