Difference between revisions of "Array Contol"

From Serious Sam Wiki
Jump to: navigation, search
(creation)
 
(added category)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[File:StaticModel ArrayControls.png|frame|link=|Screenshot of STaticModel properties with highlighted array controls, Serious Editor 4.0.]]
+
[[File:StaticModel ArrayControls.png|frame|link=|Screenshot of StaticModel properties with highlighted array controls, Serious Editor 4.0.]]
Array control is the type of control used to edit array type data. An array contains a collection of data elements each of which has its own data name, type, and value. Therefore, array control provides the tools to add, move and delete data elements.
+
Array control is used to edit the values of array data in property group panels. An array contains a collection of data elements each of which has its own data name, type, and value. Therefore, array control provides the tools to add, move and delete data elements.
  
 
; Add a data element
 
; Add a data element
 
:To add a data element click the yellow plus sign with {{key|LMB}}. This will
 
:To add a data element click the yellow plus sign with {{key|LMB}}. This will
:*either directly add a data element to the array in case the array can only hold data of one and the same data type. Example: CStaticArray.
+
:*directly add a data element to the array in case the array can only hold data of one and the same data type (Example: CStaticArray), or
:*or open a dropdown menu with a list of data types to chose from. Example: CDynamicContainer.
+
:*open a dropdown menu with a list of data types to chose from. Example: CDynamicContainer.
 
;Move a data element (up or down)
 
;Move a data element (up or down)
 
:To change the position of a data element in the expandable list select its entry with {{key|lmb}} and click either the cyan down key or the cyan up key with {{key|lmb}}.
 
:To change the position of a data element in the expandable list select its entry with {{key|lmb}} and click either the cyan down key or the cyan up key with {{key|lmb}}.
Line 11: Line 11:
 
:To erase a data element in the expandable list select its entry with {{key|lmb}} and click the red 'X'-symbol with {{key|lmb}}.
 
:To erase a data element in the expandable list select its entry with {{key|lmb}} and click the red 'X'-symbol with {{key|lmb}}.
  
[[Category:Controls]]
+
[[Category:GUI]][[Category:Controls]]

Latest revision as of 12:35, 7 May 2016

Screenshot of StaticModel properties with highlighted array controls, Serious Editor 4.0.

Array control is used to edit the values of array data in property group panels. An array contains a collection of data elements each of which has its own data name, type, and value. Therefore, array control provides the tools to add, move and delete data elements.

Add a data element
To add a data element click the yellow plus sign with LMB.png. This will
  • directly add a data element to the array in case the array can only hold data of one and the same data type (Example: CStaticArray), or
  • open a dropdown menu with a list of data types to chose from. Example: CDynamicContainer.
Move a data element (up or down)
To change the position of a data element in the expandable list select its entry with LMB.png and click either the cyan down key or the cyan up key with LMB.png.
Delete a data element
To erase a data element in the expandable list select its entry with LMB.png and click the red 'X'-symbol with LMB.png.