#include <dali/public-api/images/native-image.h>
#include <dali/devel-api/adaptor-framework/video-player.h>
#include <dali/integration-api/adaptors/trigger-event-factory.h>
+#include <dali/public-api/object/property-notification.h>
+#include <dali/public-api/object/property-conditions.h>
// INTERNAL INCLUDES
#include <dali-toolkit/internal/visuals/image/image-visual.h>
*/
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();
private: // From Control
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