mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-06 09:55:40 +00:00
@@ -176,7 +176,7 @@ type context interface {
|
|||||||
// basicDriver is the subset of [driver] that may be called even after
|
// basicDriver is the subset of [driver] that may be called even after
|
||||||
// a window is destroyed.
|
// a window is destroyed.
|
||||||
type basicDriver interface {
|
type basicDriver interface {
|
||||||
// Event blocks until an even is available and returns it.
|
// Event blocks until an event is available and returns it.
|
||||||
Event() event.Event
|
Event() event.Event
|
||||||
// Invalidate requests a FrameEvent.
|
// Invalidate requests a FrameEvent.
|
||||||
Invalidate()
|
Invalidate()
|
||||||
|
|||||||
+1
-1
@@ -93,7 +93,7 @@ type Window struct {
|
|||||||
// coalesced tracks the most recent events waiting to be delivered
|
// coalesced tracks the most recent events waiting to be delivered
|
||||||
// to the client.
|
// to the client.
|
||||||
coalesced eventSummary
|
coalesced eventSummary
|
||||||
// frame tracks the most recently frame event.
|
// frame tracks the most recent frame event.
|
||||||
lastFrame struct {
|
lastFrame struct {
|
||||||
sync bool
|
sync bool
|
||||||
size image.Point
|
size image.Point
|
||||||
|
|||||||
Reference in New Issue
Block a user