Skip to content

Releases: krakjoe/ui

v2.0.0

02 Nov 06:16
Compare
Choose a tag to compare

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

v1.0.3

30 Oct 06:22
Compare
Choose a tag to compare
  • UI\Draw\Text\Font\Descriptor::getFamily
  • UI\Draw\Text\Font\Descriptor::getSize
  • UI\Draw\Text\Font\Descriptor::getWeight
  • UI\Draw\Text\Font\Descriptor::getItalic
  • UI\Draw\Text\Font\Descriptor::getStretch
  • UI\Draw\Text\Font::getAscent
  • UI\Draw\Text\Font::getDescent
  • UI\Draw\Text\Font::getLeading
  • UI\Draw\Text\Font::getUnderlinePosition
  • UI\Draw\Text\Font::getUnderlineThickness
  • Radial and Linear Gradients
  • UI\Draw\Brush::addStop
  • UI\Draw\Brush::delStop
  • UI\Draw\Brush::setStop
  • Exceptions
  • Arrangement controls child list
  • Arrangement controls API improvements

v1.0.2

28 Oct 09:48
Compare
Choose a tag to compare
  • UI\Size and UI\Point support for basic math operators (+,/,*,-) fixed
  • UI\Point cast to UI\Size with UI\Size::of(UI\Point) (can also take double-ish)
  • UI\Size cast to UI\Point with UI\Point::at(UI\Size) (can also take double-ish)

v1.0.1

26 Oct 07:04
Compare
Choose a tag to compare
  • Fix Windows onTick

v1.0.0

25 Oct 08:14
Compare
Choose a tag to compare
  • App::run changes (see docs)
  • App::onTick (see docs)
  • UI\Key enumeration
  • UI\Point and UI\Size math operations
  • Reference counting for layout controls
  • Fix build when x is not available