aboutsummaryrefslogtreecommitdiff
path: root/core/bind
diff options
context:
space:
mode:
authorhurikhan2015-02-15 18:26:49 +0800
committerhurikhan2015-02-15 18:26:49 +0800
commitf5d2e1f42cca1c5b078073133fccda63c556a0da (patch)
treefcda88825b0d77f8494970c891dc5421987cfebb /core/bind
parentee81d4b359ec5dbeaed5725739ba53b7734372cd (diff)
downloadgodot-f5d2e1f42cca1c5b078073133fccda63c556a0da.tar.gz
godot-f5d2e1f42cca1c5b078073133fccda63c556a0da.tar.zst
godot-f5d2e1f42cca1c5b078073133fccda63c556a0da.zip
Renamed EXPERIMENTAL_WM_API to NEW_WM_API
Diffstat (limited to 'core/bind')
-rw-r--r--core/bind/core_bind.cpp4
-rw-r--r--core/bind/core_bind.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/core/bind/core_bind.cpp b/core/bind/core_bind.cpp
index 39c5761d6..858f5cec2 100644
--- a/core/bind/core_bind.cpp
+++ b/core/bind/core_bind.cpp
@@ -176,7 +176,7 @@ bool _OS::is_video_mode_fullscreen(int p_screen) const {
}
-#ifdef EXPERIMENTAL_WM_API
+#ifdef NEW_WM_API
int _OS::get_screen_count() const {
return OS::get_singleton()->get_screen_count();
}
@@ -706,7 +706,7 @@ void _OS::_bind_methods() {
ObjectTypeDB::bind_method(_MD("is_video_mode_resizable","screen"),&_OS::is_video_mode_resizable,DEFVAL(0));
ObjectTypeDB::bind_method(_MD("get_fullscreen_mode_list","screen"),&_OS::get_fullscreen_mode_list,DEFVAL(0));
-#ifdef EXPERIMENTAL_WM_API
+#ifdef NEW_WM_API
ObjectTypeDB::bind_method(_MD("get_screen_count"),&_OS::get_screen_count);
ObjectTypeDB::bind_method(_MD("get_screen"),&_OS::get_screen);
ObjectTypeDB::bind_method(_MD("set_screen"),&_OS::set_screen);
diff --git a/core/bind/core_bind.h b/core/bind/core_bind.h
index e77ed9e40..1a80e3522 100644
--- a/core/bind/core_bind.h
+++ b/core/bind/core_bind.h
@@ -108,7 +108,7 @@ public:
bool is_video_mode_resizable(int p_screen=0) const;
Array get_fullscreen_mode_list(int p_screen=0) const;
-#ifdef EXPERIMENTAL_WM_API
+#ifdef NEW_WM_API
virtual int get_screen_count() const;
virtual int get_screen() const;
virtual void set_screen(int p_screen);