Added the BackgroundParent interface
Parents are now able to draw backgrounds for their children. This means we can now have elements inside other elements that aren't restricted to one background color.
This commit is contained in:
@@ -238,7 +238,7 @@ func (Default) Pattern (id tomo.Pattern, state tomo.State, c tomo.Case) artist.P
|
||||
case tomo.PatternMercury: return defaultTextures[13][offset]
|
||||
case tomo.PatternTableHead: return defaultTextures[14][offset]
|
||||
case tomo.PatternTableCell: return defaultTextures[15][offset]
|
||||
default: return patterns.Uhex(0xFF00FFFF)
|
||||
default: return patterns.Uhex(0xFF00FFFF)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user