Guest User

Untitled

a guest
Aug 21st, 2019
66
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /* gdk/gdkevents.h */
  2. struct _GdkEventTouch
  3. {
  4. GdkEventType type;
  5. GdkWindow *window;
  6. gint8 send_event;
  7. guint32 time;
  8. gdouble x;
  9. gdouble y;
  10. gdouble *axes;
  11. guint state;
  12. GdkEventSequence *sequence;
  13. gboolean emulating_pointer;
  14. GdkDevice *device;
  15. gdouble x_root, y_root;
  16. };
  17.  
  18. struct _GdkEventScroll
  19. {
  20. GdkEventType type;
  21. GdkWindow *window;
  22. gint8 send_event;
  23. guint32 time;
  24. gdouble x;
  25. gdouble y;
  26. guint state;
  27. GdkScrollDirection direction;
  28. GdkDevice *device;
  29. gdouble x_root, y_root;
  30. gdouble delta_x;
  31. gdouble delta_y;
  32. guint is_stop : 1;
  33. };
  34.  
  35. /* ZIG CACHE */
  36. pub const struct__GdkEventTouch = extern struct {
  37. type: GdkEventType,
  38. window: ?*GdkWindow,
  39. send_event: gint8,
  40. time: guint32,
  41. x: gdouble,
  42. y: gdouble,
  43. axes: [*c]gdouble,
  44. state: guint,
  45. sequence: ?*GdkEventSequence,
  46. emulating_pointer: gboolean,
  47. device: ?*GdkDevice,
  48. x_root: gdouble,
  49. y_root: gdouble,
  50. };
  51. pub const GdkEventTouch = struct__GdkEventTouch;
  52.  
  53. pub const struct__GdkEventScroll = @OpaqueType();
  54. pub const GdkEventScroll = struct__GdkEventScroll;
RAW Paste Data