// -- WIN32IDE ---
TabBar* WIN32IDE :: createOutputBar()
{
   TabBar* tabBar = new TabBar(_appWindow, Settings::tabWithAboveScore);

   _output = new Output(tabBar, _appWindow);
   _messageList = new MessageLog(tabBar);

   tabBar->addTabChild(OUTPUT_TAB, _output);
   tabBar->addTabChild(MESSAGES_TAB, _messageList);

   tabBar->_setHeight(120);

   Splitter* bottomSplitter = new Splitter(_appWindow, tabBar, false, IDM_LAYOUT_CHANGED);

   bottomSplitter->_setConstraint(60, 100);

   _appWindow->_getLayoutManager()->setAsBottom(bottomSplitter);

   controls.add(tabBar);
   controls.add(_output);
   controls.add(_messageList);
   controls.add(bottomSplitter);

   return tabBar;
}
Exemple #2
0
void MainWindow :: openCallList()
{
   TabBar* tabBar = ((TabBar*)_controls[CTRL_TABBAR]);

   tabBar->addTabChild(CALLSTACK_TAB, (Control*)_controls[CTRL_CALLLIST]);
   tabBar->show();
   tabBar->selectTabChild((Control*)_controls[CTRL_CALLLIST]);
}
Exemple #3
0
void MainWindow :: openMessageList()
{
   TabBar* tabBar = ((TabBar*)_controls[CTRL_TABBAR]);

   tabBar->addTabChild(MESSAGES_TAB, (Control*)_controls[CTRL_MESSAGELIST]);
   tabBar->show();
   tabBar->selectTabChild((Control*)_controls[CTRL_MESSAGELIST]);
}
Exemple #4
0
void MainWindow :: openOutput()
{
   TabBar* tabBar = ((TabBar*)_controls[CTRL_TABBAR]);

   tabBar->addTabChild(OUTPUT_TAB, (Control*)_controls[CTRL_OUTPUT]);
   tabBar->selectTabChild((Control*)_controls[CTRL_OUTPUT]);
   tabBar->show();
}
Exemple #5
0
void MainWindow :: openDebugWatch()
{
   if (!isControlVisible(CTRL_CONTEXTBOWSER)) {
      TabBar* tabBar = ((TabBar*)_controls[CTRL_TABBAR]);

      tabBar->addTabChild(WATCH_TAB, (Control*)_controls[CTRL_CONTEXTBOWSER]);
      tabBar->selectTabChild((Control*)_controls[CTRL_CONTEXTBOWSER]);
      tabBar->show();

      showControls(CTRL_CONTEXTBOWSER, CTRL_CONTEXTBOWSER);
   }
   refreshControl(CTRL_CONTEXTBOWSER);
   refresh();
}