The R Project SVN R

Rev

Rev 12256 | Rev 12976 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 12256 Rev 12778
Line 911... Line 911...
911
#endif
911
#endif
912
 
912
 
913
static void drawrectangle(int xpos, int ypos, int width, int height,
913
static void drawrectangle(int xpos, int ypos, int width, int height,
914
			  int lwd, int fore)
914
			  int lwd, int fore)
915
{
915
{
-
 
916
    /* only used on screen, so always fast */
916
    gdrawrect(de, lwd, 0, (fore==1)? p->ufg: p->bg,
917
    gdrawrect(de, lwd, 0, (fore==1)? p->ufg: p->bg,
917
	      rect(xpos, ypos, width, height));
918
	      rect(xpos, ypos, width, height), 1);
918
}
919
}
919
 
920
 
920
static void de_drawtext(int xpos, int ypos, char *text)
921
static void de_drawtext(int xpos, int ypos, char *text)
921
{
922
{
922
    gdrawstr(de, p->f, p->fg, pt(xpos, ypos), text);
923
    gdrawstr(de, p->f, p->fg, pt(xpos, ypos), text);