X-Git-Url: https://git.llucax.com/z.facultad/75.06/emufs.git/blobdiff_plain/9e79e758e4e3abd28c321b8f9859b02dfdd91d93..05ca3169ccbbf6c7bde9b7c7fe4749c25e6d9dc1:/emufs_gui/gui.c?ds=sidebyside diff --git a/emufs_gui/gui.c b/emufs_gui/gui.c index 4dca288..95c5fee 100644 --- a/emufs_gui/gui.c +++ b/emufs_gui/gui.c @@ -232,7 +232,15 @@ int main(int argc, char *argv[]) break; case 2: dialog = derwin(stdscr, LINES-4, COLS-2, 2, 1); - ver_registros(dialog, COLS-2, LINES-4); + ver_registros(dialog, COLS-2, LINES-4, 0); + werase(dialog); + wrefresh(dialog); + delwin(dialog); + refresh(); + break; + case 3: + dialog = derwin(stdscr, LINES-4, COLS-2, 2, 1); + ver_registros(dialog, COLS-2, LINES-4, 1); werase(dialog); wrefresh(dialog); delwin(dialog); @@ -406,13 +414,19 @@ void menu_mantenimiento() while ((opt = menu_ejecutar(mi_menu, 7, "Menu Mantenimiento")) != 6) { switch (opt) { case 0: + dlg = msg_box(stdscr, COLS, LINES, "Compactando archivo.... Aguarde"); art_get_lst()->fp->compactar(art_get_lst()->fp); + msg_box_free(stdscr, dlg); break; case 1: + dlg = msg_box(stdscr, COLS, LINES, "Compactando archivo.... Aguarde"); fact_get_lst()->fp->compactar(fact_get_lst()->fp); + msg_box_free(stdscr, dlg); break; case 2: + dlg = msg_box(stdscr, COLS, LINES, "Compactando archivo.... Aguarde"); fact_get_lst()->fp_texto->compactar(fact_get_lst()->fp_texto); + msg_box_free(stdscr, dlg); break; case 3: nuevo_tam_registro = -1; /* No permito cambiar el tamaƱo de registro */