| 69 | } |
| 70 | |
| 71 | GdkImlibImage * |
| 72 | image_of_worn_object(struct obj *o) |
| 73 | { |
| 74 | int glyph; |
| 75 | GdkImlibImage *im; |
| 76 | |
| 77 | if (o) |
| 78 | glyph = obj_to_glyph(o, rn2_on_display_rng); |
| 79 | else |
| 80 | glyph = cmap_to_glyph(S_stone); |
| 81 | |
| 82 | im = ghack_image_from_glyph(glyph, FALSE); |
| 83 | |
| 84 | return im; |
| 85 | } |
| 86 | |
| 87 | void |
| 88 | ghack_worn_display(GtkWidget *win, boolean block, gpointer data) |
no test coverage detected