Skip to content

Commit 9b0622d

Browse files
fix
1 parent d606db7 commit 9b0622d

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

flixel/addons/ui/FlxUI9SliceSprite.hx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ class FlxUI9SliceSprite extends FlxUISprite implements IResizable implements IFl
7777
* @param Resize_axis Whether resizing is based around the X or Y axis
7878
* @param Color Color to tint this graphic to. (White has no effect.)
7979
*/
80-
public function new(X:Float, Y:Float, Graphic:Dynamic, Rect:Rectangle, Slice9:Array<Int> = null, Tile:Int = TILE_NONE, Smooth:Bool = false,
80+
public function new(X:Float, Y:Float, Graphic:Dynamic, Rect:Rectangle, Slice9:Array<Int> = null, Tile:Int = FlxUI9SliceSprite.TILE_NONE, Smooth:Bool = false,
8181
Id:String = "", Ratio:Float = -1, Resize_point = null, Resize_axis:Int = FlxUISprite.RESIZE_RATIO_Y, DeferResize:Bool = false,
8282
Color:FlxColor = FlxColor.WHITE)
8383
{

flixel/addons/ui/FlxUICursor.hx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ class FlxUICursor extends FlxUISprite
240240
* @param DefaultKeys default hotkey layouts, accepts KEYS_TAB, ..._WASD, etc, combine using "|" operator
241241
* @param Asset visual asset for the cursor. If not supplied, uses default
242242
*/
243-
public function new(Callback:String->IFlxUIWidget->Void, InputMethod:Int = INPUT_KEYS, DefaultKeys = FlxUICursorInputFlag.KEYS_TAB, ?Asset:Dynamic)
243+
public function new(Callback:String->IFlxUIWidget->Void, InputMethod:Int = FlxUICursor.INPUT_KEYS, DefaultKeys = FlxUICursorInputFlag.KEYS_TAB, ?Asset:Dynamic)
244244
{
245245
if (Asset == null)
246246
{ // No asset detected? Guess based on game's resolution

flixel/addons/ui/FlxUIList.hx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ class FlxUIList extends FlxUIGroup
7777
* @param NextButton Button to Scroll +
7878
*/
7979
public function new(X:Float = 0, Y:Float = 0, ?Widgets:Array<IFlxUIWidget> = null, W:Float = 0, H:Float = 0, ?MoreString:String = "<X> more...",
80-
?Stacking:Int = STACK_VERTICAL, ?Spacing:Float = 0, PrevButtonOffset:FlxPoint = null, NextButtonOffset:FlxPoint = null,
80+
?Stacking:Int = FlxUIList.STACK_VERTICAL, ?Spacing:Float = 0, PrevButtonOffset:FlxPoint = null, NextButtonOffset:FlxPoint = null,
8181
PrevButton:IFlxUIButton = null, NextButton:IFlxUIButton = null)
8282
{
8383
_skipRefresh = true;

flixel/addons/ui/FlxUINumericStepper.hx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ class FlxUINumericStepper extends FlxUIGroup implements IFlxUIWidget implements
200200
* @param IsPercent Whether to portray the number as a percentage
201201
*/
202202
public function new(X:Float = 0, Y:Float = 0, StepSize:Float = 1, DefaultValue:Float = 0, Min:Float = -999, Max:Float = 999, Decimals:Int = 0,
203-
Stack:Int = STACK_HORIZONTAL, ?TextField:FlxText, ?ButtonPlus:FlxUITypedButton<FlxSprite>, ?ButtonMinus:FlxUITypedButton<FlxSprite>,
203+
Stack:Int = FlxUINumericStepper.STACK_HORIZONTAL, ?TextField:FlxText, ?ButtonPlus:FlxUITypedButton<FlxSprite>, ?ButtonMinus:FlxUITypedButton<FlxSprite>,
204204
IsPercent:Bool = false)
205205
{
206206
super(X, Y);

0 commit comments

Comments
 (0)