ui 2.0.0

UI API


An OO wrapper around libui

License: PHP License

Changes

Refactor of Brushes:
UI\Draw\Brush
abstract UI\Draw\Brush\Gradient
UI\Draw\Brush\LinearGradient
UI\Draw\Brush\RadialGradient
UI\Draw\Color Improvements:
Direct access to channels by name (r, g, b, a) as properties, (case insensitive)
Allow the use of RRGGBBAA integers in place of UI\Draw\Color
UI\Draw\Path Improvements:
Use Path::Winding as default mode
UI\Draw\Pen Improvements:
Allow UI\Draw\Color (or RRGGBBAA integer) in place of UI\Draw\Brush (fill, stroke)
UI\Executor:
Scheduled executor service for animations superceeds and replaces App::onTick mechanism
UI\App:
Removed, it should be obvious that run/quit are global functions
UI\Window:
Fixed onClosing