From f40a7579096e613f6f4d242386833060141951aa Mon Sep 17 00:00:00 2001 From: Joalor64 Date: Thu, 6 Jun 2024 14:03:57 -0400 Subject: [PATCH] Update FlxUIDropDownMenuCustom.hx --- source/objects/FlxUIDropDownMenuCustom.hx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/source/objects/FlxUIDropDownMenuCustom.hx b/source/objects/FlxUIDropDownMenuCustom.hx index 0ec0e4c5..209272b3 100644 --- a/source/objects/FlxUIDropDownMenuCustom.hx +++ b/source/objects/FlxUIDropDownMenuCustom.hx @@ -150,7 +150,7 @@ class FlxUIDropDownMenuCustom extends FlxUIGroup implements IFlxUIWidget impleme public var callback:String->Void; - // private var _ui_control_callback:Bool->FlxUIDropDownMenu->Void; + // private var _ui_control_callback:Bool->FlxUIDropDownMenuCustom->Void; /** * This creates a new dropdown menu. @@ -165,7 +165,7 @@ class FlxUIDropDownMenuCustom extends FlxUIGroup implements IFlxUIWidget impleme * @param UIControlCallback Used internally by FlxUI */ public function new(X:Float = 0, Y:Float = 0, DataList:Array, ?Callback:String->Void, ?Header:FlxUIDropDownHeader, - ?DropPanel:FlxUI9SliceSprite, ?ButtonList:Array, ?UIControlCallback:Bool->FlxUIDropDownMenu->Void) + ?DropPanel:FlxUI9SliceSprite, ?ButtonList:Array, ?UIControlCallback:Bool->FlxUIDropDownMenuCustom->Void) { super(X, Y); callback = Callback; @@ -382,7 +382,7 @@ class FlxUIDropDownMenuCustom extends FlxUIGroup implements IFlxUIWidget impleme return t; } - /*public function setUIControlCallback(UIControlCallback:Bool->FlxUIDropDownMenu->Void):Void { + /*public function setUIControlCallback(UIControlCallback:Bool->FlxUIDropDownMenuCustom->Void):Void { _ui_control_callback = UIControlCallback; }*/ public function changeLabelByIndex(i:Int, NewLabel:String):Void @@ -510,7 +510,7 @@ class FlxUIDropDownMenuCustom extends FlxUIGroup implements IFlxUIWidget impleme * * @param StringArray The strings to use as data - used for both label and string ID. * @param UseIndexID Whether to use the integer index of the current string as ID. - * @return The StrIDLabel array ready to be used in FlxUIDropDownMenu's constructor + * @return The StrIDLabel array ready to be used in FlxUIDropDownMenuCustom's constructor */ public static function makeStrIdLabelArray(StringArray:Array, UseIndexID:Bool = false):Array { @@ -529,7 +529,7 @@ class FlxUIDropDownMenuCustom extends FlxUIGroup implements IFlxUIWidget impleme } /** - * Header for a FlxUIDropDownMenu + * Header for a FlxUIDropDownMenuCustom */ class FlxUIDropDownHeader extends FlxUIGroup { @@ -549,7 +549,7 @@ class FlxUIDropDownHeader extends FlxUIGroup public var button:FlxUISpriteButton; /** - * Creates a new dropdown header to be used in a FlxUIDropDownMenu. + * Creates a new dropdown header to be used in a FlxUIDropDownMenuCustom. * * @param Width Width of the dropdown - only relevant when no back sprite was specified * @param Back Optional sprite to be placed in the background