Browse Source

Travis CI: API documentation update at 2016-10-11 19:34:59 UTC.
[ci package]

Commit: https://github.com/urho3d/Urho3D/commit/9aca15f4d64e5d6f38469bb8e4c1aae2065a1d19

Message: Add contributor credit. Code style edits to ProgressBar. Fix ProgressBar resize. Calculate percent as value / range and convert to integer to prevent showing too many decimals.

urho3d-travis-ci 9 years ago
parent
commit
dbb589855e
4 changed files with 142 additions and 1 deletions
  1. 28 0
      Docs/AngelScriptAPI.h
  2. 31 0
      Docs/LuaScriptAPI.dox
  3. 82 0
      Docs/ScriptAPI.dox
  4. 1 1
      Source/Urho3D/.soversion

+ 28 - 0
Docs/AngelScriptAPI.h

@@ -8338,6 +8338,34 @@ Array<Array<Vector3>> face;
 uint numFaces;
 };
 
+class ProgressBar
+{
+// Methods:
+void ChangeValue(float);
+bool HasSubscribedToEvent(Object, const String&);
+bool HasSubscribedToEvent(const String&);
+void SendEvent(const String&, VariantMap& = VariantMap ( ));
+void SetLoadingPercentStyle(const String&);
+
+// Properties:
+/* readonly */
+String category;
+/* readonly */
+BorderImage knob;
+Orientation orientation;
+float range;
+/* readonly */
+int refs;
+bool showPercentText;
+/* readonly */
+StringHash type;
+/* readonly */
+String typeName;
+float value;
+/* readonly */
+int weakRefs;
+};
+
 class PropertySet2D
 {
 // Methods:

+ 31 - 0
Docs/LuaScriptAPI.dox

@@ -141,6 +141,7 @@ namespace Urho3D
 <a href="#Class_PhysicsWorld2D"><b>PhysicsWorld2D</b></a>
 <a href="#Class_Plane"><b>Plane</b></a>
 <a href="#Class_Polyhedron"><b>Polyhedron</b></a>
+<a href="#Class_ProgressBar"><b>ProgressBar</b></a>
 <a href="#Class_PropertySet2D"><b>PropertySet2D</b></a>
 <a href="#Class_Quaternion"><b>Quaternion</b></a>
 <a href="#Class_Ray"><b>Ray</b></a>
@@ -4673,6 +4674,36 @@ Properties:
 
 - bool empty (readonly)
 
+<a name="Class_ProgressBar"></a>
+### ProgressBar : BorderImage
+
+Methods:
+
+- ProgressBar() (GC)
+- ProgressBar* new()
+- void delete()
+- void SetOrientation(Orientation orientation)
+- void SetRange(float range)
+- void SetValue(float value)
+- void ChangeValue(float delta)
+- void SetLoadingPercentStyle(const String style)
+- void SetShowPercentText(bool showPercentText)
+- Orientation GetOrientation() const
+- float GetRange() const
+- float GetValue() const
+- BorderImage* GetKnob() const
+- const String GetLoadingPercentStyle()
+- bool GetShowPercentText() const
+
+Properties:
+
+- Orientation orientation
+- float range
+- float value
+- BorderImage* knob (readonly)
+- String loadingPercentStyle (readonly)
+- bool showPercentText
+
 <a name="Class_PropertySet2D"></a>
 ### PropertySet2D
 

+ 82 - 0
Docs/ScriptAPI.dox

@@ -741,6 +741,10 @@ namespace Urho3D
 - %Offset : int
 - %Pressed : bool
 
+### ProgressBarChanged
+- %Element : UIElement pointer
+- %Value : float
+
 ### ScrollBarChanged
 - %Element : UIElement pointer
 - %Value : float
@@ -1787,6 +1791,58 @@ namespace Urho3D
 - %Velocity %Iterations : int
 - %Position %Iterations : int
 
+### ProgressBar
+- %Name : String
+- %Position : IntVector2
+- %Size : IntVector2
+- %Min %Size : IntVector2
+- %Max %Size : IntVector2
+- %Horiz %Alignment : int
+- %Vert %Alignment : int
+- %Min %Anchor : Vector2
+- %Max %Anchor : Vector2
+- %Min %Offset : IntVector2
+- %Max %Offset : IntVector2
+- %Pivot : Vector2
+- %Enable %Anchor : bool
+- %Clip %Border : IntRect
+- %Priority : int
+- %Opacity : float
+- %Color : Color
+- %Top %Left %Color : Color
+- %Top %Right %Color : Color
+- %Bottom %Left %Color : Color
+- %Bottom %Right %Color : Color
+- %Is %Enabled : bool
+- %Is %Editable : bool
+- %Is %Selected : bool
+- %Is %Visible : bool
+- %Bring %To %Front : bool
+- %Bring %To %Back : bool
+- %Clip %Children : bool
+- %Use %Derived %Opacity : bool
+- %Focus %Mode : int
+- %Drag %And %Drop %Mode : int
+- %Layout %Mode : int
+- %Layout %Spacing : int
+- %Layout %Border : IntRect
+- %Layout %Flex %Scale : Vector2
+- %Indent : int
+- %Indent %Spacing : int
+- %Variables : VariantMap
+- %Tags : StringVector
+- %Texture : ResourceRef
+- %Image %Rect : IntRect
+- %Border : IntRect
+- %Image %Border : IntRect
+- %Hover %Image %Offset : IntVector2
+- %Tiled : bool
+- %Blend %Mode : int
+- %Orientation : int
+- %Range : float
+- %Value : float
+- %Show %Percent %Text : bool
+
 ### RibbonTrail
 - %Is %Enabled : bool
 - %Max %Lights : int
@@ -2612,6 +2668,7 @@ namespace Urho3D
 <a href="#Class_PhysicsWorld2D"><b>PhysicsWorld2D</b></a>
 <a href="#Class_Plane"><b>Plane</b></a>
 <a href="#Class_Polyhedron"><b>Polyhedron</b></a>
+<a href="#Class_ProgressBar"><b>ProgressBar</b></a>
 <a href="#Class_PropertySet2D"><b>PropertySet2D</b></a>
 <a href="#Class_Quaternion"><b>Quaternion</b></a>
 <a href="#Class_Ray"><b>Ray</b></a>
@@ -10047,6 +10104,31 @@ Properties:
 - Vector3[]@[] face // readonly
 - uint numFaces // readonly
 
+<a name="Class_ProgressBar"></a>
+
+### ProgressBar
+
+Methods:
+
+- void ChangeValue(float)
+- bool HasSubscribedToEvent(Object@, const String&)
+- bool HasSubscribedToEvent(const String&)
+- void SendEvent(const String&, VariantMap& = VariantMap ( ))
+- void SetLoadingPercentStyle(const String&)
+
+Properties:
+
+- String category // readonly
+- BorderImage@ knob // readonly
+- Orientation orientation
+- float range
+- int refs // readonly
+- bool showPercentText
+- StringHash type // readonly
+- String typeName // readonly
+- float value
+- int weakRefs // readonly
+
 <a name="Class_PropertySet2D"></a>
 
 ### PropertySet2D

+ 1 - 1
Source/Urho3D/.soversion

@@ -1 +1 @@
-0.1.20
+0.1.21