| 41 | } |
| 42 | |
| 43 | static uint16_t getSmallerLineHeight(Font font) |
| 44 | { |
| 45 | if (font == Font::medium_normal || font == Font::medium_bold) |
| 46 | { |
| 47 | return 5; |
| 48 | } |
| 49 | else if (font == Font::small) |
| 50 | { |
| 51 | return 3; |
| 52 | } |
| 53 | else if (font == Font::large) |
| 54 | { |
| 55 | return 9; |
| 56 | } |
| 57 | return 0; |
| 58 | } |
| 59 | |
| 60 | static void setTextColours(TextDrawingState& drawState, PaletteIndex_t pal1, PaletteIndex_t pal2, PaletteIndex_t pal3) |
| 61 | { |
no outgoing calls
no test coverage detected