Beast - Music Synthesizer and Composer  0.11.1+10.g2da35
bstprojectctrl.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_PROJECT_CTRL_H__
3 #define __BST_PROJECT_CTRL_H__
4 
5 #include "bstutils.hh"
6 
7 /* --- type macros --- */
8 #define BST_TYPE_PROJECT_CTRL (bst_project_ctrl_get_type ())
9 #define BST_PROJECT_CTRL(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), BST_TYPE_PROJECT_CTRL, BstProjectCtrl))
10 #define BST_PROJECT_CTRL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BST_TYPE_PROJECT_CTRL, BstProjectCtrlClass))
11 #define BST_IS_PROJECT_CTRL(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), BST_TYPE_PROJECT_CTRL))
12 #define BST_IS_PROJECT_CTRL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BST_TYPE_PROJECT_CTRL))
13 #define BST_PROJECT_CTRL_GET_CLASS(object) (G_TYPE_INSTANCE_GET_CLASS ((object), BST_TYPE_PROJECT_CTRL, BstProjectCtrlClass))
14 
15 
16 /* --- typedefs & structures --- */
17 typedef struct {
18  GtkHBox parent_instance;
19  Bse::ProjectH project;
20  size_t sig_state_changed_id;
21  GxkLed *led;
22  GtkWidget *stop;
23  GtkWidget *rew;
24  GtkWidget *play;
25  GtkWidget *pause;
26  GtkWidget *fwd;
28 typedef GtkHBoxClass BstProjectCtrlClass;
29 
30 
31 /* --- prototypes --- */
32 GType bst_project_ctrl_get_type (void);
33 void bst_project_ctrl_set_project (BstProjectCtrl *self, Bse::ProjectH project);
34 void bst_project_ctrl_play (BstProjectCtrl *self);
35 void bst_project_ctrl_stop (BstProjectCtrl *self);
36 
37 
38 #endif /* __BST_PROJECT_CTRL_H__ */
Definition: gxkled.hh:25
pause
Definition: bstprojectctrl.hh:17