tengri/Content/UE/PanelWidget.ts

18 lines
468 B
TypeScript

// UE/PanelWidget.ts
import { Name } from '#root/UE/Name.ts';
import { PanelSlot } from '#root/UE/PanelSlot.ts';
import { UEObject } from '#root/UE/UEObject.ts';
import { Widget } from '#root/UE/Widget.ts';
export class PanelWidget extends Widget {
constructor(outer: UEObject | null = null, name: Name | string = Name.NONE) {
super(outer, name);
}
public AddChild(content: Widget): PanelSlot {
console.log(content);
return new PanelSlot();
}
}