Waldemar Schultz escribió:
Mariano Alvarez Fernandez wrote:
What about installing the file grx*.inf to $DJDIR/info/grx.inf ? so one can type 'info grx' to get started.
OK, but some aditional thing is needed to add it to the main menu, do you know what is it? (sorry my knowledge about info is very low)
GRX
- GRX: (grx). GRAPHICS
AFAIK these two lines have to be inserted into file '$DJDIR/info/dir' if not already present, so we need something like sed to do it :( maybe there exists a tool for it (installinfo?)
Some body knows?
void __gr_cleardevice(void) { _DO_INIT_CHECK; GrResetClipBox(); //why twice? //wsz GrFilledBox( 0, 0+PY, getmaxx(), getmaxy()+PY, BLACK); __gr_Reset_ClipBox(); //why twice? GrClearScreen(__gr_colorbg); //wsz moveto( 0, 0); }
I'm not sure (I don't use and don't know well bccgrx), but I think we have discuss this some time ago and Harmuth said GrFilledBox is necesary to simulate screen pages. But the issue, can be fixed changing BLACK to __gr_colorbg?
GrFilledBox( 0, 0+PY, getmaxx(), getmaxy()+PY, __gr_colorbg); seems to work fine. IMHO we should simply change it.
OK