Compare commits
2 Commits
f45476a5c9
...
82657bf251
Author | SHA1 | Date | |
---|---|---|---|
82657bf251 | |||
992a5b23f9 |
@ -25,7 +25,7 @@ type Theme struct {
|
|||||||
Rules map[theme.Role] Rule
|
Rules map[theme.Role] Rule
|
||||||
|
|
||||||
// Colors maps theme.Color values to color.RGBA values.
|
// Colors maps theme.Color values to color.RGBA values.
|
||||||
Colors map[theme.Color] color.RGBA
|
Colors map[theme.Color] color.Color
|
||||||
|
|
||||||
// This type does not handle icons, and as such, a special icon theme
|
// This type does not handle icons, and as such, a special icon theme
|
||||||
// must be separately specified.
|
// must be separately specified.
|
||||||
@ -138,6 +138,7 @@ func (this *Theme) Apply (object tomo.Object, role theme.Role) event.Cookie {
|
|||||||
this.execute(object, rule.Pressed...)
|
this.execute(object, rule.Pressed...)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
updateStyle()
|
||||||
|
|
||||||
return event.MultiCookie (
|
return event.MultiCookie (
|
||||||
box.OnFocusEnter(updateStyle),
|
box.OnFocusEnter(updateStyle),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user