static int space_dialog_window_callback(struct widget *pWindow) { if (Main.event.button.button == SDL_BUTTON_LEFT) { move_window_group(pWindow->private_data.small_dlg->pBeginWidgetList, pWindow); } return -1; }
static int caravan_dlg_window_callback(struct widget *pWindow) { if (Main.event.button.button == SDL_BUTTON_LEFT) { move_window_group(pCaravan_Dlg->pBeginWidgetList, pWindow); } return -1; }
/**************************************************************** ... *****************************************************************/ static int diplomat_dlg_window_callback(struct widget *pWindow) { if (Main.event.button.button == SDL_BUTTON_LEFT) { move_window_group(pDiplomat_Dlg->pdialog->pBeginWidgetList, pWindow); } return -1; }