X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;ds=sidebyside;f=dali-toolkit%2Finternal%2Fcontrols%2Fvideo-view%2Fvideo-view-impl.h;h=1f58785b3521ed7877969cac64607899dbe4ac31;hb=ee0a1565d8a52fafc20e2c5beab39db93dcd427b;hp=130d2c2ad92601f8a63c88eaf660b274ef9085b4;hpb=eedb83ac31c3728a311dbe462bedc660f54094d8;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/internal/controls/video-view/video-view-impl.h b/dali-toolkit/internal/controls/video-view/video-view-impl.h index 130d2c2..1f58785 100644 --- a/dali-toolkit/internal/controls/video-view/video-view-impl.h +++ b/dali-toolkit/internal/controls/video-view/video-view-impl.h @@ -23,6 +23,8 @@ #include #include #include +#include +#include // INTERNAL INCLUDES #include @@ -207,10 +209,35 @@ public: */ static bool DoConnectSignal( BaseObject* object, ConnectionTrackerInterface* tracker, const std::string& signalName, FunctorDelegate* functor ); - /* + /** * @brief Updates video display area for window rendering target */ - void UpdateDisplayArea(); + void UpdateDisplayArea( Dali::PropertyNotification& source ); + + /** + * @brief Sets underlay flag and initializes new rendering target by flag. + */ + void SetUnderlay( bool set ); + + /** + * @brief Checks underlay flag. + */ + bool IsUnderlay(); + + /** + * @brief Sets sw codec type. + */ + void SetSWCodec( bool on ); + + /** + * @brief Gets play position. + */ + int GetPlayPosition(); + + /** + * @brief Sets play position. + */ + void SetPlayPosition( int pos ); private: // From Control @@ -265,14 +292,14 @@ private: Dali::Toolkit::VideoView::VideoViewSignalType mFinishedSignal; std::string mUrl; Dali::DisplayArea mDisplayArea; - - Property::Index mUpdateTriggerPropertyIndex; - TriggerEventInterface* mNotification; + Dali::Renderer mRenderer; + Dali::PropertyNotification mPositionUpdateNotification; + Dali::PropertyNotification mSizeUpdateNotification; + Dali::PropertyNotification mScaleUpdateNotification; int mCurrentVideoPlayPosition; - bool mIsNativeImageTarget; bool mIsPlay; - bool mIsPause; + bool mIsUnderlay; }; } // namespace Internal