macros:example:fancurves

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
macros:example:fancurves [2019/01/04 16:26] – [Code] Cleanup for readability icke_siegenmacros:example:fancurves [2019/05/03 14:29] (current) icke_siegen
Line 1: Line 1:
 Example Example
  
-====== Fan Curves ======+====== Programmer - Fan Curves ======
  
 ^ by: | Alex del Bondio with the help of Greg Haynes | ^ by: | Alex del Bondio with the help of Greg Haynes |
Line 12: Line 12:
 {{tag> fan curve group segment part }} {{tag> fan curve group segment part }}
  
-This selection of macros lets you change the fan curve, parts and grouping options without having to enter the fan menu. These macros have [[:macros:active_binding]] set so they will highlight when the corresponding attribute is set+This selection of macros lets you change the fan curve, parts and grouping options without having to enter the fan menu. These macros have [[:macros:active_binding]] set so they will highlight when the corresponding attribute is set
 + 
 +5/1/19 Fan Toggle macro added in the file
  
 The code below is a snippet of the whole file which contains macros for all curves, grouping options and a handful of segments/parts. The code below is a snippet of the whole file which contains macros for all curves, grouping options and a handful of segments/parts.
Line 19: Line 21:
 ==== functions ==== ==== functions ====
   * [[:macros:function:Programmer.Editor.Fixtures.Fan.SelectCurve]]   * [[:macros:function:Programmer.Editor.Fixtures.Fan.SelectCurve]]
-  * [[:macros:active_binding]] 
  
 ==== affected properties ==== ==== affected properties ====
Line 26: Line 27:
   * [[:macros:property:Programmer.Editor.Fixtures.Fan.SegmentCount]]   * [[:macros:property:Programmer.Editor.Fixtures.Fan.SegmentCount]]
  
 +==== specials ====
 +  * [[:macros:active_binding]]
  
 ===== Code ===== ===== Code =====
Line 61: Line 64:
     <active binding="{     <active binding="{
       propertyLink id='Programmer.Editor.Fixtures.Fan.SegmentCount'        propertyLink id='Programmer.Editor.Fixtures.Fan.SegmentCount' 
-      converter='Math.EnumAsStringEqualityConverter+      converter='Math.EqualityConverter
       converterParameter='3'       converterParameter='3'
     }"/>     }"/>
macros/example/fancurves.1546619207.txt.gz · Last modified: 2019/01/04 16:26 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki