// -- 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; }
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]); }
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]); }
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(); }
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(); }