Beast - Music Synthesizer and Composer  0.11.1+10.g2da35
bstbuseditor.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_BUS_EDITOR_H__
3 #define __BST_BUS_EDITOR_H__
4 
5 #include "bstitemview.hh"
6 #include "bstdbmeter.hh"
7 
8 /* --- type macros --- */
9 #define BST_TYPE_BUS_EDITOR (bst_bus_editor_get_type ())
10 #define BST_BUS_EDITOR(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), BST_TYPE_BUS_EDITOR, BstBusEditor))
11 #define BST_BUS_EDITOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BST_TYPE_BUS_EDITOR, BstBusEditorClass))
12 #define BST_IS_BUS_EDITOR(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), BST_TYPE_BUS_EDITOR))
13 #define BST_IS_BUS_EDITOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BST_TYPE_BUS_EDITOR))
14 #define BST_BUS_EDITOR_GET_CLASS(object) (G_TYPE_INSTANCE_GET_CLASS ((object), BST_TYPE_BUS_EDITOR, BstBusEditorClass))
15 
16 
17 /* --- structures & typedefs --- */
18 typedef struct _BstBusEditor BstBusEditor;
19 typedef struct _BstBusEditorClass BstBusEditorClass;
21 {
22  GtkAlignment parent_object;
23  SfiProxy item;
24  SfiRing *params;
25  BstDBBeam *lbeam, *rbeam;
26 };
28 {
29  GtkAlignmentClass parent_class;
30 };
31 
32 
33 /* --- prototypes --- */
34 GType bst_bus_editor_get_type (void);
35 GtkWidget* bst_bus_editor_new (SfiProxy song);
36 void bst_bus_editor_set_bus (BstBusEditor *self,
37  SfiProxy item);
38 
39 #endif /* __BST_BUS_EDITOR_H__ */
Definition: bstbuseditor.hh:27
Definition: sfiring.hh:21
Definition: bstdbmeter.hh:71
Definition: bstbuseditor.hh:20