X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Fcontrols%2Fvideo-view%2Fvideo-view-impl.h;h=a662802d1f0fd2ebdcfc8c2023b6f08a985cb74e;hb=refs%2Ftags%2Fsubmit%2Ftizen_3.0%2F20170421.064839;hp=309a237036b09aa44143049304160592d9453c78;hpb=0849361c6c77097551c9c7a320125dbe275be871;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 309a237..a662802 100644 --- a/dali-toolkit/internal/controls/video-view/video-view-impl.h +++ b/dali-toolkit/internal/controls/video-view/video-view-impl.h @@ -1,5 +1,5 @@ -#ifndef __DALI_TOOLKIT_INTERNAL_VIDEO_VIEW_H__ -#define __DALI_TOOLKIT_INTERNAL_VIDEO_VIEW_H__ +#ifndef DALI_TOOLKIT_INTERNAL_VIDEO_VIEW_H +#define DALI_TOOLKIT_INTERNAL_VIDEO_VIEW_H /* * Copyright (c) 2016 Samsung Electronics Co., Ltd. @@ -24,7 +24,7 @@ #include // INTERNAL INCLUDES -#include +#include #include #include @@ -179,13 +179,12 @@ public: /** * @brief Set the depth index of this image renderer * - * Renderer with higher depth indices are rendered in front of other renderers with smaller values + * Renderer with higher depth indices are rendered in front of other visuals with smaller values * @SINCE_1_1.38 * @param[in] depthIndex The depth index of this renderer */ void SetDepthIndex( int depthIndex ); - /** * @brief Performs actions as requested using the action name. * @SINCE_1_1.38 @@ -201,6 +200,11 @@ public: private: // From Control /** + * @copydoc Toolkit::Control::OnInitialize() + */ + virtual void OnInitialize(); + + /** * @copydoc Toolkit::Control::OnStageConnect() */ virtual void OnStageConnection( int depth ); @@ -240,13 +244,13 @@ private: Dali::VideoPlayer mVideoPlayer; Dali::ImageDimensions mVideoSize; - Toolkit::ControlRenderer mRenderer; + Toolkit::Visual::Base mVisual; Dali::Property::Map mPropertyMap; Dali::NativeImage mNativeImage; ///< Native image handle for video rendering by texture streaming Dali::Toolkit::VideoView::VideoViewSignalType mFinishedSignal; std::string mUrl; int mCurrentVideoPlayPosition; - bool mSetRenderingTarget; + bool mIsNativeImageTarget; bool mIsPlay; bool mIsPause; }; @@ -271,4 +275,4 @@ inline const Toolkit::Internal::VideoView& GetImpl( const Toolkit::VideoView& ha } // namespace Dali -#endif // __DALI_TOOLKIT_VIDEO_VIEW_H__ +#endif // DALI_TOOLKIT_VIDEO_VIEW_H