BEAST - Free Software Audio Synthesizer and Tracker  0.10.0
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 G_BEGIN_DECLS
9 
10 /* --- type macros --- */
11 #define BST_TYPE_BUS_EDITOR (bst_bus_editor_get_type ())
12 #define BST_BUS_EDITOR(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), BST_TYPE_BUS_EDITOR, BstBusEditor))
13 #define BST_BUS_EDITOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BST_TYPE_BUS_EDITOR, BstBusEditorClass))
14 #define BST_IS_BUS_EDITOR(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), BST_TYPE_BUS_EDITOR))
15 #define BST_IS_BUS_EDITOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BST_TYPE_BUS_EDITOR))
16 #define BST_BUS_EDITOR_GET_CLASS(object) (G_TYPE_INSTANCE_GET_CLASS ((object), BST_TYPE_BUS_EDITOR, BstBusEditorClass))
17 
18 
19 /* --- structures & typedefs --- */
20 typedef struct _BstBusEditor BstBusEditor;
21 typedef struct _BstBusEditorClass BstBusEditorClass;
23 {
24  GtkAlignment parent_object;
25  SfiProxy item;
26  SfiRing *params;
27  BstDBBeam *lbeam, *rbeam;
28 };
30 {
31  GtkAlignmentClass parent_class;
32 };
33 
34 
35 /* --- prototypes --- */
36 GType bst_bus_editor_get_type (void);
37 GtkWidget* bst_bus_editor_new (SfiProxy song);
38 void bst_bus_editor_set_bus (BstBusEditor *self,
39  SfiProxy item);
40 
41 G_END_DECLS
42 
43 #endif /* __BST_BUS_EDITOR_H__ */
Definition: bstbuseditor.hh:29
Definition: sfiring.hh:23
Definition: bstdbmeter.hh:73
Definition: bstbuseditor.hh:22