version 1.1 | | version 1.2 |
---|
| | |
if (!tmp) | | if (!tmp) |
tmp = &empty_archetype->clone; | | tmp = &empty_archetype->clone; |
| | |
FaceDraw (wd, w->crFace.gc, tmp->face, x * FONTSIZE, y * FONTSIZE); | | FaceDraw (wd, w->crFace.gc, tmp->face, x * FontSize, y * FontSize); |
return (0); | | return (0); |
} | | } |
| | |
| | |
| | |
if(!self->crFace.ob) return; | | if(!self->crFace.ob) return; |
GetConst(w,&minx,&miny,&maxx,&maxy); | | GetConst(w,&minx,&miny,&maxx,&maxy); |
*width = (maxx - minx + 1) * FONTSIZE; | | *width = (maxx - minx + 1) * FontSize; |
*height = (maxy - miny + 1) * FONTSIZE; | | *height = (maxy - miny + 1) * FontSize; |
} | | } |
| | |
/********************************************************************** | | /********************************************************************** |