2 #ifndef __BST_EVENT_ROLL_H__
3 #define __BST_EVENT_ROLL_H__
10 #define BST_TYPE_EVENT_ROLL (bst_event_roll_get_type ())
11 #define BST_EVENT_ROLL(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), BST_TYPE_EVENT_ROLL, BstEventRoll))
12 #define BST_EVENT_ROLL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BST_TYPE_EVENT_ROLL, BstEventRollClass))
13 #define BST_IS_EVENT_ROLL(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), BST_TYPE_EVENT_ROLL))
14 #define BST_IS_EVENT_ROLL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BST_TYPE_EVENT_ROLL))
15 #define BST_EVENT_ROLL_GET_CLASS(object) (G_TYPE_INSTANCE_GET_CLASS ((object), BST_TYPE_EVENT_ROLL, BstEventRollClass))
25 GXK_SCROLL_CANVAS_DRAG_FIELDS;
29 guint start_valid : 1;
32 gfloat current_value_raw;
33 guint current_valid : 1;
39 GxkScrollCanvas parent_instance;
42 BseMidiSignalType control_type;
50 guint draw_qn_grid : 1;
51 guint draw_qqn_grid : 1;
54 guint start_valid : 1;
59 gint (*fetch_vpanel_width) (gpointer data);
60 gpointer fetch_vpanel_width_data;
67 guint selection_duration;
68 gint selection_min_note;
69 gint selection_max_note;
75 void (*canvas_drag) (BstEventRoll *
self,
77 void (*canvas_clicked) (BstEventRoll *eroll,
82 void (*vpanel_drag) (BstEventRoll *
self,
84 void (*vpanel_clicked) (BstEventRoll *eroll,
92 GType bst_event_roll_get_type (
void);
93 void bst_event_roll_set_proxy (BstEventRoll *
self,
95 gfloat bst_event_roll_set_hzoom (BstEventRoll *
self,
97 void bst_event_roll_set_view_selection (BstEventRoll *
self,
100 void bst_event_roll_set_vpanel_width_hook (BstEventRoll *
self,
101 gint (*fetch_vpanel_width) (gpointer data),
103 void bst_event_roll_set_control_type (BstEventRoll *
self, BseMidiSignalType control_type);
104 void bst_event_roll_init_segment (BstEventRoll *
self,
105 BstSegmentType type);
106 void bst_event_roll_segment_start (BstEventRoll *
self,
109 void bst_event_roll_segment_move_to (BstEventRoll *
self,
112 void bst_event_roll_segment_tick_range (BstEventRoll *
self,
115 gdouble bst_event_roll_segment_value (BstEventRoll *
self,
117 void bst_event_roll_clear_segment (BstEventRoll *
self);
Definition: bstsegment.hh:25
Definition: bsteventroll.hh:71
Definition: bsteventroll.hh:37
Definition: bsteventroll.hh:24