version 1.10 | | version 1.11 |
---|
| | |
/* | | /* |
* static char *rcsid_map_c = | | * static char *rcsid_map_c = |
* "$Id: CrEdit.c,v 1.10 2006/03/18 17:15:24 ryo_saeba Exp $"; | | * "$Id: CrEdit.c,v 1.11 2006/05/18 05:27:43 mwedel Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
} | | } |
| | |
if (displaymode==Dm_Png) { | | if (displaymode==Dm_Png) { |
op = GET_MAP_FACE_OBJ(self->crEdit.map, x, y, 2); | | int l; |
| | |
| | for (l = 0; l < MAP_LAYERS; l++) { |
| | op = GET_MAP_FACE_OBJ(self->crEdit.map, x, y, l); |
if (op != NULL) | | if (op != NULL) |
DrawPartObject(w, self->crEdit.gc, op, | | DrawPartObject(w, self->crEdit.gc, op, |
x * self->crEdit.fontSize, | | x * self->crEdit.fontSize, |
y * self->crEdit.fontSize); | | y * self->crEdit.fontSize); |
op = GET_MAP_FACE_OBJ(self->crEdit.map, x, y, 1); | | } |
if (op != NULL && op->face->number != blank_face->number) | | |
DrawPartObject(w, self->crEdit.gc, op, | | |
x * self->crEdit.fontSize, | | |
y * self->crEdit.fontSize); | | |
op = GET_MAP_FACE_OBJ(self->crEdit.map, x, y, 0); | | |
if (op != NULL && op->face->number != blank_face->number) | | |
DrawPartObject(w, self->crEdit.gc, op, | | |
x * self->crEdit.fontSize, | | |
y * self->crEdit.fontSize); | | |
} | | } |
op=get_map_ob(self->crEdit.map, x, y); | | op=get_map_ob(self->crEdit.map, x, y); |
while (op && op->above) op=op->above; | | while (op && op->above) op=op->above; |