UIDialog.AddChild(IUIComponent) Method
Definition
Namespace: Brine2D.UI
Adds an arbitrary UI component to the dialog's content area. Child positions are
dialog-relative: (0, 0) is the top-left corner of the dialog. The component
is offset by the dialog's current Brine2D.UI.UIDialog.Position during rendering and input
dispatch, so it moves with the dialog when it is dragged or re-centered.
Parameters
child IUIComponent