summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhurikhan <m4r10.5ch14ck@gmail.com>2015-01-14 14:41:56 +0800
committerhurikhan <m4r10.5ch14ck@gmail.com>2015-01-14 14:41:56 +0800
commitcc49c8651601a939d5abc163477f6ca2c0e5bb7b (patch)
tree307abb49bf8c0868183892cfe773d585bc705661
parent8a30feebbe676ab922515b58d0deec2f95aa104c (diff)
parent1576dc5215c107e6966ceace2f3979ff12f2dd62 (diff)
Merge branch 'x11-window-management' of https://github.com/hurikhan/godot into x11-window-management
-rw-r--r--README.md9
1 files changed, 6 insertions, 3 deletions
diff --git a/README.md b/README.md
index 57068bf39c..35841c8b29 100644
--- a/README.md
+++ b/README.md
@@ -2,19 +2,22 @@
#### New GDScript Methods for the OS Class:
* int OS.get_screen_count()
+* int OS.get_screen()
+* void OS.set_screen(int screen)
+* Vector2 OS.get_screen_position(int screen=0)
* Vector2 OS.get_screen_size(int screen=0)
* Vector2 OS.get_window_position()
* void OS.set_window_position(Vector2 position)
* Vector2 OS.get_window_size()
* void OS.set_window_size(Vector2 size)
-* void OS.set_fullscreen(bool enabled, int screen=0)
+* void OS.set_fullscreen(bool enabled)
* bool OS.is_fullscreen()
#### Demo
A demo/test is available at "demos/misc/window-management"
-#### Warning
-Just only works for X11. It breaks other platforms at the moment.
+#### Scons Commandline
+'''scons p=x11 experimental_wm_api=yes'''
![GODOT](/logo.png)