Another preview at the XML component format that I'm developing for #FeathersUI and #OpenFL. This screenshot shows a snippet that customizes the appearance of a RectangleSkin with a fill and border.
Yes, it's very verbose, and no, this absolutely won't be the recommended way to skin a component.
I'm just proud of how the XML format can even represent #Haxe enums with arguments. In this case, that includes FillStyle.Gradient, LineStyle.SolidColor, and GradientBoxTransform.RotateDegrees.
I've been working on a way to build custom components for #FeathersUI and #OpenFL using XML. I'm aiming for something very similar to #MXML in #ApacheFlex.
Last week, I finally compiled my first real sample component (after spending tons of time writing necessary low-level tests).
The XML code in the screenshot recreates one of the #FeathersUI samples that was originally written in #Haxe. The XML is parsed at compile-time with a Haxe build macro, which generates a class.
#feathersui #openfl #mxml #apacheflex #haxe
Bring your designer's vision to life with the flexible skinning APIs in Feathers UI.
#feathersui #haxe #openfl
Bring your designer's vision to life with the flexible skinning APIs in Feathers UI.
https://feathersui.com/learn/haxe-openfl/shape-skins/
#feathersui #haxe #openfl
Thanks to the awesome people working on OpenFL, who fixed the issue I discovered yesterday, here is a demo of the ColorMatrixFilter using my helper class and editor system https://matse.skwatt.com/haxe/valedit/filter/ColorFilterHelper/