Made the stripey sunken background optional

This commit is contained in:
Sasha Koshka
2023-01-26 18:37:44 -05:00
parent 0f9a33fc57
commit b2b2a80a06
3 changed files with 24 additions and 5 deletions

View File

@@ -43,7 +43,7 @@ func (element *ProgressBar) draw () {
artist.FillRectangle (
element.core,
theme.SunkenPattern(),
theme.SunkenPattern(false),
bounds)
meterBounds := image.Rect (
bounds.Min.X + 2, bounds.Min.Y + 2,

View File

@@ -43,7 +43,7 @@ func (element *AnalogClock) draw () {
artist.FillRectangle (
element,
theme.SunkenPattern(),
theme.SunkenPattern(false),
bounds)
for hour := 0; hour < 12; hour ++ {