예제 #1
0
 /// <summary>
 /// Checks the components.
 /// </summary>
 protected override void CheckComponents()
 {
     if (_drawer == null)
     {
         _drawer = new SceneEntityDrawer(PANEL_TITLE);
     }
     if (_favDrawer == null)
     {
         _favDrawer = new SceneEntityDrawer(PANEL_TITLE);
     }
     if (_screenshotDrawer == null)
     {
         _screenshotDrawer = new ScreenshotDrawer();
     }
     if (_scrolls == null)
     {
         _scrolls = new ScrollableContainer(PANEL_TITLE, true);
     }
     if (_folders == null)
     {
         _folders = new FolderContainer(PANEL_TITLE, true);
     }
     if (_database == null)
     {
         _database = SceneDatabaseProvider.GetDatabase(this);
     }
 }