mWindowHeight( 0 ),
mOrientationMode( Internal::Adaptor::Window::OrientationMode::PORTRAIT ),
mNativeWindowId( -1 ),
- mResizedSignal(),
mDeleteRequestSignal(),
mFocusChangeSignal(),
mResizeSignal(),
mVisibilityChangedSignal(),
- mTransitionEffectEventSignal()
+ mTransitionEffectEventSignal(),
+ mKeyboardRepeatSettingsChangedSignal()
{
}
mWindowBase->FocusChangedSignal().Connect( this, &Window::OnFocusChanged );
mWindowBase->DeleteRequestSignal().Connect( this, &Window::OnDeleteRequest );
mWindowBase->TransitionEffectEventSignal().Connect( this, &Window::OnTransitionEffectEvent );
+ mWindowBase->KeyboardRepeatSettingsChangedSignal().Connect( this, &Window::OnKeyboardRepeatSettingsChanged );
mWindowSurface->OutputTransformedSignal().Connect( this, &Window::OnOutputTransformed );
{
Uint16Pair newSize( newRect.width, newRect.height );
- bool forceUpdate = false;
- if( mWindowBase->IsEglWindowRotationSupported() )
- {
- forceUpdate = true;
- }
-
- SurfaceResized( forceUpdate );
+ SurfaceResized();
mAdaptor->SurfaceResizePrepare( mSurface.get(), newSize );
DALI_LOG_RELEASE_INFO( "Window (%p), WinId (%d), SetSize(): resize signal [%d x %d]\n", this, mNativeWindowId, newRect.width, newRect.height );
Dali::Window handle( this );
- mResizedSignal.Emit( newSize );
mResizeSignal.Emit( handle, newSize );
mAdaptor->SurfaceResizeComplete( mSurface.get(), newSize );
{
Uint16Pair newSize( newRect.width, newRect.height );
- bool forceUpdate = false;
- if( mWindowBase->IsEglWindowRotationSupported() )
- {
- forceUpdate = true;
- }
-
- SurfaceResized( forceUpdate );
+ SurfaceResized();
mAdaptor->SurfaceResizePrepare( mSurface.get(), newSize );
DALI_LOG_RELEASE_INFO( "Window (%p), WinId (%d), SetPositionSize():resize signal [%d x %d]\n", this, mNativeWindowId, newRect.width, newRect.height );
Dali::Window handle( this );
- mResizedSignal.Emit( newSize );
mResizeSignal.Emit( handle, newSize );
mAdaptor->SurfaceResizeComplete( mSurface.get(), newSize );
}
void Window::OnOutputTransformed()
{
- bool forceUpdate = false;
- if( mWindowBase->IsEglWindowRotationSupported() )
- {
- forceUpdate = true;
- }
- SurfaceResized( forceUpdate );
-
PositionSize positionSize = mSurface->GetPositionSize();
+ SurfaceResized();
mAdaptor->SurfaceResizePrepare( mSurface.get(), Adaptor::SurfaceSize( positionSize.width, positionSize.height ) );
mAdaptor->SurfaceResizeComplete( mSurface.get(), Adaptor::SurfaceSize( positionSize.width, positionSize.height ) );
}
mTransitionEffectEventSignal.Emit( handle, state, type );
}
+void Window::OnKeyboardRepeatSettingsChanged()
+{
+ Dali::Window handle( this );
+ mKeyboardRepeatSettingsChangedSignal.Emit();
+}
+
void Window::OnTouchPoint( Dali::Integration::Point& point, int timeStamp )
{
FeedTouchPoint( point, timeStamp );
mWindowSurface->RequestRotation( mRotationAngle, mWindowWidth, mWindowHeight );
- bool forceUpdate = false;
- if( mWindowBase->IsEglWindowRotationSupported() )
- {
- forceUpdate = true;
- }
-
- SurfaceResized( forceUpdate );
+ SurfaceResized();
mAdaptor->SurfaceResizePrepare( mSurface.get(), Adaptor::SurfaceSize( mWindowWidth, mWindowHeight ) );
DALI_LOG_RELEASE_INFO( "Window (%p), WinId (%d), OnRotation(): resize signal emit [%d x %d]\n", this, mNativeWindowId, mWindowWidth, mWindowHeight );
// Emit signal
Dali::Window handle( this );
- mResizedSignal.Emit( Dali::Window::WindowSize( mWindowWidth, mWindowHeight ) );
mResizeSignal.Emit( handle, Dali::Window::WindowSize( mWindowWidth, mWindowHeight ) );
mAdaptor->SurfaceResizeComplete( mSurface.get(), Adaptor::SurfaceSize( mWindowWidth, mWindowHeight ) );