155
157
add_to_gui_list(ID_TERRAIN_ADV_DLG_EXIT_BUTTON, pBuf);
161
163
my_snprintf(cBuf , sizeof(cBuf), "%s (%d)", city_name(pCity), pCity->size);
163
165
pStr = create_str16_from_char(cBuf , adj_font(10));
164
166
pStr->style |= (TTF_STYLE_BOLD|SF_CENTER);
168
170
pLogo = crop_visible_part_from_surface(pLogo);
171
173
pBuf = create_iconlabel(pLogo, pWindow->dst, pStr,
172
174
(WF_RESTORE_BACKGROUND|WF_DRAW_TEXT_LABEL_WITH_SPACE));
175
177
set_wflag(pBuf, WF_FREE_THEME);
176
178
owner = city_owner(pCity);