| 230 | } |
| 231 | |
| 232 | int ui_GetBitmapHeight(UIBitmapItem *bi) { |
| 233 | if (bi->is_chunked()) { |
| 234 | chunked_bitmap *chunk = bi->get_chunked_bitmap(); |
| 235 | return chunk->ph; |
| 236 | } else { |
| 237 | return bm_h(bi->get_bitmap(), 0); |
| 238 | } |
| 239 | } |
| 240 | |
| 241 | // sets font for text drawing. |
| 242 | void ui_DrawSetFont(int handle) { grtext_SetFont(handle); } |
no test coverage detected