mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-01 23:55:39 +00:00
apps/hello: update to latest gio api
Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
+1
-1
@@ -44,7 +44,7 @@ func loop(w *app.Window) {
|
||||
}
|
||||
var cfg ui.Config
|
||||
faces := &measure.Faces{Config: &cfg}
|
||||
maroon := color.NRGBA{127, 0, 0, 255}
|
||||
maroon := color.RGBA{127, 0, 0, 255}
|
||||
face := faces.For(regular, ui.Sp(72))
|
||||
message := "Hello, Gio"
|
||||
ops := new(ui.Ops)
|
||||
|
||||
Reference in New Issue
Block a user