~eliasnaur/gio-example

go.*: update to gio v0.8.0

Signed-off-by: Chris Waldon <christopher.waldon.dev@gmail.com>
ci: bump go version to latest

The mirror was broken because we started using Go 1.21 features and the CI environment
used Go 1.19. This commit should fix the mirroring to GitHub.

Signed-off-by: Chris Waldon <christopher.waldon.dev@gmail.com>
715969b1 — Alec Avakov 4 months ago
cursor_position: add simple example for mouse event monitoring

Signed-off-by: Alec Avakov <alec.avakov@gmail.com>
customdeco: track the maximized state of the window

References: https://todo.sr.ht/~eliasnaur/gio/600
Signed-off-by: Elias Naur <mail@eliasnaur.com>
go.*: bump Gio to latest version

Needed to access the changes Decorations.Maximized field.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
opengl: [Windows] fix build

Signed-off-by: Chris Waldon <christopher.waldon.dev@gmail.com>
opengl: [macOS] fix build

Signed-off-by: Chris Waldon <christopher.waldon.dev@gmail.com>
opengl: [Wayland] properly resize only the wl_egl_window

Previously we recreated the entire context in order to resize this one type,
which was horribly inefficient on Wayland and deeply wasteful on other platforms
also.

While here, try to clean up and clarify the core event loop.

Signed-off-by: Chris Waldon <christopher.waldon.dev@gmail.com>
go.*: update gio and gio-x to v0.7.0

Signed-off-by: Chris Waldon <christopher.waldon.dev@gmail.com>
multiwindow: fix livelock in NewWindow

Calling app.Window.Option from another render seems to cause a live-lock.

Signed-off-by: Egon Elbre <egonelbre@gmail.com>
go.*: update to gio-x v0.6.1 for explorer bugfix

Signed-off-by: Chris Waldon <christopher.waldon.dev@gmail.com>
go.*: update to gio and gio-x v0.6.0

Signed-off-by: Chris Waldon <christopher.waldon.dev@gmail.com>
opengl: update button state before layout

This ensures screenshot is actually invoked. Thanks to Aurélien Rainone
for the bug report!

Signed-off-by: Chris Waldon <christopher.waldon.dev@gmail.com>
all: update to latest Gio API

The updates to the gioui.org/app package are described by #555.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
hello: restore to hello world example

I had accidentally committed a modified program in its place.

Signed-off-by: Chris Waldon <christopher.waldon.dev@gmail.com>
go.*,all: update to gio and gio-x v0.5.0

Signed-off-by: Chris Waldon <christopher.waldon.dev@gmail.com>
go.*: update gio-x for nav bar bugfix

Signed-off-by: Chris Waldon <christopher.waldon.dev@gmail.com>
go.*: update gio for wayland window decoration fix

Signed-off-by: Chris Waldon <christopher.waldon.dev@gmail.com>
go.*: update to gio v0.4.1

Signed-off-by: Chris Waldon <christopher.waldon.dev@gmail.com>
go.*: update to gio and gio-x v0.4.0

Signed-off-by: Chris Waldon <christopher.waldon.dev@gmail.com>
Next