BEAST/BSE - Better Audio System and Sound Engine  0.8.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
bstpatternctrl.hh
Go to the documentation of this file.
00001  // Licensed GNU LGPL v2.1 or later: http://www.gnu.org/licenses/lgpl.html
00002 #ifndef __BST_PATTERN_CONTROLLER_H__
00003 #define __BST_PATTERN_CONTROLLER_H__
00004 
00005 #include "bstpatternview.hh"
00006 
00007 G_BEGIN_DECLS
00008 
00009 typedef struct {
00010   GxkParam        *vraster;
00011   GxkParam        *steps;
00012   GxkParam        *step_dir;
00013   GxkParam        *hwrap;
00014   GxkParam        *base_octave;
00015   GxkParam        *row_shading;
00016   /* misc data */
00017   guint            ref_count;
00018   BstPatternView  *pview;
00019   /* tool selections */
00020   GxkActionGroup  *quant_rtools;
00021 } BstPatternController;
00022 
00023 
00024 BstPatternController* bst_pattern_controller_new                  (BstPatternView       *pview,
00025                                                                    GxkActionGroup       *quant_rtools);
00026 BstPatternController* bst_pattern_controller_ref                  (BstPatternController *self);
00027 void                  bst_pattern_controller_unref                (BstPatternController *self);
00028 BstKeyBinding*        bst_pattern_controller_default_generic_keys (void);
00029 BstKeyBinding*        bst_pattern_controller_generic_keys         (void);
00030 BstKeyBinding*        bst_pattern_controller_default_piano_keys   (void);
00031 BstKeyBinding*        bst_pattern_controller_piano_keys           (void);
00032 
00033 G_END_DECLS
00034 
00035 #endif /* __BST_PATTERN_CONTROLLER_H__ */
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines