~eliasnaur/gio-example

e051ef6e06ab1130c55d9ff49ab3327bf552ac9a — Egon Elbre 7 months ago e49702a
mod: bump gioui.org and gioui.org/x

Signed-off-by: Egon Elbre <egonelbre@gmail.com>
5 files changed, 8 insertions(+), 16 deletions(-)

M 7gui/timer/main.go
M galaxy/main.go
M go.mod
M go.sum
M kitchen/kitchen.go
M 7gui/timer/main.go => 7gui/timer/main.go +0 -2
@@ 106,8 106,6 @@ func (ui *UI) Run(w *app.Window) error {
			}
		}
	}

	return nil
}

// Layout displays the main program layout.

M galaxy/main.go => galaxy/main.go +1 -1
@@ 326,7 326,7 @@ func layoutSelectionLayer(gtx C) D {
		paint.FillShape(gtx.Ops, color.NRGBA{R: 255, A: 100}, clip.Rect(selected).Op())
	}
	pr := clip.Rect(image.Rectangle{Max: gtx.Constraints.Max}).Push(gtx.Ops)
	pointer.CursorNameOp{Name: pointer.CursorCrossHair}.Add(gtx.Ops)
	pointer.CursorCrosshair.Add(gtx.Ops)
	pointer.InputOp{
		Tag:   &selected,
		Types: pointer.Press | pointer.Release | pointer.Drag,

M go.mod => go.mod +2 -2
@@ 3,8 3,8 @@ module gioui.org/example
go 1.16

require (
	gioui.org v0.0.0-20220131180029-7204632c39d4
	gioui.org/x v0.0.0-20220201115349-8fb85f1fee87
	gioui.org v0.0.0-20220301130546-cdb288d1f98a
	gioui.org/x v0.0.0-20220301163640-8b9099e590c1
	github.com/go-gl/gl v0.0.0-20210315015930-ae072cafe09d
	github.com/go-gl/glfw/v3.3/glfw v0.0.0-20210311203641-62640a716d48
	github.com/google/go-github/v24 v24.0.1

M go.sum => go.sum +4 -7
@@ 34,9 34,8 @@ dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7
dmitri.shuralyov.com/gpu/mtl v0.0.0-20201218220906-28db891af037/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU=
gioui.org v0.0.0-20210910062418-d5d0a75a9bcb/go.mod h1:BTldRXnY5mrUrYZCdWyDwyMzyUzpfZN1cF4MMRrOt9w=
gioui.org v0.0.0-20211103131231-1d0769ae89a5/go.mod h1:yoWOxPng6WkDpsud+NRmkoftmyWn3rkKsYGEcWHpjTI=
gioui.org v0.0.0-20220105104929-8d8aeef66bef/go.mod h1:yoWOxPng6WkDpsud+NRmkoftmyWn3rkKsYGEcWHpjTI=
gioui.org v0.0.0-20220131180029-7204632c39d4 h1:U32jWptv5WOmkoNyVQlXHk8+4gK7xBjlR87LspNUMpg=
gioui.org v0.0.0-20220131180029-7204632c39d4/go.mod h1:yoWOxPng6WkDpsud+NRmkoftmyWn3rkKsYGEcWHpjTI=
gioui.org v0.0.0-20220301130546-cdb288d1f98a h1:U6lUDZA/0Vk6TUrXD2gEKIyujnnEBG3ub+NRojEXLHo=
gioui.org v0.0.0-20220301130546-cdb288d1f98a/go.mod h1:yoWOxPng6WkDpsud+NRmkoftmyWn3rkKsYGEcWHpjTI=
gioui.org/cmd v0.0.0-20211103131231-1d0769ae89a5/go.mod h1:qrH3h4nt/PyIqx/XabL/eJ5cXQnQ0ERHqC3VEXx/Rmg=
gioui.org/cpu v0.0.0-20210808092351-bfe733dd3334/go.mod h1:A8M0Cn5o+vY5LTMlnRoK3O5kG+rH0kWfJjeKd9QpBmQ=
gioui.org/cpu v0.0.0-20210817075930-8d6a761490d2 h1:AGDDxsJE1RpcXTAxPG2B4jrwVUJGFDjINIPi1jtO6pc=


@@ 44,10 43,8 @@ gioui.org/cpu v0.0.0-20210817075930-8d6a761490d2/go.mod h1:A8M0Cn5o+vY5LTMlnRoK3
gioui.org/shader v1.0.2/go.mod h1:mWdiME581d/kV7/iEhLmUgUK5iZ09XR5XpduXzbePVM=
gioui.org/shader v1.0.6 h1:cvZmU+eODFR2545X+/8XucgZdTtEjR3QWW6W65b0q5Y=
gioui.org/shader v1.0.6/go.mod h1:mWdiME581d/kV7/iEhLmUgUK5iZ09XR5XpduXzbePVM=
gioui.org/x v0.0.0-20220105211426-ffad81642756 h1:zLf4bSur15cxl3NpqsRMoefKlCP0SkVGrViUYMMdXC0=
gioui.org/x v0.0.0-20220105211426-ffad81642756/go.mod h1:4TBvhIO9Pn30hcg3iCz8RtVemMn08T/QG2lZ534XAR8=
gioui.org/x v0.0.0-20220201115349-8fb85f1fee87 h1:oV/W3TJIgr/1QDZUAaWvmbetcoNI3/dcRIFIAYBYuFk=
gioui.org/x v0.0.0-20220201115349-8fb85f1fee87/go.mod h1:7PCILVwwJlG7R8vuT9syNITvf5u6zALhFFeUhn6NBMQ=
gioui.org/x v0.0.0-20220301163640-8b9099e590c1 h1:V+NXs1GvYiyLBZAKP1U98btVpsaqrMkFlWjNLwDrjDk=
gioui.org/x v0.0.0-20220301163640-8b9099e590c1/go.mod h1:ep6pW+gAUIwzB6Bnbj2e3kuqV7ZlDsI9OCkrKQUOzv8=
git.wow.st/gmp/jni v0.0.0-20200827154156-014cd5c7c4c0/go.mod h1:+axXBRUTIDlCeE73IKeD/os7LoEnTKdkp8/gQOFjqyo=
git.wow.st/gmp/jni v0.0.0-20210610011705-34026c7e22d0 h1:bGG/g4ypjrCJoSvFrP5hafr9PPB5aw8SjcOWWila7ZI=
git.wow.st/gmp/jni v0.0.0-20210610011705-34026c7e22d0/go.mod h1:+axXBRUTIDlCeE73IKeD/os7LoEnTKdkp8/gQOFjqyo=

M kitchen/kitchen.go => kitchen/kitchen.go +1 -4
@@ 21,7 21,6 @@ import (
	"gioui.org/f32"
	"gioui.org/font/gofont"
	"gioui.org/gpu/headless"
	"gioui.org/io/pointer"
	"gioui.org/io/router"
	"gioui.org/io/system"
	"gioui.org/layout"


@@ 286,9 285,7 @@ func kitchen(gtx layout.Context, th *material.Theme) layout.Dimensions {
						for button.Clicked() {
							green = !green
						}
						dims := material.Button(th, button, "Click me!").Layout(gtx)
						pointer.CursorNameOp{Name: pointer.CursorPointer}.Add(gtx.Ops)
						return dims
						return material.Button(th, button, "Click me!").Layout(gtx)
					})
				}),
				layout.Rigid(func(gtx C) D {