Display overlay text in the UI
We still have fonts to do, so this is very ugly, but it at least shows *something* on the screen now.
This commit is contained in:
@@ -66,7 +66,7 @@ func registerMainButton(d *Driver, r *menus.Record) error {
|
||||
baseSpr: sprites[0],
|
||||
clickSpr: sprites[1],
|
||||
frozenSpr: sprites[2],
|
||||
hoverImpl: hoverImpl{text: r.Desc},
|
||||
hoverImpl: hoverImpl{text: r.Text},
|
||||
},
|
||||
}
|
||||
|
||||
@@ -89,7 +89,7 @@ func registerButton(d *Driver, r *menus.Record, spriteId int) error {
|
||||
baseSpr: sprites[0],
|
||||
clickSpr: sprites[1],
|
||||
frozenSpr: sprites[2],
|
||||
hoverImpl: hoverImpl{text: r.Desc},
|
||||
hoverImpl: hoverImpl{text: r.Text},
|
||||
}
|
||||
|
||||
d.clickables = append(d.clickables, btn)
|
||||
|
Reference in New Issue
Block a user