window->registerCallbackBufferChanged(this, std::bind(&DSRenderViewDaliImpl::__onWindowBufferChanged, this, std::placeholders::_1));
window->registerCallbackWindowRaiseToTop(this, std::bind(&DSRenderViewDaliImpl::__onWindowRaiseToTopChanged, this, std::placeholders::_1));
window->registerCallbackWindowLowerToBottom(this, std::bind(&DSRenderViewDaliImpl::__onWindowLowerToBottomChanged, this, std::placeholders::_1));
+ window->registerCallbackWindowPositionChanged(this, std::bind(&DSRenderViewDaliImpl::__onWindowPositionChanged, this, std::placeholders::_1));
}
DSRenderViewDaliImpl::~DSRenderViewDaliImpl()
__updatedSignal.emit(nullptr);
}
+void DSRenderViewDaliImpl::__onWindowPositionChanged(void *data)
+{
+ DSLOG_INF("DSRenderViewDaliImpl", "__onWindowPositionChanged.");
+
+ stPosition pos = __window->getPosition();
+
+ __textureViewActor.SetProperty(Actor::Property::VISIBLE, true);
+ __textureViewActor.SetProperty(Actor::Property::POSITION, Vector3( pos.x, pos.y, 0.0f ));
+
+ __updatedSignal.emit(nullptr);
+}
+
} // namespace display_server
void __onWindowBufferChanged(std::shared_ptr<IDSBuffer> buffer);
void __onWindowRaiseToTopChanged(void *data);
void __onWindowLowerToBottomChanged(void *data);
+ void __onWindowPositionChanged(void *data);
std::shared_ptr<DSWindow> __window;
Dali::OffscreenWindow __offscreenWindow;