HaxeFlixel/engine — pull request #406 by Gama11 (2013-06-08 18:05:24+00:00)
Title: FlxSlider refactor

- removed `rightBorder` and `leftBorder` sprites
- update the `handle` position when the variable value is changed from outside (if no callback was set)
- added `setCallback()`
- removed `Callback` param from constructor and added a bunch of others
- proper nulling of objects in `destroy()`
- make use of `FlxMath` for hovering logic
- changes to `createSlider()` make it easier to position sliders, their origin is now at 0,0 due to using `offset`
- added `clickable` and `hoverAlpha` vars
- use `FlxU.roundDecimal()` and drop the `round()` function

Probably forgot a few more things. Essentially a refactor of the class.