2023-11-24 05:41:38 +00:00
|
|
|
package funkin.ui.debug.charting.dialogs;
|
|
|
|
|
|
|
|
import funkin.ui.debug.charting.dialogs.ChartEditorBaseDialog.DialogParams;
|
|
|
|
|
|
|
|
@:build(haxe.ui.ComponentBuilder.build("assets/exclude/data/ui/chart-editor/dialogs/about.xml"))
|
|
|
|
class ChartEditorAboutDialog extends ChartEditorBaseDialog
|
|
|
|
{
|
2023-12-16 02:09:01 +00:00
|
|
|
public function new(chartEditorState2:ChartEditorState, params2:DialogParams)
|
2023-11-24 05:41:38 +00:00
|
|
|
{
|
2023-12-16 02:09:01 +00:00
|
|
|
super(chartEditorState2, params2);
|
2023-11-24 05:41:38 +00:00
|
|
|
}
|
|
|
|
|
2023-12-16 02:09:01 +00:00
|
|
|
public static function build(chartEditorState:ChartEditorState, ?closable:Bool, ?modal:Bool):ChartEditorAboutDialog
|
2023-11-24 05:41:38 +00:00
|
|
|
{
|
2023-12-16 02:09:01 +00:00
|
|
|
var dialog = new ChartEditorAboutDialog(chartEditorState,
|
2023-11-24 05:41:38 +00:00
|
|
|
{
|
|
|
|
closable: closable ?? true,
|
|
|
|
modal: modal ?? true
|
|
|
|
});
|
|
|
|
|
|
|
|
dialog.showDialog(modal ?? true);
|
|
|
|
|
|
|
|
return dialog;
|
|
|
|
}
|
|
|
|
}
|