Beast - Music Synthesizer and Composer  0.11.1+10.g2da35
bstpartdialog.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_PART_DIALOG_H__
3 #define __BST_PART_DIALOG_H__
4 
5 #include "bstpianoroll.hh"
6 #include "bsteventroll.hh"
7 #include "bstpatternview.hh"
8 #include "bstpatternctrl.hh"
9 #include "bstpianorollctrl.hh"
10 #include "bsteventrollctrl.hh"
11 
12 /* --- Gtk+ type macros --- */
13 #define BST_TYPE_PART_DIALOG (bst_part_dialog_get_type ())
14 #define BST_PART_DIALOG(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), BST_TYPE_PART_DIALOG, BstPartDialog))
15 #define BST_PART_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BST_TYPE_PART_DIALOG, BstPartDialogClass))
16 #define BST_IS_PART_DIALOG(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), BST_TYPE_PART_DIALOG))
17 #define BST_IS_PART_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BST_TYPE_PART_DIALOG))
18 #define BST_PART_DIALOG_GET_CLASS(object) (G_TYPE_INSTANCE_GET_CLASS ((object), BST_TYPE_PART_DIALOG, BstPartDialogClass))
19 
20 
21 /* --- structures & typedefs --- */
22 typedef struct _BstPartDialog BstPartDialog;
23 typedef struct _BstPartDialogClass BstPartDialogClass;
25 {
26  GxkDialog parent_object;
27 
28  BstPianoRoll *proll;
30  BstEventRoll *eroll;
32  BstPatternView *pview;
33  BstPatternController *pvctrl;
34  Bse::ProjectH project;
35 };
37 {
38  GxkDialogClass parent_class;
39 };
40 
41 
42 /* --- prototypes --- */
43 GType bst_part_dialog_get_type (void);
44 void bst_part_dialog_set_part (BstPartDialog *self, Bse::PartH part = Bse::PartH());
45 
46 #endif /* __BST_PART_DIALOG_H__ */
Definition: bsteventrollctrl.hh:7
Definition: bstpianorollctrl.hh:7
Definition: bstpartdialog.hh:36
Definition: bstpartdialog.hh:24
Definition: bstpatternctrl.hh:7