(
final Graphics g,
final ColorScheme cp,
final AlbiteFont fontPlain,
final AlbiteFont fontItalic,
final char[] chapterBuffer)
| 45 | } |
| 46 | |
| 47 | public void drawSelected( |
| 48 | final Graphics g, |
| 49 | final ColorScheme cp, |
| 50 | final AlbiteFont fontPlain, |
| 51 | final AlbiteFont fontItalic, |
| 52 | final char[] chapterBuffer) { |
| 53 | |
| 54 | AlbiteFont font = |
| 55 | TextPage.chooseFont(fontPlain, fontItalic, style); |
| 56 | |
| 57 | g.setColor(cp.colors[color]); |
| 58 | g.fillRect(x, y, width, height); |
| 59 | font.drawChars(g, cp.colors[ColorScheme.COLOR_BACKGROUND], chapterBuffer, |
| 60 | x, y, position, length); |
| 61 | } |
| 62 | |
| 63 | public final String getText(final char[] chapterBuffer) { |
| 64 | //#if !(TinyMode || TinyModeExport || LightMode || LightModeExport) |
nothing calls this directly
no test coverage detected