*
*/
+// EXTERNAL_HEADERS
#include <dali/public-api/object/any.h>
+#include <cstdint>
namespace Dali
{
/**
* @brief Get the screen size
*/
-void GetScreenSize(int& width, int& height);
+void GetScreenSize(int32_t& width, int32_t& height);
+
+/**
+ * @brief Update the screen size
+ * @note The screen size may be updated while application is running. So update the stored size.
+ */
+void UpdateScreenSize();
/**
* @copydoc Dali::Keyboard::SetRepeatInfo()
* @param[out] width The width of the screen
* @param[out] height The height of the screen
*/
- virtual void GetScreenSize(int& width, int& height) = 0;
+ virtual void GetScreenSize(int32_t& width, int32_t& height) = 0;
};
} // namespace Adaptor