long cookie_value; /* Points to your cookie data */
} COOKIE;
typedef struct {
int textattributes[10]; /* Text saved attributes */
int fillattributes[5]; /* Fill saved attributes */
int lineattributes[6]; /* Line saved attributes */
} XVDIVARS;
typedef struct { long magic; /* Magic number to check if buffer installed */ int vdihandle; /* VDI Handle of buffer (= VDIhandle) */ int pxy[8]; /* Point XY array for memory buffer */ MFDB mfdb,scr; /* Memory Form Definition Blocks of graphics */ char data[]; /* Any extra data */} Buffer;
typedef struct slider
{
int slide_pos; /* Slider position */
int slide_max; /* Slider maximum position */
long slide_acc; /* Slider accumulator */
long slide_step; /* Slider step setting for accumulator */
int slide_tstep; /* Slider step rate for positioning */
int slide_type; /* Slider type (Horizontal or Vertical) */
int slide_increase; /* Slider increase object */
int slide_decrease; /* Slider decrease object */
int slide_slider; /* Slider slide object */
int slide_track; /* Slider track object */
} SLIDER;
typedef struct
{
int curr_sel; /* Currently selected object */
char *sel_text; /* Selection text */
} POPUP;
typedef struct
{
void (*mouse_down)(int, int, int, int, int);
void (*mouse_up)(int, int, int, int, int);
void (*mouse_move)(int, int, int, int, int);
void (*mouse_click)(int, int, int, int);
} ROUTS;
typedef struct extinfo
{
char *te_ptext; /* Pointer to text string */
char *te_ptmplt; /* Pointer to text template */
char *te_pvalid; /* Pointer to validation string */
int te_font; /* Font size */
int te_junk1; /* Unused */
int te_just; /* Text justification */
struct {
unsigned int bord_color : 4; /* Border color */
unsigned int text_color : 4; /* Text display color */
unsigned int transparency : 1; /* vswr_mode to use */
unsigned int fill_ptn : 3; /* Fill pattern */
unsigned int in_color : 4; /* Fill pattern color */