private void DoSettingUpdate() { foreach (LevelToolWindow ltw in mParent.GetAllOpenLevelToolWindows()) { LevelEditor editor = ltw.LevelEditor; //editor.GridShowing = Settings.ShowGrid; //editor.GridSnap = (Settings.SnapToGrid & Settings.ShowGrid); //editor.GridSize = Settings.GridSize; //editor.GridSnapThreshold = Settings.SnapThreshold; editor.UpdateRedraw(); } }
private void mList_SelectedIndexChanged(object sender, EventArgs e) { if (mSuspendChangeEvent) { return; } mEditor.SelectedEntries.Clear(); foreach (int i in mList.SelectedIndices) { mEditor.SelectedEntries.Add(mEditor.Level.Entries[i]); } mEditor.UpdateRedraw(); }