First commit 04/09/1996
This commit is contained in:
124
ZORR.H
Normal file
124
ZORR.H
Normal file
@ -0,0 +1,124 @@
|
||||
#include <dos.h>
|
||||
|
||||
#define DIBUJA 1
|
||||
#define DEPRIME 2
|
||||
#define Dibuja_Todos 3
|
||||
#define COMPRUEBA 4
|
||||
#define STD_BY 5
|
||||
|
||||
#define NORMAL 0
|
||||
#define INTENSO 1
|
||||
|
||||
#define ATRAS -1
|
||||
#define NUEVA_BUSQUEDA 0
|
||||
#define ADELANTE 1
|
||||
|
||||
#define SEC_OPTAR 5
|
||||
#define ENCUADRE 3
|
||||
|
||||
// Niveles de acceso al programa
|
||||
#define TOTAL 0
|
||||
#define USUARIO 1
|
||||
#define NINGUNO 2
|
||||
|
||||
|
||||
typedef struct
|
||||
{
|
||||
char FillBgS, FillBgC;
|
||||
char NumFg, NumBg, NumLn;
|
||||
char TxtBgN, TxtBgI, TxtFgN, TxtFgI;
|
||||
char Printer, PrintTo[80];
|
||||
} CONFIG;
|
||||
|
||||
|
||||
struct hora
|
||||
{
|
||||
char min; // Minutos y hora
|
||||
char hora;
|
||||
};
|
||||
|
||||
struct ComprasSocios
|
||||
{
|
||||
unsigned char dia;
|
||||
unsigned char mes;
|
||||
long Cantidad;
|
||||
};
|
||||
|
||||
typedef struct
|
||||
{
|
||||
long NSocio;
|
||||
char Nombre[15+1];
|
||||
char Apellido[20+1];
|
||||
char Direccion[25+1];
|
||||
int Num;
|
||||
char Piso[4+1];
|
||||
|
||||
int NCompras;
|
||||
struct ComprasSocios CSocios[240];
|
||||
|
||||
} INFO_SOCIOS;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
struct date Fecha;
|
||||
char Articulo[25+1];
|
||||
int Proveedor;
|
||||
long Precio;
|
||||
int Cantidades;
|
||||
} INFO_PRECIOS;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
char Articulo[45+1];
|
||||
long Precio;
|
||||
char Ubicacion[14+1];
|
||||
long PrecioArt;
|
||||
} INFO_ARTICULOS;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
int Optar( int optar, ... );
|
||||
void ponicono(int x,int y,char matriz[18][18], char pos);
|
||||
void formatea_u_long( unsigned long Numero, char *Inter_Chg);
|
||||
int InputCadenaG(char *s, int numalp, int lmax, int cc, int cf, int X0, int Y0, int X1, int Y1);
|
||||
void Error( int code );
|
||||
|
||||
|
||||
// M<>dulo de referencias
|
||||
void InfoProductos(void);
|
||||
|
||||
// M<>dulo de Compras
|
||||
void ComprasDiarias( int NivelAcceso );
|
||||
|
||||
// Informacion de los proveedores
|
||||
void InfoProveedores(void);
|
||||
|
||||
//<2F><>
|
||||
void espera_soltar(void);
|
||||
void espera_pulsar(void);
|
||||
void activa_raton(void);
|
||||
void desactiva_raton(void);
|
||||
void inicializa_raton_texto(void);
|
||||
struct Boton_Texto{
|
||||
char x; char y;
|
||||
char Texto[80];
|
||||
|
||||
int ID_T1;
|
||||
int ID_T2;
|
||||
};
|
||||
|
||||
|
||||
|
||||
int Funcion_Botones(int Funcion, int nBotones, struct Boton_Texto *Boton_Texto);
|
||||
|
||||
extern int boton_izq, boton_der;
|
||||
extern int x_raton, y_raton, RATON;
|
||||
|
||||
//<2F><>
|
||||
|
||||
extern int AnoActual;
|
Reference in New Issue
Block a user