96 dlg = gtk_dialog_new_with_buttons(
_(
"Place infrastructure"), NULL, 0,
97 _(
"Close"), GTK_RESPONSE_NO,
101 gtk_dialog_set_default_response(GTK_DIALOG(dlg), GTK_RESPONSE_NO);
102 gtk_window_set_destroy_with_parent(GTK_WINDOW(dlg),
TRUE);
104 main_box = gtk_grid_new();
105 gtk_orientable_set_orientation(GTK_ORIENTABLE(main_box),
106 GTK_ORIENTATION_VERTICAL);
111 sep = gtk_separator_new(GTK_ORIENTATION_HORIZONTAL);
112 gtk_container_add(GTK_CONTAINER(main_box), sep);
115 gtk_container_add(GTK_CONTAINER(main_box),
points_label);
117 sep = gtk_separator_new(GTK_ORIENTATION_HORIZONTAL);
118 gtk_container_add(GTK_CONTAINER(main_box), sep);
123 gtk_container_add(GTK_CONTAINER(gtk_dialog_get_content_area(GTK_DIALOG(dlg))),
129 gtk_widget_show_all(gtk_dialog_get_content_area(GTK_DIALOG(dlg)));
130 gtk_widget_show(dlg);
bool client_map_is_known_and_seen(const struct tile *ptile, const struct player *pplayer, enum vision_layer vlayer)