mFocusChangeSignal(),
mResizeSignal(),
mRotationAngle(90), // dummy angle for test coverage
+ mVisible(true),
mVisibilityChangedSignal()
{
}
return mRenderSurface.GetPositionSize();
}
+Dali::Window::WindowSize Window::GetSize() const
+{
+ PositionSize positionSize = mRenderSurface.GetPositionSize();
+
+ return Dali::Window::WindowSize(positionSize.width, positionSize.height);
+}
+
void Window::SetPositionSize(PositionSize positionSize)
{
mRenderSurface.MoveResize(positionSize);
void Window::Hide()
{
GetImplementation( *this ).mVisibilityChangedSignal.Emit( *this, false );
+ GetImplementation( *this ).mVisible = false;
+}
+
+bool Window::IsVisible() const
+{
+ return GetImplementation( *this ).mVisible;
}
FocusChangeSignalType& Window::FocusChangeSignal()
return GetImplementation( window ).WheelEventSignal();
}
+WheelEventGeneratedSignalType& WheelEventGeneratedSignal( Window window )
+{
+ return GetImplementation( window ).WheelEventGeneratedSignal();
+}
+
VisibilityChangedSignalType& VisibilityChangedSignal( Window window )
{
return GetImplementation( window ).mVisibilityChangedSignal;