]> git.llucax.com Git - z.facultad/75.06/emufs.git/blobdiff - emufs_gui/gui.c
* Ver Registros muestra el primer registro de articulos en pantalla (con scrol!...
[z.facultad/75.06/emufs.git] / emufs_gui / gui.c
index 7a32c5aaf71df6ebb064eb1f608a0c581097a80d..4d21e61a229deae5db4dd04fa96e93a248736672 100644 (file)
@@ -10,6 +10,7 @@
 #include "articulos.h"
 #include "facturas.h"
 #include "emufs.h"
+#include "registros.h"
 
 #define CTRLD 4
 
@@ -84,7 +85,14 @@ int main(int argc, char *argv[])
                                menu_articulos();
                        break;
                //      case 1:
-               //      case 2:
+                       case 2:
+                               dialog = derwin(stdscr, LINES-4, COLS-2, 2, 1);
+                               ver_registros(dialog, COLS-2, LINES-4);
+                               werase(dialog);
+                               wrefresh(dialog);
+                               delwin(dialog);
+                               refresh();
+                       break;
                //      case 3:
                        case 6:
                                fin = 1;