This repository has been archived on 2023-08-08. You can view files and clone it, but cannot push or open issues or pull requests.
tomo-old/theme/scroll.go

20 lines
384 B
Go
Raw Normal View History

2023-01-20 12:40:00 -07:00
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
}
}