forked from joejulian/gio
text: make Shaper an interface
And rename out the caching implementation to FontRegistry. Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
@@ -24,7 +24,7 @@ type Button struct {
|
||||
Font text.Font
|
||||
Background color.RGBA
|
||||
CornerRadius unit.Value
|
||||
shaper *text.Shaper
|
||||
shaper text.Shaper
|
||||
}
|
||||
|
||||
type IconButton struct {
|
||||
|
||||
Reference in New Issue
Block a user