// ================================================================================= // Initialization // --------------------------------------------------------------------------------- /// Builds and iniotializes the library display controller. public LibraryDisplayController() { // -- Initialize panel. -- myTreeView = new DSTreeView(new RectOffset(0, 0, 0, 0), false, this, 16, 2); // -- Initialize the cursor -- Reset(); // -- Load the user options. -- showInheritedMembers = Prefs.LibraryInheritedOption; showProtectedMembers = Prefs.LibraryProtectedOption; }
// --------------------------------------------------------------------------------- public void Init(iCS_EditorObject target, iCS_IStorage iStorage) { myTarget = target; myIStorage = iStorage; BuildTree(); if (myTreeView == null) { myTreeView = new DSTreeView(new RectOffset(0, 0, 0, 0), false, this, 16, 2); } if (myIterStackNode == null) { myIterStackNode = new Stack <Prelude.Tree <iCS_EditorObject> >(); } if (myIterStackChildIdx == null) { myIterStackChildIdx = new Stack <int>(); } }