Revert "[Tizen] Add GlWindow"
[platform/core/uifw/dali-adaptor.git] / dali / devel-api / adaptor-framework / offscreen-window.h
index bb279cb..4f8e314 100644 (file)
@@ -47,8 +47,8 @@ class DALI_IMPORT_API OffscreenWindow : public Dali::BaseHandle
 {
 public:
 
-  typedef Uint16Pair WindowSize;
-  typedef Signal<void (OffscreenWindow, Any)> PostRenderSignalType;
+  using WindowSize = Uint16Pair;
+  using PostRenderSignalType = Signal<void (OffscreenWindow, Any)>;
 
 public:
 
@@ -67,9 +67,8 @@ public:
    * @note You should hold the returned handle. If you missed the handle, the OffscreenWindow will be released
    *
    * @param[in] surface The native surface handle of your platform
-   * @param[in] isTranslucent Whether the OffscreenWindow is translucent or not
    */
-  static OffscreenWindow New( Any surface, bool isTranslucent );
+  static OffscreenWindow New( Any surface );
 
   /**
    * @brief Constructs an empty handle
@@ -169,6 +168,13 @@ public:
    */
   Any GetNativeHandle() const;
 
+  /**
+   * @brief Retrieves the DPI of the window.
+   *
+   * @return The DPI of the window
+   */
+  Uint16Pair GetDpi() const;
+
 public:  // Signals
 
   /**