Beast - Music Synthesizer and Composer  0.11.1+10.g2da35
bstzoomedwindow.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_ZOOMED_WINDOW_H__
3 #define __BST_ZOOMED_WINDOW_H__
4 
5 #include <gtk/gtkscrolledwindow.h>
6 
7 
8 
9 /* --- Gtk+ type macros --- */
10 #define BST_TYPE_ZOOMED_WINDOW (bst_zoomed_window_get_type ())
11 #define BST_ZOOMED_WINDOW(object) (GTK_CHECK_CAST ((object), BST_TYPE_ZOOMED_WINDOW, BstZoomedWindow))
12 #define BST_ZOOMED_WINDOW_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), BST_TYPE_ZOOMED_WINDOW, BstZoomedWindowClass))
13 #define BST_IS_ZOOMED_WINDOW(object) (GTK_CHECK_TYPE ((object), BST_TYPE_ZOOMED_WINDOW))
14 #define BST_IS_ZOOMED_WINDOW_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), BST_TYPE_ZOOMED_WINDOW))
15 #define BST_ZOOMED_WINDOW_GET_CLASS(obj) (GTK_CHECK_GET_CLASS ((obj), BST_TYPE_ZOOMED_WINDOW, BstZoomedWindowClass))
16 
17 
18 /* --- structures & typedefs --- */
19 typedef struct _BstZoomedWindow BstZoomedWindow;
20 typedef struct _BstZoomedWindowClass BstZoomedWindowClass;
22 {
23  GtkScrolledWindow parent_object;
24 
25  GtkWidget *toggle_button;
26 };
28 {
29  GtkScrolledWindowClass parent_class;
30 
31  gboolean (*zoom) (BstZoomedWindow *zoomed_window,
32  gboolean zoom_in);
33 };
34 
35 
36 /* --- prototypes --- */
37 GtkType bst_zoomed_window_get_type (void);
38 
39 
40 #endif /* __BST_ZOOMED_WINDOW_H__ */
Definition: bstzoomedwindow.hh:27
Definition: bstzoomedwindow.hh:21