2023-12-12 05:24:43 -05:00
|
|
|
package funkin.ui.debug.charting.dialogs;
|
|
|
|
|
|
|
|
import haxe.ui.containers.dialogs.Dialog;
|
|
|
|
import haxe.ui.containers.dialogs.Dialog.DialogEvent;
|
|
|
|
import haxe.ui.animation.AnimationBuilder;
|
|
|
|
import haxe.ui.styles.EasingFunction;
|
|
|
|
import haxe.ui.core.Component;
|
|
|
|
import haxe.ui.containers.menus.Menu;
|
|
|
|
|
|
|
|
// @:nullSafety // TODO: Fix null safety when used with HaxeUI build macros.
|
|
|
|
@:access(funkin.ui.debug.charting.ChartEditorState)
|
|
|
|
class ChartEditorBaseMenu extends Menu
|
|
|
|
{
|
2023-12-15 21:09:01 -05:00
|
|
|
var chartEditorState:ChartEditorState;
|
2023-12-12 05:24:43 -05:00
|
|
|
|
2023-12-15 21:09:01 -05:00
|
|
|
public function new(chartEditorState:ChartEditorState)
|
2023-12-12 05:24:43 -05:00
|
|
|
{
|
|
|
|
super();
|
|
|
|
|
2023-12-15 21:09:01 -05:00
|
|
|
this.chartEditorState = chartEditorState;
|
2023-12-12 05:24:43 -05:00
|
|
|
|
|
|
|
// this.destroyOnClose = true;
|
|
|
|
}
|
|
|
|
}
|