First commit 02/07/1999
This commit is contained in:
99
B-T.h
Normal file
99
B-T.h
Normal file
@ -0,0 +1,99 @@
|
||||
#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;
|
||||
|
||||
|
||||
typedef struct
|
||||
{
|
||||
long Codigo;
|
||||
char NIF[10+1];
|
||||
char Nombre[45+1];
|
||||
|
||||
char Direccion[40+1];
|
||||
char Num[4+1];
|
||||
char Piso[4+1];
|
||||
|
||||
char Localidad[25+1];
|
||||
char Provincia[15+1];
|
||||
|
||||
long CodPostal;
|
||||
|
||||
char Cod1;
|
||||
char Cod2;
|
||||
char Cod3;
|
||||
} MAILINGS;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
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