{
public:
- typedef Uint16Pair WindowSize;
- typedef Signal<void (OffscreenWindow, Any)> PostRenderSignalType;
+ using WindowSize = Uint16Pair;
+ using PostRenderSignalType = Signal<void (OffscreenWindow, Any)>;
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
*/
Any GetNativeHandle() const;
+ /**
+ * @brief Retrieves the DPI of the window.
+ *
+ * @return The DPI of the window
+ */
+ Uint16Pair GetDpi() const;
+
public: // Signals
/**