X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Fdevel-api%2Fadaptor-framework%2Foffscreen-window.h;h=bb279cb49059e859b25509724d8bc031d17bd578;hb=62aa1a34e496b3ec4c6657ea56eed23dc707c36c;hp=042279efc955b54954bd031e53e572f3bfaec8af;hpb=15bc685fc9a7262e4f8b4bb89ffef821db9758d0;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 042279e..bb279cb 100644 --- a/dali/devel-api/adaptor-framework/offscreen-window.h +++ b/dali/devel-api/adaptor-framework/offscreen-window.h @@ -18,11 +18,7 @@ * */ -/** - * @addtogroup dali_adaptor_framework - * @{ - */ - +// EXTERNAL INCLUDES #include #include #include @@ -35,6 +31,11 @@ namespace Dali { +/** + * @addtogroup dali_adaptor_framework + * @{ + */ + class Layer; namespace Internal @@ -47,7 +48,7 @@ class DALI_IMPORT_API OffscreenWindow : public Dali::BaseHandle public: typedef Uint16Pair WindowSize; - typedef Signal PostRenderSignalType; + typedef Signal PostRenderSignalType; public: @@ -55,22 +56,20 @@ public: * @brief Creates an initialized handle to a new OffscreenWindow * @note You should hold the returned handle. If you missed the handle, the OffscreenWindow will be released * - * @param[in] offscreenApplication The OffscreenApplication handle * @param[in] width The initial width of the OffscreenWindow * @param[in] height The initial height of the OffscreenWindow * @param[in] isTranslucent Whether the OffscreenWindow is translucent or not */ - static OffscreenWindow New( OffscreenApplication offscreenApplication, uint16_t width, uint16_t height, bool isTranslucent ); + static OffscreenWindow New( uint16_t width, uint16_t height, bool isTranslucent ); /** * @brief Creates an initialized handle to a new OffscreenWindow * @note You should hold the returned handle. If you missed the handle, the OffscreenWindow will be released * - * @param[in] offscreenApplication The OffscreenApplication handle * @param[in] surface The native surface handle of your platform * @param[in] isTranslucent Whether the OffscreenWindow is translucent or not */ - static OffscreenWindow New( OffscreenApplication offscreenApplication, Dali::Any surface, bool isTranslucent ); + static OffscreenWindow New( Any surface, bool isTranslucent ); /** * @brief Constructs an empty handle @@ -163,7 +162,20 @@ public: */ WindowSize GetSize() const; + /** + * @brief Gets the native handle. + * @note When users call this function, it wraps the actual type used by the underlying system. + * @return The native handle or an empty handle + */ + Any GetNativeHandle() const; + public: // Signals + + /** + * @brief This signal is emitted when the OffscreenWindow is rendered. + * + * @return The signal + */ PostRenderSignalType& PostRenderSignal(); public: // Not intended for application developers