Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
/* 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
You can’t perform that action at this time.