Compare commits
No commits in common. "82657bf251d3994979872c4fb6945b73477ad0da" and "f45476a5c99dd95025dc61161c14e6a667d5a46c" have entirely different histories.
82657bf251
...
f45476a5c9
@ -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.Color
|
Colors map[theme.Color] color.RGBA
|
||||||
|
|
||||||
// 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,7 +138,6 @@ 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