{
observer->OnWindowHidden();
}
- DALI_LOG_INFO( gWindowLogFilter, Debug::General, "Window (%d) Iconfied\n", handler->mEcoreWindow );
+ DALI_LOG_RELEASE_INFO( "EcoreEventWindowIconifyStateChanged: Iconified, mVisible [%d]\n", handler->mWindow->mVisible );
}
else
{
{
observer->OnWindowShown();
}
- DALI_LOG_INFO( gWindowLogFilter, Debug::General, "Window (%d) Shown\n", handler->mEcoreWindow );
+ DALI_LOG_RELEASE_INFO( "EcoreEventWindowIconifyStateChanged: Deiconified, mVisible [%d]\n", handler->mWindow->mVisible );
}
handled = ECORE_CALLBACK_DONE;
}
if ( handler && handler->mWindow && transformEvent->output == ecore_wl_window_output_find( handler->mEcoreWindow ) )
{
- DALI_LOG_INFO( gWindowLogFilter, Debug::General, "Window (%d) EcoreEventOutputTransform\n", handler->mEcoreWindow );
+ DALI_LOG_INFO( gWindowLogFilter, Debug::General, "Window (%p) EcoreEventOutputTransform\n", handler->mEcoreWindow );
ECore::WindowRenderSurface* wlSurface( dynamic_cast< ECore::WindowRenderSurface * >( handler->mWindow->mSurface ) );
if( wlSurface )
if ( handler && handler->mWindow && ignoreTransformEvent->win == handler->mEcoreWindow )
{
- DALI_LOG_INFO( gWindowLogFilter, Debug::General, "Window (%d) EcoreEventIgnoreOutputTransform\n", handler->mEcoreWindow );
+ DALI_LOG_INFO( gWindowLogFilter, Debug::General, "Window (%p) EcoreEventIgnoreOutputTransform\n", handler->mEcoreWindow );
ECore::WindowRenderSurface* wlSurface( dynamic_cast< ECore::WindowRenderSurface * >( handler->mWindow->mSurface ) );
if( wlSurface )
{
// Use ecore_wl_window_activate to prevent the window shown without rendering
ecore_wl_window_activate( mEventHandler->mEcoreWindow );
+
+ DALI_LOG_RELEASE_INFO( "Window::Raise is called.\n" );
}
void Window::Lower()
{
ecore_wl_window_lower( mEventHandler->mEcoreWindow );
+
+ DALI_LOG_RELEASE_INFO( "Window::Lower is called.\n" );
}
void Window::Activate()
{
ecore_wl_window_activate( mEventHandler->mEcoreWindow );
+
+ DALI_LOG_RELEASE_INFO( "Window::Activate is called.\n" );
}
Dali::DragAndDropDetector Window::GetDragAndDropDetector() const
{
bool found = false;
- for( std::size_t i=0; i<mAvailableOrientations.size(); i++ )
+ if ( orientation <= Dali::Window::LANDSCAPE_INVERSE )
{
- if(mAvailableOrientations[i] == orientation)
+ for( std::size_t i = 0; i < mAvailableOrientations.size(); i++ )
{
- found = true;
- break;
+ if( mAvailableOrientations[i] == orientation )
+ {
+ found = true;
+ break;
+ }
}
- }
- if( ! found )
- {
- mAvailableOrientations.push_back(orientation);
- SetAvailableOrientations( mAvailableOrientations );
+ if( ! found )
+ {
+ mAvailableOrientations.push_back(orientation);
+ SetAvailableOrientations( mAvailableOrientations );
+ }
}
}
void Window::SetAvailableOrientations(const std::vector<Dali::Window::WindowOrientation>& orientations)
{
- int rotations[4];
+ int rotations[4] = { 0 };
for( std::size_t i = 0; i < mAvailableOrientations.size(); ++i )
{
rotations[i] = static_cast< int >( mAvailableOrientations[i] );
mVisible = true;
ecore_wl_window_show( mEventHandler->mEcoreWindow );
+ DALI_LOG_RELEASE_INFO( "Window::Show is called : mIconified [%d]\n", mIconified );
+
if( !mIconified )
{
if( mAdaptor )
mVisible = false;
ecore_wl_window_hide( mEventHandler->mEcoreWindow );
+ DALI_LOG_RELEASE_INFO( "Window::Hide is called : mIconified [%d]\n", mIconified );
+
if( !mIconified )
{
if( mAdaptor )