Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/gioui/gio-example

Mirror of the Gio examples repository (https://git.sr.ht/~eliasnaur/gio-example)
https://github.com/gioui/gio-example

multiwindow: add scrollbar to letters window

Signed-off-by: Chris Waldon <[email protected]>

e7686c9ad508cf15f66e9e801e68ae664337c1eb authored over 3 years ago by Chris Waldon <[email protected]>
multiwindow: add scrollbar to log

Signed-off-by: Chris Waldon <[email protected]>

165b2abe6089055b1a3326b254f9ad8b279761f5 authored over 3 years ago by Chris Waldon <[email protected]>
deps: update to latest gioui.org{,/x}

Signed-off-by: Chris Waldon <[email protected]>

8a6881555d81ea41713390b28216fec95a2c8f5f authored over 3 years ago by Chris Waldon <[email protected]>
x/scroll: smooth scrolling heuristic

This change takes advantage of newer fields in list.Position
to render a much smoother scrollbar...

3d00af6c67ba7883fc4b9e305b73f13470dd9492 authored over 3 years ago by Chris Waldon <[email protected]>
kitchen: add ProgressCircle example

Signed-off-by: Elias Naur <[email protected]>

028958f07710dd95990d83c49b07cda5ec044712 authored over 3 years ago by Elias Naur <[email protected]>
opengl: add screenshot function to demonstrate headless rendering

Signed-off-by: Elias Naur <[email protected]>

bb70595dadd8d00e811be521fb7ce69937034c4e authored over 3 years ago by Elias Naur <[email protected]>
opengl: fix build error on Windows

The pointer-ness of EGLDisplay vary by platform.

Signed-off-by: Elias Naur <[email protected]>

3efe9b7e1c636f6617452bff2475256dd0ac3939 authored over 3 years ago by Elias Naur <[email protected]>
opengl: release current context after use

For this example it doesn't matter, but for larger programs that may
have multiple contexts, ANG...

107f05c448a20cd7b24495cc2e6045fb85bbbde5 authored over 3 years ago by Elias Naur <[email protected]>
opengl: use Metal backend on macOS

Metal performs better on resize and display scaling changes, and
is compatible with a future mac...

a1c6599996e368369847830226add3a241b997a8 authored over 3 years ago by Elias Naur <[email protected]>
opengl: add pointer input handler

Signed-off-by: Elias Naur <[email protected]>

8edd23762267e850b79658c7a6503c07ae5976a9 authored over 3 years ago by Elias Naur <[email protected]>
opengl: make context current at each draw

macOS uses a single thread for all window event loops, which means
the window context must be ma...

9861f99f710de8a40bd59f98d1db910e6b79b029 authored over 3 years ago by Elias Naur <[email protected]>
go.*: upgrade Gio

Signed-off-by: Elias Naur <[email protected]>

e95d9c9e6837458bf84b36c2ff294b84c48f7a37 authored over 3 years ago by Elias Naur <[email protected]>
opengl: add example that demonstrates OpenGL rendering to a Gio Window

This example builds upon recent work in the core Gio library that
enables mixing custom renderin...

d78c5d125ea7378380ef01b1448c8adf9f022d32 authored over 3 years ago by Elias Naur <[email protected]>
glfw: support both desktop OpenGL and OpenGL ES on macOS

Signed-off-by: Elias Naur <[email protected]>

1b7022cb9df59f269ce095383f6344a75cb2291b authored over 3 years ago by Elias Naur <[email protected]>
deps: update to latest gioui.org/x

Signed-off-by: Chris Waldon <[email protected]>

914fd8dc60a3eada38bc07e06d2b267a5ed65b2c authored over 3 years ago by Chris Waldon <[email protected]>
deps: update to latest gio

Signed-off-by: Chris Waldon <[email protected]>

dc972a03f5d3891b7bcf100f8a1979ed1e3e2ed6 authored over 3 years ago by Chris Waldon <[email protected]>
x/component: add demo page for Menu component

Signed-off-by: Chris Waldon <[email protected]>

fb350d499d99879fac0381c1cf8857b289923935 authored over 3 years ago by Chris Waldon <[email protected]>
go.*: bump gio, glfw versions

THe glfw example now runs on macOS using ANGLE as the OpenGL ES
implementation.

Signed-off-by: ...

b2da8c76b6e16c5e6c0ab0232ff111d795faf4b5 authored almost 4 years ago by Elias Naur <[email protected]>
glfw,kitchen: update to latest Gio version

Signed-off-by: Elias Naur <[email protected]>

483b35d581cc60f747780220cd2a0f7afa0c5111 authored almost 4 years ago by Elias Naur <[email protected]>
multiwindow: larger example

First time managing and handling windows can be complicated, even if you know
how to create a ne...

1fa56463a337620b8452ff2eef0f9430229defed authored almost 4 years ago by Egon Elbre <[email protected]>
.builds: upgrade to Go 1.16

Examples aren't bound by compatibility requirements, and we're about to
add an example that uses...

6f240d09dc3b7bd9627af20aa77cf880a48578ff authored almost 4 years ago by Elias Naur <[email protected]>
glfw,go.*: bump gio version

Signed-off-by: Elias Naur <[email protected]>

a6dfa046ca8d32f6e2f63c2883b73df0792c2c95 authored almost 4 years ago by Elias Naur <[email protected]>
glfw: release gpu resources at exit

Signed-off-by: Elias Naur <[email protected]>

d64702fe0cf5ee243277d86776175ff0bfb4f33c authored almost 4 years ago by Elias Naur <[email protected]>
Revert "x/component: rely on new system inset handling"

This reverts commit 7bd64fd1150f5c64383798e6bf870d9336ec5f67.

I misunderstood why Egon changed ...

a2d198051072df1ed53038d9c39027a86be39a71 authored almost 4 years ago by Chris Waldon <[email protected]>
x/component: rely on new system inset handling

Signed-off-by: Chris Waldon <[email protected]>

7bd64fd1150f5c64383798e6bf870d9336ec5f67 authored almost 4 years ago by Chris Waldon <[email protected]>
Insets are now automatically added.

Signed-off-by: Egon Elbre <[email protected]>

7fe1d1f168387509945db619d73033202f99e65e authored almost 4 years ago by Egon Elbre <[email protected]>
kitchen: respect system insets

This keeps the UI from rendering under the status bar on android.

Signed-off-by: Peter Sanford ...

4431f82ce4a9cc17ef3005655932d0db4736fe7f authored almost 4 years ago by Peter Sanford <[email protected]>
all: update to latest gio{,/x}

Signed-off-by: Chris Waldon <[email protected]>

852afe639861b1f140340ab78d046c61d1f848fa authored almost 4 years ago by Chris Waldon <[email protected]>
tabs: respect system insets

Signed-off-by: r3mb00 <[email protected]>

a005726325caf44529507b22c31031a91e1a033b authored almost 4 years ago by r3mb00 <[email protected]>
all: update to latest gio and other deps

Signed-off-by: Chris Waldon <[email protected]>

d6ec266262f41bfc815c4c7bea0f33a2468f9167 authored almost 4 years ago by Chris Waldon <[email protected]>
glfw: add support for EGL/OpenGL ES

Gio doesn't support desktop OpenGL on Windows, and must
use the ANGLE libraries that implements ...

d7701ddd95edea47861fe478a008942768f403c3 authored almost 4 years ago by Elias Naur <[email protected]>
glfw: demonstrate custom OpenGL rendering and input event handling

Signed-off-by: Elias Naur <[email protected]>

4cba22423f26d25f8b5a4300cd56c792b08b131f authored almost 4 years ago by Elias Naur <[email protected]>
glfw,go.*: bump Gio version

Signed-off-by: Elias Naur <[email protected]>

9efa2c4628e24fd09a834624510fcdff8d449d0e authored almost 4 years ago by Elias Naur <[email protected]>
deps: update to latest gio

Signed-off-by: Chris Waldon <[email protected]>

41e749a37fe84f0a3ccf2765050bf780e3f7b119 authored almost 4 years ago by Chris Waldon <[email protected]>
x/outlay/table: add table example back

This example was lost in the shuffle of migrating examples from
gio-extras to gio-example. The o...

1dee7b8c3b9a63161d76a036eaca6b8cc6ac0a82 authored almost 4 years ago by pierre <[email protected]>
x/component: remove reference to old "materials" pkg

Signed-off-by: Chris Waldon <[email protected]>

f926ed49faa22721b0edf6731ae32eaf322a9be7 authored almost 4 years ago by Chris Waldon <[email protected]>
all: update to use StateOp instead of StackOp

Signed-off-by: Chris Waldon <[email protected]>

de858ec81f1db0d7fa003da9f37913c6bb8c0b91 authored almost 4 years ago by Chris Waldon <[email protected]>
gio-extras/*,x: rename gio-extras demos and change imports

Signed-off-by: Chris Waldon <[email protected]>

8a3a65c8c0340253beaba1c2e5687a000fa74789 authored almost 4 years ago by Chris Waldon <[email protected]>
windows,multiwindow: rename package for clarity

Signed-off-by: Chris Waldon <[email protected]>

1ad8d13d0f99c508d3a2528dfe349f3313acc7c5 authored almost 4 years ago by Chris Waldon <[email protected]>
galaxy: adapt donated code to fit gio visualization

This commit adapts the donated galaxy simulation code to work
with the front-end visualization o...

c297c815ce8c365c6950ac674c6b6688b5f18c11 authored almost 4 years ago by Chris Waldon <[email protected]>
galaxy: add simulation engine for galaxy example

This is essentially the code for the Gonum Barnes-Hut example code and
is donated to the Gio pro...

1e576e23ff31394e41c41011a0025c1ca0381391 authored almost 4 years ago by Dan Kortschak <[email protected]>
glfw,go.*: update Gio version

Signed-off-by: Elias Naur <[email protected]>

5fc7a08ac1bc96390dbd34c462ecc74c75acb06f authored almost 4 years ago by Elias Naur <[email protected]>
life: make cell size display density independent

Signed-off-by: Chris Waldon <[email protected]>

97569bb72af1987ad15bb946c1d1523a140907a1 authored almost 4 years ago by Chris Waldon <[email protected]>
life: add game of life

Signed-off-by: Egon Elbre <[email protected]>

ecd2a626cd1977c7f6ea4722d985cde140a94021 authored almost 4 years ago by Egon Elbre <[email protected]>
glfw: handle window content scale correctly

Signed-off-by: Elias Naur <[email protected]>

8cec6ce41eee112e409e0550b5108c079c00d26c authored almost 4 years ago by Elias Naur <[email protected]>
glfw: select OpenGL 3.3 core profile

Otherwise, macOS will give us an old 2.1 compatible profile.

Signed-off-by: Elias Naur <mail@el...

06a5fa700d9355c5826c80054ce42e80175e204f authored almost 4 years ago by Elias Naur <[email protected]>
gio-extras/materials: update example with palette switching

This adds a switch that can change the materials example program's
palette. This also updates th...

a7bf96f68a745faccba865ff26f987c585e9da08 authored about 4 years ago by Chris Waldon <[email protected]>
.builds: clarify missing sign-off error

Signed-off-by: Elias Naur <[email protected]>

8d7e983f7a734915a2f989c9b9abf388c5462eef authored about 4 years ago by Elias Naur <[email protected]>
ci: configure mirroring SSH key

Signed-off-by: Chris Waldon <[email protected]>

19ac24ddd7e9ef7b87e6789da2d429751ac905b6 authored about 4 years ago by Chris Waldon <[email protected]>
README.md: link to GitHub mirror

Signed-off-by: Elias Naur <[email protected]>

be08aa68a96a19dd7cb1998da5ba750df03da3f1 authored about 4 years ago by Elias Naur <[email protected]>
ci: configure automatic mirroring to GitHub

Signed-off-by: Chris Waldon <[email protected]>

8816fdd76a54d6ddadd0c1c60d309dc6c96d7cb3 authored about 4 years ago by Chris Waldon <[email protected]>
gio-extras/{outlay,niotify}: fix gofmt

Signed-off-by: Chris Waldon <[email protected]>

776bcc6bb54af70e8eb6cba24185494e19f936c4 authored about 4 years ago by Chris Waldon <[email protected]>
gio-extras/materials: add materials example

Signed-off-by: Chris Waldon <[email protected]>

c36baf973e18e174a4ebe926754bf5f365c65d8a authored about 4 years ago by Chris Waldon <[email protected]>
gio-extras/scroll: add scrollbar example

Signed-off-by: Chris Waldon <[email protected]>

092707750d41257206c2cf473e7549505dad2215 authored about 4 years ago by Chris Waldon <[email protected]>
gio-extras/outlay/{fan,grid}: add outlay examples

Signed-off-by: Chris Waldon <[email protected]>

be4210bc9c13a956ada2498e62a31e2eb836e6aa authored about 4 years ago by Chris Waldon <[email protected]>
gio-extras/niotify: add niotify example

Signed-off-by: Chris Waldon <[email protected]>

0034e85d8fecef042d50f8a1df0ccafa047b0cb8 authored about 4 years ago by Chris Waldon <[email protected]>
gio-extras/haptic: add haptic feedback example

Signed-off-by: Chris Waldon <[email protected]>

10e912d534a79e35136599cfcf832ab5204e562b authored about 4 years ago by Chris Waldon <[email protected]>
gio-extras/colorpicker: add color picker widget example

Signed-off-by: Chris Waldon <[email protected]>

8a1c43264169ef4331f643fd1768369f82cd97b3 authored about 4 years ago by Chris Waldon <[email protected]>
all: bump gio version

Signed-off-by: Egon Elbre <[email protected]>

7e87532b7f5efe73800b5fde93497330e4e083a0 authored about 4 years ago by Egon Elbre <[email protected]>
7gui/timer: add timer example

Signed-off-by: Egon Elbre <[email protected]>

c4d96091d2a543cc24c28c7bff73e05361f5dcbc authored about 4 years ago by Egon Elbre <[email protected]>
LICENSE: tighten license language

"provided under terms" is a better match to the UNLICENSE, which puts
the project in the public ...

5eab227af37f9970b95e9f361a13405977b0d787 authored about 4 years ago by Elias Naur <[email protected]>
all: bump gio version

Update 7gui examples to use layout.Spacer.

Signed-off-by: Egon Elbre <[email protected]>

8d6bccdaac64935eef85189f3c40dbf5d2973eb3 authored about 4 years ago by Egon Elbre <[email protected]>
7gui/temperature: two-way binding

Signed-off-by: Egon Elbre <[email protected]>

d47e6455524655bb4c10d625669c92408f54c3dc authored about 4 years ago by Egon Elbre <[email protected]>
kitchen: added cursor change when hovering over "Click me!"

Signed-off-by: pierre <[email protected]>

18b899bc535cd77d2596a8b88b6f44ea85932104 authored about 4 years ago by Pierre Curto <[email protected]>
7gui/counter: button with a label

Signed-off-by: Egon Elbre <[email protected]>

2d8289889f439cfd0980fad4d7a527e14b2e8715 authored about 4 years ago by Egon Elbre <[email protected]>
go.*: bump gio version

Signed-off-by: Elias Naur <[email protected]>

be66210869caad8cd287a5fc29b04d225226d715 authored about 4 years ago by Elias Naur <[email protected]>
README.md: add contribution guidelines

Signed-off-by: Elias Naur <[email protected]>

1a63a34aada6197f102bbf1c41b02e006a5f70dc authored about 4 years ago by Elias Naur <[email protected]>
.builds: add builder

Signed-off-by: Elias Naur <[email protected]>

51ba41e528e8dbbae7c63a6ee1899c80e4290df0 authored about 4 years ago by Elias Naur <[email protected]>
README.md: add readme

Signed-off-by: Elias Naur <[email protected]>

af29e56d66694a40216716f09be63718e5399ede authored about 4 years ago by Elias Naur <[email protected]>
all: initial import

Copied from the example directory of https://git.sr.ht/~eliasnaur/gio.

Signed-off-by: Elias Nau...

f3aa6378bf9c77dfb4e4f1f72b92ae6510a8e9e5 authored about 4 years ago by Elias Naur <[email protected]>