diff options
Diffstat (limited to 'slideshow')
-rw-r--r-- | slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl.hxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl.hxx b/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl.hxx index f66eebbdc463..0e8de1c55e5f 100644 --- a/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl.hxx +++ b/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl.hxx @@ -347,6 +347,7 @@ class Operation : private boost::noncopyable public: virtual ~Operation(){} +protected: /** Should this operation be interpolated . If TRUE, the transform will smoothly move from making no difference from t = 0.0 to nT0 to being completely transformed from t = nT1 to 1. If FALSE, the transform will be inneffectual from t = 0 to nT0, and completely transformed from t = nT0 to 1. */ bool bInterpolate; @@ -374,7 +375,8 @@ public: virtual void interpolate(double t,double SlideWidthScale,double SlideHeightScale) const = 0; protected: - Operation():bInterpolate(false), nT0(0.0), nT1(0.0){} + Operation(): + bInterpolate(false), nT0(0.0), nT1(0.0){} }; /** this class is a generic CounterClockWise(CCW) rotation with an axis angle |