2023-12-12 05:24:43 -05:00
|
|
|
package funkin.ui.debug.charting.toolboxes;
|
|
|
|
|
|
|
|
import haxe.ui.containers.dialogs.Dialog;
|
|
|
|
import haxe.ui.containers.dialogs.CollapsibleDialog;
|
|
|
|
import haxe.ui.containers.dialogs.Dialog.DialogEvent;
|
|
|
|
import haxe.ui.core.Component;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* The base class for the Toolboxes (manipulatable, arrangeable control windows) in the Chart Editor.
|
|
|
|
*/
|
|
|
|
// @:nullSafety // TODO: Fix null safety when used with HaxeUI build macros.
|
|
|
|
@:access(funkin.ui.debug.charting.ChartEditorState)
|
|
|
|
class ChartEditorBaseToolbox extends CollapsibleDialog
|
|
|
|
{
|
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
|
|
|
private 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
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Override to implement this.
|
|
|
|
*/
|
|
|
|
public function refresh() {}
|
|
|
|
}
|