Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/gioui/gio
Mirror of the Gio main repository (https://git.sr.ht/~eliasnaur/gio)
https://github.com/gioui/gio
The funcs replace stack.Push and macro.Record, which become private.
This makes stack and macro ...
Clickable.Clicks() now returns the number of clicks.
Signed-off-by: Pierre.Curto <pierre.curto@...
bade2778763168193c9b56ea93005d6c0b7a88d2 authored over 4 years ago by Pierre.Curto <[email protected]>Signed-off-by: Elias Naur <[email protected]>
3ef841bd07fb0e21ea2e33f0e31d36608c54b623 authored over 4 years ago by Elias Naur <[email protected]>
In turns out that only the listener declarations need to be in C, not
the listener registration ...
Signed-off-by: Elias Naur <[email protected]>
eafe09967f5bdabb90e7eedfb09e40b12c995269 authored over 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
28bf9e200143817f229eb2a72118ffa05549a16f authored over 4 years ago by Elias Naur <[email protected]>Fixes #122
Signed-off-by: Elias Naur <[email protected]>
6fbcae07cb769471a89b1d07f4c132e8b12bb0bc authored over 4 years ago by Elias Naur <[email protected]>
- Drop pointer.Event.Hit in favour of Enter/Leave events.
- Track enter/leaves for each pointer....
Remove a redundant call and shorten image.Rectangle literals while here.
Signed-off-by: Elias N...
23c2d44b8cfe36792785ce3fb4a3cc671ad10f58 authored over 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
2487842aaef7f927eb49a81dfa174087a5a1b02f authored over 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
4bf043eb5b2f8c56593ce7947b52e43fb9abf2d8 authored over 4 years ago by Elias Naur <[email protected]>Updates #121
Signed-off-by: Elias Naur <[email protected]>
d2c67cdf8039364d730942131ce8c068f6252eec authored over 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
e9500f5f4c2f4596be6069674a92cfbb3e2c60e3 authored over 4 years ago by Elias Naur <[email protected]>
Recent changes to the macOS threading exposed a problem where a
window's display link may fail t...
We're about to move the display link to common Go code. To do that,
we need the redraw logic in ...
Signed-off-by: Elias Naur <[email protected]>
266b01bb5d54ef1d6d5e4cb30920d7ad5e7b9b3e authored over 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
6a0da04598aaec3cbb6f0fa030235c8b61594634 authored over 4 years ago by Elias Naur <[email protected]>Fixes #120
Signed-off-by: Elias Naur <[email protected]>
9da54eac61b525f3c67886549983cec31bf5dcb9 authored over 4 years ago by Elias Naur <[email protected]>Updates #120
Signed-off-by: Elias Naur <[email protected]>
f6dff2fd1c92ce78229a6262a1f221d7ec93fa7f authored over 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
7b6eafcb591a8d85c25e9b175b650ab7fb7f8b59 authored over 4 years ago by Elias Naur <[email protected]>
The macOS redraw callback is not invoked on the main thread, so its
access to window fields must...
Only the synchronous draws from the main thread may involve changing
width, height and scale. In...
Ignore programmatic value changes to avoid feedback loops.
Signed-off-by: Elias Naur <mail@elia...
ad93e321282403aa13fb04822e0a2c86b612b976 authored over 4 years ago by Elias Naur <[email protected]>Respect constraints and return dimensions.
Signed-off-by: Elias Naur <[email protected]>
f2df7c145801734dcbc80e3e7ccaf3be513c107a authored over 4 years ago by Elias Naur <[email protected]>
Just like Clickable, Bool.Layout should respect constraints and
return its dimensions.
Signed-o...
31d722d9eb15678a18988f627ce637931ad8913d authored over 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
3164a3fee76692f3b85ed4386e222e9f2aa72f9e authored over 4 years ago by Elias Naur <[email protected]>
An earlier change unexported the Button.Update method that exposed raw pointer
input not availab...
Press tracks pointer presses, not clicks, and we're about to add a Click
type that does.
Signed...
8d838e89f5d55769f72bef1e3314532f37cd1892 authored over 4 years ago by Elias Naur <[email protected]>
Before this change, events were typically processed twice or more per
widget: once in the Layout...
Signed-off-by: Elias Naur <[email protected]>
c791f593510d13901733bd5012f79b2ce9fc6fae authored over 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
d8000880c3b437562d25d797d33f0531b86fdb38 authored over 4 years ago by Elias Naur <[email protected]>Change the definition of Widget from the implicit
type Widget func()
to the explicit f...
3af01a3f431244214a439c7bb392d0166e724a00 authored over 4 years ago by Elias Naur <[email protected]>Instead of, say,
var th *material.Theme
var btn *widget.Clickable
material.Button(th, "Clic...
2451750782b86e020be67be715178c7a163e1d3f authored over 4 years ago by Elias Naur <[email protected]>Use Inset instead, matching the other buttons.
Redefine Size to apply to the icon size, without...
af10307f4ad7c908ca46ba1dc07fe0056a00a710 authored over 4 years ago by Elias Naur <[email protected]>
The location.hash method doesn't work correctly with multiple
iframes and Safari.
Signed-off-by...
60bed57cd7f4df2dfb9fb830ce33b198571bf07d authored over 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
fc2a2ae615160978d1d21615182a7abeeb9fee19 authored over 4 years ago by Elias Naur <[email protected]>
Allow for specifying command line arguments to webassembly programs
through the URI hash (https:...
Signed-off-by: Elias Naur <[email protected]>
a96b2085822f08792ad4d14690d36cd8a95f35b6 authored over 4 years ago by Elias Naur <[email protected]>Fixes gio#118
Signed-off-by: Elias Naur <[email protected]>
0614bd29d751c563ef70a21b5bac6ac9132a80fb authored over 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
22b367cb33bfb613ca5d235f7674dcb24f20357f authored over 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
ac62e3a7ab85899e1f373fd11e1db6fcc55d6ccd authored over 4 years ago by Elias Naur <[email protected]>
color.RGBA values are pre-multiplied, so transparency must be applied
to all components.
Fixes ...
7a13c2c905ddb22b22faacaeb89168a282e13073 authored over 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
5a8e1c5acfa84c3bb95fe7ecf8a208853b1143d3 authored over 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
013ea395b4cd396faad3e8d1bfd480956098ae07 authored over 4 years ago by Elias Naur <[email protected]>
layout.FRect, layout.FPt for converting from integer to floating point,
useful for drawing opera...
Signed-off-by: Elias Naur <[email protected]>
99080023e449345a116b4f130fcf90685e8b3cb3 authored over 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
dac8ffc00271ae07c18dcfb1c608f284d9a7f7ea authored over 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
8a6d4f699cb7f2c647cb3fff7733bc39bbf19904 authored over 4 years ago by Elias Naur <[email protected]>Instead of
type Contraints struct {
Width, Height Constraint
}
use
type Cons...
7bf3265ccd387d643db3d270bf0f9d6cdc5bedd0 authored over 4 years ago by Elias Naur <[email protected]>Phrase stolen from Egon's architecture document.
Replace tabs with spaces in the example while ...
67a9d9e9d7a0a15a7af9fbe38f00886bd0090e26 authored over 4 years ago by Elias Naur <[email protected]>Signed-off-by: Wagner Riffel <[email protected]>
0bf6de6cfad3c716567df99dfa1f9dbb058fb487 authored over 4 years ago by Wagner Riffel <[email protected]>Signed-off-by: Elias Naur <[email protected]>
dc7a8fd9ea9c1b2cef765b2e079fc94f2409f773 authored over 4 years ago by Elias Naur <[email protected]>Key had an unfortunate association with keyboard input.
This is an API change. The following re...
03db2817ace9fcea27ab368efa9154b917929885 authored over 4 years ago by Elias Naur <[email protected]>Updates gio#31
Signed-off-by: Elias Naur <[email protected]>
e89277951c942593c27271875ddc6087d03bc185 authored over 4 years ago by Elias Naur <[email protected]>
The app.ReadClipboard and app.WriteClipboard can be used to interact
with the system clipboard. ...
Signed-off-by: Elias Naur <[email protected]>
503534e84e5943ad5981d644fa61228e11d88294 authored over 4 years ago by Elias Naur <[email protected]>Update gio#31
Signed-off-by: Elias Naur <[email protected]>
f210651b08a313beee1254843964121059b54051 authored over 4 years ago by Elias Naur <[email protected]>Update gio#31
Signed-off-by: Elias Naur <[email protected]>
20fc81a57afb33d6fe0456a1e5bbf25f52449833 authored over 4 years ago by Elias Naur <[email protected]>Updates gio#31
Signed-off-by: Elias Naur <[email protected]>
bb4a02babc7bb387514524c37a9b33e5d6a80e1b authored over 4 years ago by Elias Naur <[email protected]>Updates gio#31
Signed-off-by: Elias Naur <[email protected]>
7b5a03e0ecd701440f0b092e56fb477f425765bb authored over 4 years ago by Elias Naur <[email protected]>Updates gio#31
Signed-off-by: Elias Naur <[email protected]>
2da1d37ce72a40864226699cc68f13c1cdb2fe91 authored over 4 years ago by Elias Naur <[email protected]>
Asynchronous drawing happens only in onFrameCallback, where we have to
check for disappearing vi...
The implementation was too optimistic: some platforms require a
window context for accessing the...
Signed-off-by: Elias Naur <[email protected]>
85a75ee265ff20e1b9ac9cbe7ff0c4ff52c57dd2 authored over 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
65d79f295fe60cdad99429fcbfdea9e967dff10f authored over 4 years ago by Elias Naur <[email protected]>
Before, the wakeup pipe both woke the event loop and implied a redraw.
We're going to use the no...
Before this change, we had a viewDo that serialized a function on a view
on a single goroutine. ...
Signed-off-by: Elias Naur <[email protected]>
77899c79d9e5a154c0856f6b403052c2ae0f9675 authored over 4 years ago by Elias Naur <[email protected]>Updates gio#31
Signed-off-by: Elias Naur <[email protected]>
9534337a43a7d7ef4ac3554bb59448e5245bf0d2 authored over 4 years ago by Elias Naur <[email protected]>Updates gio#31
Signed-off-by: Elias Naur <[email protected]>
1e934673d795f437f3394bd0774df58eac8d53ce authored over 4 years ago by Elias Naur <[email protected]>
Not wired up yet; each platform needs implementing low-level access
first.
Updates gio#31
Sign...
268e9e44b8fd52a75bb53e319495166931d3a77c authored over 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
fc0c046cab5ea41c3b58702dad74b749ef9af975 authored over 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
0da1b1bdbcab7f594a4b6df5e85b904423b3484b authored over 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
cfc1991dedf61f463d22f58207a96a59b976ad31 authored over 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
5a0d18320259d6db35ebc09e980d6a720b2ec089 authored over 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
bfbb95674baee1b7fb938e71012db35b39531fc3 authored over 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
10a81bf217ba9b623485db40498c38fcda6add4a authored over 4 years ago by Elias Naur <[email protected]>
The Android RegisterFragment method would leak a goroutine if called
after the window was destro...
Signed-off-by: Elias Naur <[email protected]>
53e3f0027c592d61d54635648f55bcef5477f463 authored over 4 years ago by Elias Naur <[email protected]>
Before, notifying the event loop implied a redraw. Derive the need
for redrawing expliticly and ...
This reverts commit 062e2bc54b109c3ed6b2fa295c4a63aaedcda95d.
Reason: delays the press too much...
f2fee00bab6e9b25fb123442b011f85ce39d776e authored over 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
fd6f6c448510ab14e06735fa333908b924f194f9 authored over 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
56dbaf326a927adb9c770e6a6debd90e656f6a56 authored over 4 years ago by Elias Naur <[email protected]>
The callbackMap is used to look up Go references in event callbacks. Instead
of registering one ...
Instead, create a display for each window.
Signed-off-by: Elias Naur <[email protected]>
bf129ca989ff59ba3ed376ffe492974f24e30221 authored over 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
bc645c3ca448efaa717a4609f1834d0bae5a1c6a authored over 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
3e648715db454d28f7fe77f0a97124059be3e5a6 authored over 4 years ago by Elias Naur <[email protected]>
Multiple Wayland windows are now separate, except for the global callback
reference map. Use a s...
Signed-off-by: Elias Naur <[email protected]>
9259b8f743bda5617243ccd9e34f8b5d4e583026 authored over 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
44aec72d42fceff09866568297ff36f7d2ba0e2c authored over 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
9daf082d22f29214659ede242969fbeef9ec9f78 authored over 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
728c20ab4a4357f76e7f065a042521d101d7e32d authored over 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
26641344bc0e975094de477a83c9a1af91a744f8 authored over 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
55881fc09c185a6f0693a0d6c0583e0b18028e10 authored over 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
28a3de6e32c9ba77491a4d4cd964abe9f6336544 authored over 4 years ago by Elias Naur <[email protected]>With this change, the Wayland backend now supports multiple windows.
Signed-off-by: Elias Naur ...
0181f22d0138eb8e346fee70726b3f8962bf644a authored over 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
0aa7d4ab3fa78a7d95c46d7761b0d75b18bc1aed authored over 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
db0af521d0c1931b9e6a2ee62f21a8bf5aedfc62 authored over 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
31acd5451e035caa38bcf475eefc67c1bac6d5e3 authored over 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
29c9b06dabc26a6bdb4048e9d5b9b3c95caa8021 authored over 4 years ago by Elias Naur <[email protected]>