// INTERNAL INCLUDES
#include <dali/internal/adaptor/common/lifecycle-observer.h>
-#include <dali/internal/window-system/common/indicator-interface.h>
#include <dali/internal/adaptor/common/adaptor-impl.h>
+#include <dali/internal/window-system/common/indicator-interface.h>
#include <dali/public-api/adaptor-framework/window.h>
#include <dali/public-api/adaptor-framework/key-grab.h>
#include <dali/devel-api/adaptor-framework/drag-and-drop-detector.h>
{
class Adaptor;
-namespace Integration
-{
-class SystemOverlay;
-}
-
namespace Internal
{
namespace Adaptor
{
class Orientation;
-class WindowBase;
class WindowRenderSurface;
+class WindowBase;
class Window;
typedef IntrusivePtr<Window> WindowPtr;
/**
* Window provides a surface to render onto with orientation & indicator properties.
*/
-class Window : public Dali::BaseObject, public IndicatorInterface::Observer, public LifeCycleObserver
+class Window : public Dali::BaseObject, public IndicatorInterface::Observer, public LifeCycleObserver, public ConnectionTracker
{
public:
typedef Dali::Window::IndicatorSignalType IndicatorSignalType;
Dali::Window::WindowPosition GetPosition() const;
/**
+ * @copydoc Dali::DevelWindow::SetPositionSize()
+ */
+ void SetPositionSize( PositionSize positionSize );
+
+ /**
* @copydoc Dali::Window::SetTransparency()
*/
void SetTransparency( bool transparent );
*/
void RotationDone( int orientation, int width, int height );
- /**
- * Called when the window becomes iconified or deiconified.
- */
- void OnIconifyChanged( bool iconified );
-
- /**
- * Called when the window focus is changed.
- */
- void OnFocusChanged( bool focusIn );
-
- /**
- * Called when the output is transformed.
- */
- void OnOutputTransformed();
-
- /**
- * Called when the window receives a delete request
- */
- void OnDeleteRequest();
-
private:
+
/**
* Private constructor.
* @sa Window::New()
*/
void SetIndicatorProperties( bool isShow, Dali::Window::WindowOrientation lastOrientation );
+ /**
+ * Called when the window becomes iconified or deiconified.
+ */
+ void OnIconifyChanged( bool iconified );
+
+ /**
+ * Called when the window focus is changed.
+ */
+ void OnFocusChanged( bool focusIn );
+
+ /**
+ * Called when the output is transformed.
+ */
+ void OnOutputTransformed();
+
+ /**
+ * Called when the window receives a delete request.
+ */
+ void OnDeleteRequest();
+
+ /**
+ * Called when the Ecore indicator event is received.
+ */
+ void OnIndicatorFlicked();
+
private: // IndicatorInterface::Observer interface
/**
private:
WindowRenderSurface* mSurface;
- std::unique_ptr< WindowBase > mWindowBase;
+ WindowBase* mWindowBase;
Dali::Window::IndicatorVisibleMode mIndicatorVisible; ///< public state
bool mIndicatorIsShown:1; ///< private state
bool mShowRotatedIndicatorOnClose:1;
Dali::Window::WindowOrientation mIndicatorOrientation;
Dali::Window::WindowOrientation mNextIndicatorOrientation;
Dali::Window::IndicatorBgOpacity mIndicatorOpacityMode;
- Integration::SystemOverlay* mOverlay;
Adaptor* mAdaptor;
Dali::DragAndDropDetector mDragAndDropDetector;
Dali::Window::Type mType;