Sindbad~EG File Manager

Current Path : /usr/home/beeson/MathXpert/
Upload File :
Current File : /usr/home/beeson/MathXpert/display.h

/* 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' */
/* 9.2.07  changed 'coord' to 'int'  */
/* __________________________________________________________*/
#ifndef DISPLAYH
#define DISPLAYH
#ifndef COORD
typedef int coord;  // duplicate definition in document.h, watch out.
#define COORD
#endif
int bblock(term, term *);
/* Public macros for manipulating bblocked terms */
#define WIDTH(t)   (((block *)(t).args)->w)
#define HEIGHT(t)  (((block *)(t).args)->h)
#define SIZE(t)    (((block *)(t).args)->size)
/* __________________________________________________________*/
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 */

/*___________________________________________________________*/

void wdisplay(unsigned long hdc, term, int, int, unsigned long);
void destroy_bblocked_term(term);
int get_highlightcolor(void);
int get_textcolor(void);
int get_backgroundcolor(void);
void set_wtextcolor(int);
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);
coord get_powerspace(void);
coord save_space(term);
long text_width(char *, short);
void set_decimalpoint(char c);
long xpixel_to_papyrus(long x);
long ypixel_to_papyrus(long y);
long papyrus_to_xpixel(long x);
long papyrus_to_ypixel(long y);
#endif


Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists