more btex styling

This commit is contained in:
minjaesong
2024-04-28 15:17:08 +09:00
parent 30e9f3e2ef
commit 8a1ff32fa7
6 changed files with 253 additions and 130 deletions

View File

@@ -95,8 +95,9 @@ class BTeXPage(
}
fun render(frameDelta: Float, batch: SpriteBatch, x: Int, y: Int, marginH: Int, marginV: Int) {
batch.color = back
batch.color = back.cpy().also { it.a = 0.93f }
Toolkit.fillArea(batch, x, y, width, height)
batch.color = Color.WHITE
drawCalls.forEach {
it.draw(batch, x + marginH, y + marginV)
}