void propertiesForm_LayoutChanged(PropertiesForm obj) { if (respondToPropertiesFormLayout) { layout(); } }
public ExpandingNode(EditInterface editInterface, Widget parentWidget, GuiFrameworkUICallback uiCallback, ExpandingNode parent = null) : base("Anomalous.GuiFramework.Editor.GUI.ExpandingEditInterfaceViewer.ExpandingNode.layout") { this.uiCallback = uiCallback; this.parent = parent; widget.attachToWidget(parentWidget); defaultHeight = widget.Height; caption = (TextBox)widget.findWidget("Caption"); caption.Caption = editInterface.getName(); expandButton = new CheckButton((Button)widget.findWidget("ExpandButton")); expandButton.CheckedChanged += new MyGUIEvent(expandButton_CheckedChanged); childArea = widget.findWidget("ChildArea"); propertiesForm = new PropertiesForm(childArea, uiCallback); propertiesForm.LayoutChanged += propertiesForm_LayoutChanged; this.editInterface = editInterface; editInterface.OnSubInterfaceAdded += editInterface_OnSubInterfaceAdded; editInterface.OnSubInterfaceRemoved += editInterface_OnSubInterfaceRemoved; }
public ContextualPropertiesEditor(PropertiesForm form, PropertiesTable table) { this.form = form; this.table = table; currentEditor = form; }