Changeset View
Changeset View
Standalone View
Standalone View
source/blender/compositor/operations/COM_SplitOperation.h
| Show All 10 Lines | |||||
| * | * | ||||
| * You should have received a copy of the GNU General Public License | * You should have received a copy of the GNU General Public License | ||||
| * along with this program; if not, write to the Free Software Foundation, | * along with this program; if not, write to the Free Software Foundation, | ||||
| * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||||
| * | * | ||||
| * Copyright 2011, Blender Foundation. | * Copyright 2011, Blender Foundation. | ||||
| */ | */ | ||||
| #ifndef __COM_SPLITOPERATION_H__ | #pragma once | ||||
| #define __COM_SPLITOPERATION_H__ | |||||
| #include "COM_NodeOperation.h" | #include "COM_NodeOperation.h" | ||||
| class SplitOperation : public NodeOperation { | class SplitOperation : public NodeOperation { | ||||
| private: | private: | ||||
| SocketReader *m_image1Input; | SocketReader *m_image1Input; | ||||
| SocketReader *m_image2Input; | SocketReader *m_image2Input; | ||||
| float m_splitPercentage; | float m_splitPercentage; | ||||
| Show All 9 Lines | public: | ||||
| { | { | ||||
| this->m_splitPercentage = splitPercentage; | this->m_splitPercentage = splitPercentage; | ||||
| } | } | ||||
| void setXSplit(bool xsplit) | void setXSplit(bool xsplit) | ||||
| { | { | ||||
| this->m_xSplit = xsplit; | this->m_xSplit = xsplit; | ||||
| } | } | ||||
| }; | }; | ||||
| #endif | |||||