mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 00:13:30 +00:00
Move alert
function from DisplayServer
to OS
.
This commit is contained in:
parent
5de991d57c
commit
618eb27e8b
36 changed files with 377 additions and 350 deletions
|
@ -47,6 +47,10 @@
|
|||
|
||||
#include "godot_js.h"
|
||||
|
||||
void OS_JavaScript::alert(const String &p_alert, const String &p_title) {
|
||||
godot_js_display_alert(p_alert.utf8().get_data());
|
||||
}
|
||||
|
||||
// Lifecycle
|
||||
void OS_JavaScript::initialize() {
|
||||
OS_Unix::initialize_core();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue