Implement OS.get_window_safe_area() for Android
This commit is contained in:
parent
b370aa75dd
commit
96e22bd9fb
5 changed files with 48 additions and 2 deletions
|
|
@ -50,6 +50,7 @@ private:
|
|||
jmethodID _get_locale = 0;
|
||||
jmethodID _get_model = 0;
|
||||
jmethodID _get_screen_DPI = 0;
|
||||
jmethodID _screen_get_usable_rect = 0;
|
||||
jmethodID _get_unique_id = 0;
|
||||
jmethodID _show_keyboard = 0;
|
||||
jmethodID _hide_keyboard = 0;
|
||||
|
|
@ -68,6 +69,7 @@ public:
|
|||
String get_locale();
|
||||
String get_model();
|
||||
int get_screen_dpi();
|
||||
void screen_get_usable_rect(int (&p_rect_xywh)[4]);
|
||||
String get_unique_id();
|
||||
bool has_vk();
|
||||
void show_vk(const String &p_existing, bool p_multiline, int p_max_input_length, int p_cursor_start, int p_cursor_end);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue