Differences

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

Link to this comparison view

Next revision
Previous revision
desktop:switch [2017/04/10 04:27]
agcyphers created
desktop:switch [2019/10/23 05:53] (current)
Line 1: Line 1:
-====== Enumerations ​======+==== Enumerations ====
 ^ Name      ^ Values ​      ^ ^ Name      ^ Values ​      ^
 |  | This class exposes no enumerations. | |  | This class exposes no enumerations. |
  
-====== Constants ​======+==== Constants ====
 ^ Name      ^ Type     ^ Value       ^ ^ Name      ^ Type     ^ Value       ^
-| 3D | Number ​| 0 | +| 3D | Integer ​| 0 | 
-| Flat | Number ​| 1 | +| Flat | Integer ​| 1 | 
-| Oval3D | Number ​| 2 | +| Oval3D | Integer ​| 2 | 
-| OvalFlat | Number ​| 3 | +| OvalFlat | Integer ​| 3 | 
-| Outset | Number ​| 4 | +| Outset | Integer ​| 4 | 
-| Dark | Number ​| 5 |+| Dark | Integer ​| 5 |
  
-====== Events ​======+==== Events ====
 ^ Definition ​     ^ Description ​      ^ ^ Definition ​     ^ Description ​      ^
 | ValueChange() | Fired when the value is changed. | | ValueChange() | Fired when the value is changed. |
  
-====== Methods ​======+==== Methods ====
 ^ Definition ​     ^ Description ​      ^ ^ Definition ​     ^ Description ​      ^
 |  | This class does not expose any methods. | |  | This class does not expose any methods. |
  
-====== Properties ​======+==== Properties ====
 ^ Name      ^ Type       ^ Default Value       ^ Description ​      ^ ^ Name      ^ Type       ^ Default Value       ^ Description ​      ^
 | Bold | Boolean | False | Determines whether the value text is drawn in bold. | | Bold | Boolean | False | Determines whether the value text is drawn in bold. |
Line 36: Line 36:
 | TextSize | Integer | 0 | Sets the size of the value text font. | | TextSize | Integer | 0 | Sets the size of the value text font. |
 | TrueBGColor | Color | &​c000000 | Determines the background color of the True value when UseCustomColors is True. | | TrueBGColor | Color | &​c000000 | Determines the background color of the True value when UseCustomColors is True. |
-| TrueText | String | ""​ | The text displayed ​the True value. |+| TrueText | String | ""​ | The text displayed ​as the True value. |
 | Underline | Boolean | False | Sets whether the values’ text is displayed with an underline. | | Underline | Boolean | False | Sets whether the values’ text is displayed with an underline. |
 | UseCustomColors | Boolean | False | Sets whether the class is displayed used the colors defined in properties, or with their defaults. | | UseCustomColors | Boolean | False | Sets whether the class is displayed used the colors defined in properties, or with their defaults. |
 | Value | Boolean | False | The current value of the Switch. | | Value | Boolean | False | The current value of the Switch. |
  
-====== Examples ​======+==== Examples ====
 There are currently no examples for this class. There are currently no examples for this class.