[Freeciv-Dev] (PR#2451) Grid drawn over flag.
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
[glip - Fri Nov 29 13:09:30 2002]:
> The attached picutre shows red grid drawn over flag in a city dialog.
Not
> that I care any about such gui stuff, but thought I should point it out
> to those who do care ;)
From client/gui-gtk-2.0/citydlg.c:
/* This sometimes will draw one of the lines on top of a city or
unit pixmap. This should maybe be moved to put_one_tile_pixmap()
to fix this, but maybe it wouldn't be a good idea because the
lines would get obscured. */
city_map_checked_iterate(pcity->x, pcity->y, x, y, map_x, map_y) {
if (tile_get_known(map_x, map_y)) {
int canvas_x, canvas_y;
city_pos_to_canvas_pos(x, y, &canvas_x, &canvas_y);
if (pcity->city_map[x][y] == C_TILE_UNAVAILABLE) {
pixmap_frame_tile_red(pdialog->map_canvas_store,
canvas_x, canvas_y);
}
}
}
city_map_checked_iterate_end;
Other clients are probably similar.
jason
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Freeciv-Dev] (PR#2451) Grid drawn over flag.,
Jason Short via RT <=
|
|