void ScreenUpdates_Enable (void) { ASSERT_MESSAGE(!ScreenUpdates_Enabled(), "screen updates already enabled"); g_wait_stack.pop_back(); if (g_wait_stack.empty()) { map::AutoSaver().startTimer(); gtk_grab_remove(GTK_WIDGET(g_wait.m_window)); destroy_floating_window(g_wait.m_window); g_wait.m_window = 0; } else if (GTK_WIDGET_VISIBLE(g_wait.m_window)) { gtk_label_set_text(g_wait.m_label, g_wait_stack.back().c_str()); ScreenUpdates_process(); } }
void EntityList_destroyWindow() { DetachEntityTreeModel(); EntityList_DisconnectSignals(getEntityList().m_tree_view); destroy_floating_window(getEntityList().m_window); }
void GroupDialog_destroyWindow() { ASSERT_NOTNULL(g_GroupDlg.m_window); destroy_floating_window(g_GroupDlg.m_window); g_GroupDlg.m_window = 0; }