Advertisement
Guest User

Untitled

a guest
Oct 19th, 2019
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.21 KB | None | 0 0
  1. [3.0.0-rc2]
  2. - Introduced a new behavior-flag: `middleCancel` determines if releasing a click from within the inner-radius will trigger the extended selection or the `defaultIndex` selection.
  3. - `ChildRegion` is now referred to as `Slice` throughout the API.
  4. - Style variables now have shorter names that resemble the `ButtonStyle` naming.
  5. - `setDefaultIndex` now changes the `selectedIndex` if it isn't a valid index.
  6. - The complementary callbacks (highlight and hover) are now regrouped within `PieMenuCallbacks`.
  7. - Integrated rotations: scene2d's `rotateBy()` method is now supported.
  8. - `radius` has been renamed to `minRadius` since it is now a suggested radius for the minimal radius value. In case `setFillParent(true)` or other size-changing methods are used (Table's `fill`, for example), the widget will now expand as a scene2d user would expect it to.
  9. - `innerRadius` now designates a percentage of the radius, instead of an amount of pixels.
  10. - Fixed the flicker resulting from hovering out of a contained Actor.
  11. - `selectedColor` now used by default if no `downColor` was set: this is to prevent a flicker when clicking.
  12. - Fixed a few `Animated` constructors.
  13. - The `ShapeDrawer` is now instantiated internally.
  14. - The default rules used by `ShapeDrawer` to determine the amount of sides to draw is now internally overridden with an improved algorithm.
  15. - Added an example for adding Keyboard-Key-Mapping (selection through keyboard) on a `PieMenu`.
  16.  
  17. [3.0.0-rc1]
  18. - Refactored the Style so that most of the `float` values (`radius` and the likes) have become class-attributes instead.
  19. - Many more constructors available. Basic `float` properties (`radius` and the likes) are now integrated in the constructors.
  20. - `PieMenuSuggestedClickListener` renamed to `PieMenuClickListener` and is now added by default. A setter is provided to change this `ClickListener` to a custom one.
  21. - Added callbacks for mouse-over. Added the corresponding `hoveredChildRegionColor` and `hoveredAndSelectedChildRegionColor` to the `PieMenuStyle`.
  22. - Added `highlightedChildRegionColor` in the `PieMenuStyle`.
  23. - The `PieMenuClickListener` now triggers a highlight on `touchDown` rather than waiting for the mouse to move after the initial click.
  24. - `HighlightChangeListener` renamed to `PieMenuHighlightChangeListener` and now extends EventListener. Removed the associated getter and setter: now `addListener()` should be used for that too.
  25. - Widgets now start with their visibility set to `true` (it used to be `false`): this is to remain closer to scene2d's expected behavior.
  26. - Changed the Actor-sizing algorithm (and thus fixed it for low `innerRadius` values).
  27. - Integrated the propagation of the alpha from parent to children. Use the `setGlobalAlphaMultiplier(float)` method to do so.
  28. - Fix for Widgets contained within a Table.
  29. - Fix of the PieMenuStyle Colors-duplication.
  30. - Style's `Circumference` values now include the `innerRadius` value.
  31. - New API methods to allow more customization: `getActorDistanceFromCenter`, `getEstimatedRadiusAt` and `modifyActor` can be changed to be whatever you want.
  32. - Removed from the API the `@Deprecated` methods which should have been implemented by the users themselves anyway. This is reflected in the corresponding code-examples.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement