Created
August 9, 2019 17:15
-
-
Save donpdonp/b6d51d70c4b59c3780d760f8b0938685 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* gdk/gdkevents.h */ | |
struct _GdkEventTouch | |
{ | |
GdkEventType type; | |
GdkWindow *window; | |
gint8 send_event; | |
guint32 time; | |
gdouble x; | |
gdouble y; | |
gdouble *axes; | |
guint state; | |
GdkEventSequence *sequence; | |
gboolean emulating_pointer; | |
GdkDevice *device; | |
gdouble x_root, y_root; | |
}; | |
struct _GdkEventScroll | |
{ | |
GdkEventType type; | |
GdkWindow *window; | |
gint8 send_event; | |
guint32 time; | |
gdouble x; | |
gdouble y; | |
guint state; | |
GdkScrollDirection direction; | |
GdkDevice *device; | |
gdouble x_root, y_root; | |
gdouble delta_x; | |
gdouble delta_y; | |
guint is_stop : 1; | |
}; | |
/* ZIG CACHE */ | |
pub const struct__GdkEventTouch = extern struct { | |
type: GdkEventType, | |
window: ?*GdkWindow, | |
send_event: gint8, | |
time: guint32, | |
x: gdouble, | |
y: gdouble, | |
axes: [*c]gdouble, | |
state: guint, | |
sequence: ?*GdkEventSequence, | |
emulating_pointer: gboolean, | |
device: ?*GdkDevice, | |
x_root: gdouble, | |
y_root: gdouble, | |
}; | |
pub const GdkEventTouch = struct__GdkEventTouch; | |
pub const struct__GdkEventScroll = @OpaqueType(); | |
pub const GdkEventScroll = struct__GdkEventScroll; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment