2023-12-12 10:24:43 +00: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-16 02:09:01 +00:00
|
|
|
var chartEditorState:ChartEditorState;
|
2023-12-12 10:24:43 +00:00
|
|
|
|
2023-12-16 02:09:01 +00:00
|
|
|
private function new(chartEditorState:ChartEditorState)
|
2023-12-12 10:24:43 +00:00
|
|
|
{
|
|
|
|
super();
|
|
|
|
|
2023-12-16 02:09:01 +00:00
|
|
|
this.chartEditorState = chartEditorState;
|
2023-12-12 10:24:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Override to implement this.
|
|
|
|
*/
|
|
|
|
public function refresh() {}
|
|
|
|
}
|