summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorhurikhan <m4r10.5ch14ck@gmail.com>2015-02-15 18:26:49 +0800
committerhurikhan <m4r10.5ch14ck@gmail.com>2015-02-15 18:26:49 +0800
commitf5d2e1f42cca1c5b078073133fccda63c556a0da (patch)
treefcda88825b0d77f8494970c891dc5421987cfebb /core
parentee81d4b359ec5dbeaed5725739ba53b7734372cd (diff)
Renamed EXPERIMENTAL_WM_API to NEW_WM_API
Diffstat (limited to 'core')
-rw-r--r--core/bind/core_bind.cpp4
-rw-r--r--core/bind/core_bind.h2
-rw-r--r--core/os/os.h2
3 files changed, 4 insertions, 4 deletions
diff --git a/core/bind/core_bind.cpp b/core/bind/core_bind.cpp
index 39c5761d67..858f5cec27 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 e77ed9e40f..1a80e35221 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);
diff --git a/core/os/os.h b/core/os/os.h
index c04a91e302..6301bd495f 100644
--- a/core/os/os.h
+++ b/core/os/os.h
@@ -150,7 +150,7 @@ public:
virtual VideoMode get_video_mode(int p_screen=0) const=0;
virtual void get_fullscreen_mode_list(List<VideoMode> *p_list,int p_screen=0) const=0;
-#ifdef EXPERIMENTAL_WM_API
+#ifdef NEW_WM_API
virtual int get_screen_count() const=0;
virtual int get_screen() const=0;
virtual void set_screen(int p_screen)=0;