Elias Naur
90e2a119c0
apps/gophers: update gio version
...
Signed-off-by: Elias Naur <mail@eliasnaur.com >
2019-09-26 18:43:21 +02:00
Elias Naur
a89c6d1c33
all: rename c to gtx for *layout.Context parameters
...
Short like `ctx` but not as easily confused with context.Context
values.
Suggested by Larry Clapp.
Signed-off-by: Elias Naur <mail@eliasnaur.com >
2019-09-25 09:34:12 +02:00
Elias Naur
4d84f46edb
apps: replace separate layout state with layout.Context fields
...
Signed-off-by: Elias Naur <mail@eliasnaur.com >
2019-09-24 22:29:12 +02:00
Elias Naur
b928ee65f7
apps/gophers: update to new layout.Align
...
Signed-off-by: Elias Naur <mail@eliasnaur.com >
2019-09-24 20:35:32 +02:00
Elias Naur
ec307008db
all: update layouts to use layout.Context
...
Signed-off-by: Elias Naur <mail@eliasnaur.com >
2019-09-24 19:14:58 +02:00
Elias Naur
1767588028
apps/gophers: update to function scoped layouts
...
Signed-off-by: Elias Naur <mail@eliasnaur.com >
2019-09-18 21:46:48 +02:00
Elias Naur
7bca7de017
apps/gophers: update gio version
...
Signed-off-by: Elias Naur <mail@eliasnaur.com >
2019-08-30 15:03:49 +02:00
Daniel Martí
e8ba5b6aff
all: remove a couple of unused parameters
...
Both from unexported functions, to keep the change low-risk. Found via
unparam.
Signed-off-by: Daniel Martí <mvdan@mvdan.cc >
2019-08-25 22:48:15 +01:00
Daniel Martí
2542c55e9d
all: fix some issues spotted by static analysis
...
First, vet was upset by two incorrect fmt verbs. One was an extra %x,
when there was just one argument, so remove it. Another was a %p with a
non-pointer. It's a struct, so for now simply use %#v.
Second, staticcheck found some unused or unnecessary bits of code;
remove the obvious ones.
Finally, staticcheck also complained about some error strings which were
capitalized or had periods. Adjust those, which also makes all error
messages more consistent.
Signed-off-by: Daniel Martí <mvdan@mvdan.cc >
2019-08-25 22:41:05 +01:00
Elias Naur
b34389ac2c
apps/gophers: update gio version
...
Signed-off-by: Elias Naur <mail@eliasnaur.com >
2019-08-22 17:19:04 +02:00
Elias Naur
79233a3565
apps/gophers: update gioui.org/ui version
...
Signed-off-by: Elias Naur <mail@eliasnaur.com >
2019-08-10 16:51:45 +02:00
Elias Naur
6d1339733a
apps: update gioui.org/ui
...
Signed-off-by: Elias Naur <mail@eliasnaur.com >
2019-08-10 12:34:58 +02:00
Elias Naur
3d519c5a37
apps/gophers: delete unused fields and arguments
...
Signed-off-by: Elias Naur <mail@eliasnaur.com >
2019-08-07 20:29:39 +02:00
Elias Naur
20f9a72c15
apps: update gioui.org/ui version
...
Signed-off-by: Elias Naur <mail@eliasnaur.com >
2019-08-07 20:15:25 +02:00
Elias Naur
e2df2f394a
apps/gophers: split main into App and UI and add BenchmarkUI
...
Signed-off-by: Elias Naur <mail@eliasnaur.com >
2019-08-02 19:52:26 +02:00