[orx-gui] Add GUIAppearance to configure base color and bar width

This commit is contained in:
Edwin Jakobs
2022-09-29 11:40:03 +02:00
parent b6d77837c6
commit 6e493b3fb2
8 changed files with 98 additions and 63 deletions

View File

@@ -40,9 +40,9 @@ fun main() = application {
drawer.fill = settings.color
drawer.circle(settings.position * drawer.bounds.position(1.0, 1.0), settings.radius)
drawer.circles(
settings.radii.mapIndexed { i, radius ->
Circle(width - 50.0, 60.0 + i * 70.0, radius)
}
settings.radii.mapIndexed { i, radius ->
Circle(width - 50.0, 60.0 + i * 70.0, radius)
}
)
}
}