Browse Source

Update documentation.

Lasse Öörni 12 years ago
parent
commit
b6d5fa48b5
3 changed files with 15 additions and 3 deletions
  1. 5 1
      Docs/AngelScriptAPI.h
  2. 5 1
      Docs/LuaScriptAPI.dox
  3. 5 1
      Docs/ScriptAPI.dox

+ 5 - 1
Docs/AngelScriptAPI.h

@@ -4028,10 +4028,12 @@ class Graphics
 {
 // Methods:
 void SendEvent(const String&, VariantMap& = VariantMap ( ));
-bool SetMode(int, int, bool, bool, bool, bool, int);
+bool SetMode(int, int, bool, bool, bool, bool, bool, int);
 bool SetMode(int, int);
 void SetWindowPosition(int, int);
 bool ToggleFullscreen();
+void Maximize();
+void Minimize();
 void Close();
 bool TakeScreenShot(Image);
 
@@ -4065,6 +4067,8 @@ bool fullscreen;
 /* (readonly) */
 bool resizable;
 /* (readonly) */
+bool borderless;
+/* (readonly) */
 bool vsync;
 /* (readonly) */
 bool tripleBuffer;

+ 5 - 1
Docs/LuaScriptAPI.dox

@@ -932,11 +932,13 @@ Methods:
 - void SetWindowIcon(Image* windowIcon)
 - void SetWindowPosition(const IntVector2& position)
 - void SetWindowPosition(int x, int y)
-- bool SetMode(int width, int height, bool fullscreen, bool resizable, bool vsync, bool tripleBuffer, int multiSample)
+- bool SetMode(int width, int height, bool fullscreen, bool borderless, bool resizable, bool vsync, bool tripleBuffer, int multiSample)
 - bool SetMode(int width, int height)
 - void SetSRGB(bool enable)
 - void SetFlushGPU(bool enable)
 - bool ToggleFullscreen()
+- void Maximize()
+- void Minimize()
 - void Close()
 - bool TakeScreenShot(Image& destImage)
 - bool IsInitialized() const
@@ -948,6 +950,7 @@ Methods:
 - int GetMultiSample() const
 - bool GetFullscreen() const
 - bool GetResizable() const
+- bool GetBorderless() const
 - bool GetVSync() const
 - bool GetTripleBuffer() const
 - bool GetSRGB() const
@@ -979,6 +982,7 @@ Properties:
 - int multiSample (readonly)
 - bool fullscreen (readonly)
 - bool resizable (readonly)
+- bool borderless (readonly)
 - bool vSync (readonly)
 - bool tripleBuffer (readonly)
 - bool sRGB

+ 5 - 1
Docs/ScriptAPI.dox

@@ -3507,10 +3507,12 @@ Properties:
 Methods:
 
 - void SendEvent(const String&, VariantMap& = VariantMap ( ))
-- bool SetMode(int, int, bool, bool, bool, bool, int)
+- bool SetMode(int, int, bool, bool, bool, bool, bool, int)
 - bool SetMode(int, int)
 - void SetWindowPosition(int, int)
 - bool ToggleFullscreen()
+- void Maximize()
+- void Minimize()
 - void Close()
 - bool TakeScreenShot(Image@)
 
@@ -3532,6 +3534,7 @@ Properties:
 - int multiSample (readonly)
 - bool fullscreen (readonly)
 - bool resizable (readonly)
+- bool borderless (readonly)
 - bool vsync (readonly)
 - bool tripleBuffer (readonly)
 - bool initialized (readonly)
@@ -7356,6 +7359,7 @@ Properties:
 - %Height : int
 - %Fullscreen : bool
 - %Resizable : bool
+- %Borderless : bool
 
 ### GraphicsFeatures