Laserlicht 2 years ago
parent
commit
182d762135
1 changed files with 28 additions and 0 deletions
  1. 28 0
      docs/modders/Configurable_Widgets.md

+ 28 - 0
docs/modders/Configurable_Widgets.md

@@ -517,6 +517,22 @@ Configurable object has following structure:
 
 `"text"`: [text](#text),
 
+### TextBox
+
+`"type": "textBox"`
+
+`"name": "string"` optional, object name
+
+`"font"`: [font](#font)
+
+`"alignment"`: [alignment](#text-alignment),
+
+`"color"`: [color](#color),
+
+`"text"`: [text](#text),
+
+`"rect"`: [rect](#rect)
+
 ### Picture
 
 `"type": "picture"`
@@ -559,6 +575,18 @@ Filling area with texture
 
 `"rect"`: [rect](#rect)
 
+### TransparentFilledRectangle
+
+`"type": "transparentFilledRectangle"`
+
+`"name": "string"` optional, object name
+
+`"color"`: [color](#color) fill color of rectangle (supports transparency)
+
+`"colorLine"`: [color](#color) optional, 1px border color
+
+`"rect"`: [rect](#rect)
+
 ### Animation
 
 `"type": "animation"`