mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-04 00:45:35 +00:00
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:
@@ -20,7 +20,7 @@ type checkable struct {
|
||||
Font text.Font
|
||||
IconColor color.RGBA
|
||||
Size unit.Value
|
||||
shaper *text.Shaper
|
||||
shaper text.Shaper
|
||||
checkedStateIcon *Icon
|
||||
uncheckedStateIcon *Icon
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user