X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Fdevel-api%2Fadaptor-framework%2Foffscreen-window.h;h=4f8e314f1b70cb5362824db2c09e00e403d8e7d7;hb=a90b09ccda956cbe4a076aeed1c305f3b49c9e17;hp=bb279cb49059e859b25509724d8bc031d17bd578;hpb=ff3d9708cc7138bd1643821bd129724d09dbf871;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git diff --git a/dali/devel-api/adaptor-framework/offscreen-window.h b/dali/devel-api/adaptor-framework/offscreen-window.h index bb279cb..4f8e314 100644 --- a/dali/devel-api/adaptor-framework/offscreen-window.h +++ b/dali/devel-api/adaptor-framework/offscreen-window.h @@ -47,8 +47,8 @@ class DALI_IMPORT_API OffscreenWindow : public Dali::BaseHandle { public: - typedef Uint16Pair WindowSize; - typedef Signal PostRenderSignalType; + using WindowSize = Uint16Pair; + using PostRenderSignalType = Signal; 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 /**