| 271 | } |
| 272 | |
| 273 | S32 ROMFont::GetWidth(char* string) |
| 274 | { |
| 275 | S32 iVar1; |
| 276 | void* image[1]; |
| 277 | S32 x; |
| 278 | S32 y; |
| 279 | S32 width; |
| 280 | |
| 281 | iVar1 = 0; |
| 282 | while (*string != '\0') |
| 283 | { |
| 284 | string = OSGetFontTexture(string, image, (s32*)&x, (s32*)&y, (s32*)&width); |
| 285 | iVar1 = iVar1 + width; |
| 286 | } |
| 287 | return iVar1; |
| 288 | } |
| 289 | |
| 290 | void ROMFont::DrawTextBox(S32 x, S32 y, S32 width, S32 height, char* str) |
| 291 | { |
nothing calls this directly
no test coverage detected