User Tools

Site Tools


macros:example:sethalo

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:sethalo [2018/12/22 10:22] icke_siegenmacros:example:sethalo [2020/03/29 11:17] (current) – [Explanation] icke_siegen
Line 42: Line 42:
  
 From Titan 11.2 on it is expected to be possible to set an arbitrary RGB colour. From Titan 11.2 on it is expected to be possible to set an arbitrary RGB colour.
 +
 +> Add a converter for AcwColour which allows macros and WebAPI to specify a colour value for any properties or methods that use one e.g. for halos. The prefix for this cast will be "colour" and value can either be a hexadecimal string or an integer value (not hexadecimal).
 +>
 +> For example it should be possible to call the following in a macro:
 +>
 +> ActionScript.SetProperty("Handles.PendingHalo", colour:"#ffff0000")
 +
  
 ===== How to use it ===== ===== How to use it =====
macros/example/sethalo.1545474125.txt.gz · Last modified: 2018/12/22 10:22 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki