BEAST - Free Software Audio Synthesizer and Tracker  0.9.2
bstparamview.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_PARAM_VIEW_H__
3 #define __BST_PARAM_VIEW_H__
4 
5 #include "bstutils.hh"
6 
7 G_BEGIN_DECLS
8 
9 /* --- type macros --- */
10 #define BST_TYPE_PARAM_VIEW (bst_param_view_get_type ())
11 #define BST_PARAM_VIEW(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), BST_TYPE_PARAM_VIEW, BstParamView))
12 #define BST_PARAM_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BST_TYPE_PARAM_VIEW, BstParamViewClass))
13 #define BST_IS_PARAM_VIEW(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), BST_TYPE_PARAM_VIEW))
14 #define BST_IS_PARAM_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BST_TYPE_PARAM_VIEW))
15 #define BST_PARAM_VIEW_GET_CLASS(object) (G_TYPE_INSTANCE_GET_CLASS ((object), BST_TYPE_PARAM_VIEW, BstParamViewClass))
16 
17 
18 /* --- structures & typedefs --- */
19 typedef struct _BstParamView BstParamView;
20 typedef struct _BstParamViewClass BstParamViewClass;
22 {
23  GtkVBox parent_object;
24 
25  SfiProxy item;
26 
27  GSList *params; /* GxkParam* */
28 
29  gchar *first_base_type;
30  gchar *last_base_type;
31  GPatternSpec *reject_pattern;
32  GPatternSpec *match_pattern;
33 };
35 {
36  GtkVBoxClass parent_class;
37 };
38 
39 
40 /* --- prototypes --- */
41 GType bst_param_view_get_type (void);
42 GtkWidget* bst_param_view_new (SfiProxy item);
43 void bst_param_view_rebuild (BstParamView *param_view);
44 void bst_param_view_apply_defaults (BstParamView *param_view);
45 void bst_param_view_set_item (BstParamView *param_view,
46  SfiProxy item);
47 void bst_param_view_set_mask (BstParamView *param_view,
48  const gchar *first_base_type,
49  const gchar *last_base_type,
50  const gchar *reject_pattern,
51  const gchar *match_pattern);
52 
53 
54 
55 G_END_DECLS
56 
57 #endif /* __BST_PARAM_VIEW_H__ */
Definition: bstparamview.hh:34
Definition: bstparamview.hh:21