public ITextDisplay createTextDisplay(String cameraName) { SceneViewWindow sceneWindow = sceneViewController.findWindow(cameraName); if (sceneWindow == null) { sceneWindow = sceneViewController.ActiveWindow; Log.Warning("Could not find SceneViewWindow {0}. Using active window {1} instead.", cameraName, sceneWindow.Name); } MyGUITextDisplay display = new MyGUITextDisplay(this, sceneWindow); displays.Add(display); return(display); }
internal void textDisposed(MyGUITextDisplay display) { displays.Remove(display); }