mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +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
|
|
@ -659,10 +659,6 @@ void DisplayServerJavaScript::send_window_event_callback(int p_notification) {
|
|||
}
|
||||
}
|
||||
|
||||
void DisplayServerJavaScript::alert(const String &p_alert, const String &p_title) {
|
||||
godot_js_display_alert(p_alert.utf8().get_data());
|
||||
}
|
||||
|
||||
void DisplayServerJavaScript::set_icon(const Ref<Image> &p_icon) {
|
||||
ERR_FAIL_COND(p_icon.is_null());
|
||||
Ref<Image> icon = p_icon;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue