public void OnClick(eDriven.Core.Events.Event e) { //eDriven.Core.Events.MouseEvent e2 = (eDriven.Core.Events.MouseEvent)e; Component component = GuiLookup.Produce("dialog"); //Debug.Log("Popping up " + component); if (null != component) PopupManager.Instance.AddPopup(component, false); // modal = false }
// fires after the component and its children have been created and layed out public void OnCreationComplete(eDriven.Core.Events.Event e) { SystemManager.Instance.ResizeSignal.Connect(ResizeSlot); SetLabelText(SystemManager.Instance.ScreenSize); }
public void ShowAlert(eDriven.Core.Events.Event e) { //eDriven.Core.Events.MouseEvent e2 = (eDriven.Core.Events.MouseEvent)e; Alert.Show("Foo", "Bar", AlertButtonFlag.Ok); }
// fires after the GUI component is initialized public void InitializeComponent(eDriven.Gui.Components.Component component) { //eDriven.Gui.Components.Button button = (eDriven.Gui.Components.Button)component; }
// fires after the GUI component is instantiated public void ComponentInstantiated(eDriven.Gui.Components.Component component) { //eDriven.Gui.Components.Button button = (eDriven.Gui.Components.Button)component; }
private void OnTimerComplete(eDriven.Core.Events.Event e) { _timer.Stop(); SystemManager.Instance.Enabled = false; }