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