Should now be a stable API.
Pre-release
Pre-release
- Introduced a new behavior-flag:
middleCancel
determines if releasing a click from within the inner-radius will trigger the extended selection or thedefaultIndex
selection. ChildRegion
is now referred to asSlice
throughout the API.- Style variables now have shorter names that resemble the
ButtonStyle
naming. setDefaultIndex
now changes theselectedIndex
if it isn't a valid index.- The complementary callbacks (highlight and hover) are now regrouped within
PieMenuCallbacks
. - Integrated rotations: scene2d's
rotateBy()
method is now supported. radius
has been renamed tominRadius
since it is now a suggested radius for the minimal radius value. In casesetFillParent(true)
or other size-changing methods are used (Table'sfill
, for example), the widget will now expand as a scene2d user would expect it to.innerRadius
now designates a percentage of the radius, instead of an amount of pixels.- Fixed the flicker resulting from hovering out of a contained Actor.
selectedColor
now used by default if nodownColor
was set: this is to prevent a flicker when clicking.- Fixed a few
Animated
constructors. - The
ShapeDrawer
is now instantiated internally. - The default rules used by
ShapeDrawer
to determine the amount of sides to draw is now internally overridden with an improved algorithm. - Added an example for adding Keyboard-Key-Mapping (selection through keyboard) on a
PieMenu
.