Line pitch of the transcript, tighter than the face's own leading but never so tight that 14px glyphs touch.
| 52 | // Line pitch of the transcript, tighter than the face's own leading but |
| 53 | // never so tight that 14px glyphs touch. |
| 54 | int logRowHeight(void) |
| 55 | { |
| 56 | u32 h = 0; |
| 57 | Gfx::GetTextDimensions(ScriptTile::LOG_SIZE, "0", NULL, &h, FontFamily::Mono); |
| 58 | return std::max((int)h - ScriptTile::LOG_LINE_TIGHTEN, ScriptTile::LOG_SIZE + 2); |
| 59 | } |
| 60 | } |
| 61 | |
| 62 | bool ScriptScreen::sShowing = false; |