Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* 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;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement