User Tools

Site Tools


dragengine:modules:dragonscript:xmlguitheme:parameters

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
dragengine:modules:dragonscript:xmlguitheme:parameters [2018/02/27 15:08] – [Font] dragonlorddragengine:modules:dragonscript:xmlguitheme:parameters [2024/03/14 16:52] (current) dragonlord
Line 6: Line 6:
 Parameters define a value of a specific type to assign to a parameter by name. The last set values for a particular parameter name is used in the end. The supported types are described here. In general all attributes are optional unless marked otherwise. Not defined attributes use the default value. Parameters define a value of a specific type to assign to a parameter by name. The last set values for a particular parameter name is used in the end. The supported types are described here. In general all attributes are optional unless marked otherwise. Not defined attributes use the default value.
  
 +The loader script tries to set the parameter using the provided type. If the parameter does not understand the provided value an exception is thrown. The loader script prints out such problems to the game console and tries to continue if possible. In some cases it is though not possible to continue without a properly set value. While working with parameters always watch the game console to see if some parameters are not properly understood or invalid.
 ===== Integer ===== ===== Integer =====
 Sets an integer value. Sets an integer value.
Line 125: Line 126:
  
 ===== Border Size ===== ===== Border Size =====
-Sets a BorderSize parameter. [[https://dragengine.rptd.ch/docs/dragonscript/scriptapi/latest/classDragengine_1_1Gui_1_1BorderSize.html|BorderSize]] is a script class containing 4 pixel size integer values one for each side. You can define the BorderSize using two different version but you can not mix them. Not used attributes are set to 0.+Sets a BorderSize parameter. #@LinkApiDocDEDS2_HTML~classDragengine_1_1Gui_1_1BorderSize.html,BorderSize~@# is a script class containing 4 pixel size integer values one for each side. You can define the BorderSize using two different version but you can not mix them. Not used attributes are set to 0.
  
 <code xml> <code xml>
Line 136: Line 137:
  
 ===== Point ===== ===== Point =====
-Sets a Point parameter. [[https://dragengine.rptd.ch/docs/dragonscript/scriptapi/latest/classDragengine_1_1Gui_1_1Point.html|Point]] is a script class containing an X and Y integer coordinate. Not set attributes are 0.+Sets a Point parameter. #@LinkApiDocDEDS2_HTML~classDragengine_1_1Gui_1_1Point.html,Point~@# is a script class containing an X and Y integer coordinate. Not set attributes are 0.
  
 <code xml> <code xml>
dragengine/modules/dragonscript/xmlguitheme/parameters.1519744106.txt.gz · Last modified: 2018/02/27 15:08 by dragonlord