home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Datafile PD-CD 3
/
PDCD_3.iso
/
internet
/
netlite
/
NET
/
h
/
WINDOW
< prev
Wrap
Text File
|
1993-04-12
|
1KB
|
64 lines
#define SPRITE_FILE 0xFF9
#define SPRITE_WIDTH 640
#define SPRITE_HEIGHT 192
#define SPRITE_MODE 12
#define SPRITE_SIZE 660*200+sizeof(sprite_header)+sizeof(sprite_area)
#define SCREEN_WIDTH 80
#define SCREEN_HEIGHT 24
#define TAB_STOPS 8
typedef struct
{
sprite_area *Area;
sprite_id id;
}
Sprite_Details;
static struct Window_Struct
{
#define ESCAPE_NONE 0
#define ESCAPE_FOUND 1
#define ESCAPE_1 2
#define ESCAPE_2 3
#define ESCAPE_3 4
#define ESCAPE_4 5
#define ESCAPE_5 6
int Esc_Flag;
#define FONT_ASCII 0
#define FONT_GRAPH 1
int G0, G1;
#define CHARSET_G0 0
#define CHARSET_G1 1
int Charset;
int Parmptr;
int Parms[6];
char Tabs[SCREEN_WIDTH];
int Top, Bottom;
int x, y;
int Caret;
#define ATTR_NORMAL 0
#define ATTR_REVERSE 1
#define ATTR_BOLD 2
#define ATTR_UNDER 3
#define ATTR_BLINK 4
#define NATTR 5
int Attr;
int Foreground[NATTR];
int Background[NATTR];
int Save_x, Save_y;
int Save_Attr;
int Cursor;
int Old_X, Old_Y;
int X_Div_Mult, Y_Div_Mult;
int X_Mag_Mult, Y_Mag_Mult;
wimp_w Window_Handle;
Sprite_Details Sprite;
int *Save_Area;
struct session *Session;
FILE *Record;
};
/* In WINDOW */
void Update_Window(struct Window_Struct *, wimp_redrawstr);