Sindbad~EG File Manager
/* Functions exported by display.dll */
/* and also those defined in show2d.c and break.c */
/* M. Beeson, for Mathpert, 6.9.94 */
/* 7.14.94 changed 'coord' to 'short' instead of 'unsigned short' */
/* __________________________________________________________*/
#ifndef COORD
typedef short coord;
#define COORD
#endif
MEXPORT_SYMSOUT int bblock(term, term *);
/* Public macros for manipulating bblocked terms */
#define WIDTH(t) (((block *)(t).args)->w)
#define HEIGHT(t) (((block *)(t).args)->h)
/* __________________________________________________________*/
typedef struct
{ int precision;
int separator;
coord breakcol;
coord maxfract;
int anddisplay;
int ordisplay;
int falsedisplay;
unsigned long textcolor;
unsigned long highlightcolor;
unsigned long backgroundcolor;
unsigned long reasoncolor;
} display_control;
extern int precision,separator;
extern coord breakcol,maxfract;
extern int anddisplay,ordisplay,falsedisplay;
MEXPORT_SYMSOUT void get_display_control( display_control *);
MEXPORT_SYMSOUT void set_display_control( display_control *);
/* __________________________________________________________*/
void display(term t,coord x,coord y,char attr);
/* write a bblocked term to the screen,
at specified location and with specified attribute,
assuming it fits */
/*___________________________________________________________*/
MEXPORT_SYMSOUT void wdisplay(unsigned long hdc, term, int, int, unsigned long);
MEXPORT_SYMSOUT void destroy_bblocked_term(term);
MEXPORT_SYMSOUT unsigned long get_highlightcolor(void);
MEXPORT_SYMSOUT unsigned long get_textcolor(void);
MEXPORT_SYMSOUT unsigned long get_backgroundcolor(void);
void set_wtextcolor(unsigned long);
void write_ddx(term t, coord x, coord z, char attr); /* used in ldisplay */
void write_dndxn(term t, term n, coord x, coord z, char attr);
void write_sigma(unsigned char f, term index, term lo, term hi, coord x, coord z, char attr);
coord write_lim(term lo, int n, term dir, coord x, coord z, char attr);
MEXPORT_SYMSOUT coord get_powerspace(void);
MEXPORT_SYMSOUT coord save_space(term);
MEXPORT_SYMSOUT unsigned char Translate(unsigned char, int *);
MEXPORT_SYMSOUT long text_width(char *, short);
MEXPORT_SYMSOUT void set_decimalpoint(char c);
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists