Beast - Music Synthesizer and Composer  0.11.1+10.g2da35
bsteventrollctrl.hh
Go to the documentation of this file.
1  // Licensed GNU LGPL v2.1 or later: http://www.gnu.org/licenses/lgpl.html
2 #ifndef __BST_EVENT_ROLL_CONTROLLER_H__
3 #define __BST_EVENT_ROLL_CONTROLLER_H__
4 
5 #include "bsteventroll.hh"
6 
7 typedef struct {
8  /* misc data */
9  guint ref_count;
10  BstEventRoll *eroll;
11  /* drag data */
12  guint obj_id, obj_tick;
13  gfloat obj_value;
14  Bse::PartControlSeq sel_cseq;
15  BstSegment *segment;
16  /* tool data */
17  guint tool_index;
18  /* tool selections */
19  GxkActionGroup *quant_rtools;
20  GxkActionGroup *canvas_rtools;
21  /* action cache */
22  guint64 cached_stamp;
23  guint cached_n_controls;
25 
26 
27 /* --- API --- */
28 BstEventRollController* bst_event_roll_controller_new (BstEventRoll *eroll,
29  GxkActionGroup *quant_rtools,
30  GxkActionGroup *canvas_rtools);
31 BstEventRollController* bst_event_roll_controller_ref (BstEventRollController *self);
32 void bst_event_roll_controller_unref (BstEventRollController *self);
33 guint bst_event_roll_controller_quantize (BstEventRollController *self,
34  guint fine_tick);
35 GxkActionList* bst_event_roll_controller_select_actions (BstEventRollController *self);
36 void bst_event_roll_controller_set_clipboard (const Bse::PartControlSeq &cseq);
37 Bse::PartControlSeq* bst_event_roll_controller_get_clipboard (void);
38 void bst_event_roll_controller_clear (BstEventRollController *self);
39 void bst_event_roll_controller_cut (BstEventRollController *self);
40 gboolean bst_event_roll_controller_copy (BstEventRollController *self);
41 void bst_event_roll_controller_paste (BstEventRollController *self);
42 gboolean bst_event_roll_controller_clipboard_full (BstEventRollController *self);
43 gboolean bst_event_roll_controller_has_selection (BstEventRollController *self,
44  guint64 action_stamp);
45 
46 
47 #endif /* __BST_EVENT_ROLL_CONTROLLER_H__ */
Definition: bsteventrollctrl.hh:7
Definition: bstsegment.hh:23
A list of part control events.
Definition: bseapi.idl:532
Definition: gxkaction.hh:141