20 lines
384 B
Go
20 lines
384 B
Go
|
package theme
|
||
|
|
||
|
import "git.tebibyte.media/sashakoshka/tomo/artist"
|
||
|
|
||
|
func ScrollGutterPattern (horizontal bool, enabled bool) (artist.Pattern) {
|
||
|
if enabled {
|
||
|
return sunkenPattern
|
||
|
} else {
|
||
|
return disabledButtonPattern
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func ScrollBarPattern (horizontal bool, enabled bool) (artist.Pattern) {
|
||
|
if enabled {
|
||
|
return buttonPattern
|
||
|
} else {
|
||
|
return disabledButtonPattern
|
||
|
}
|
||
|
}
|