Support dark mode on Android and iOS.
This commit is contained in:
parent
c12d63556b
commit
428eb1309a
8 changed files with 84 additions and 2 deletions
|
|
@ -53,6 +53,8 @@ private:
|
|||
jmethodID _finish = nullptr;
|
||||
jmethodID _set_keep_screen_on = nullptr;
|
||||
jmethodID _alert = nullptr;
|
||||
jmethodID _is_dark_mode_supported = nullptr;
|
||||
jmethodID _is_dark_mode = nullptr;
|
||||
jmethodID _get_clipboard = nullptr;
|
||||
jmethodID _set_clipboard = nullptr;
|
||||
jmethodID _has_clipboard = nullptr;
|
||||
|
|
@ -86,6 +88,8 @@ public:
|
|||
bool force_quit(JNIEnv *p_env = nullptr, int p_instance_id = 0);
|
||||
void set_keep_screen_on(bool p_enabled);
|
||||
void alert(const String &p_message, const String &p_title);
|
||||
bool is_dark_mode_supported();
|
||||
bool is_dark_mode();
|
||||
bool has_get_clipboard();
|
||||
String get_clipboard();
|
||||
bool has_set_clipboard();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue