Guitarix
waveview.h
Go to the documentation of this file.
1 // -*- c++ -*-
2 // Generated by gtkmmproc -- DO NOT MODIFY!
3 #ifndef _GXWMM_WAVEVIEW_H
4 #define _GXWMM_WAVEVIEW_H
5 
6 
7 #include <glibmm/ustring.h>
8 #include <sigc++/sigc++.h>
9 
10 /*
11  * Copyright (C) 2009, 2010 Hermann Meyer, James Warden, Andreas Degert
12  *
13  * This program is free software; you can redistribute it and/or modify
14  * it under the terms of the GNU General Public License as published by
15  * the Free Software Foundation; either version 2 of the License, or
16  * (at your option) any later version.
17  *
18  * This program is distributed in the hope that it will be useful,
19  * but WITHOUT ANY WARRANTY; without even the implied warranty of
20  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21  * GNU General Public License for more details.
22  *
23  * You should have received a copy of the GNU General Public License
24  * along with this program; if not, write to the Free Software
25  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
26  */
27 
28 #include <gtkmm/drawingarea.h>
29 
30 
31 #ifndef DOXYGEN_SHOULD_SKIP_THIS
32 typedef struct _GxWaveView GxWaveView;
33 typedef struct _GxWaveViewClass GxWaveViewClass;
34 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
35 
36 
37 namespace Gxw
38 { class WaveView_Class; } // namespace Gxw
39 namespace Gxw {
40 
41 
42 class WaveView: public Gtk::DrawingArea {
43  public:
44 #ifndef DOXYGEN_SHOULD_SKIP_THIS
49 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
50 
51  virtual ~WaveView();
52 
53 #ifndef DOXYGEN_SHOULD_SKIP_THIS
54 
55 private:
56  friend class WaveView_Class;
57  static CppClassType waveview_class_;
58 
59  // noncopyable
60  WaveView(const WaveView&);
61  WaveView& operator=(const WaveView&);
62 
63 protected:
64  explicit WaveView(const Glib::ConstructParams& construct_params);
65  explicit WaveView(GxWaveView* castitem);
66 
67 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
68 
69 public:
70 #ifndef DOXYGEN_SHOULD_SKIP_THIS
71  static GType get_type() G_GNUC_CONST;
72 
73 
74  static GType get_base_type() G_GNUC_CONST;
75 #endif
76 
78  GxWaveView* gobj() { return reinterpret_cast<GxWaveView*>(gobject_); }
79 
81  const GxWaveView* gobj() const { return reinterpret_cast<GxWaveView*>(gobject_); }
82 
83 
84 public:
85  //C++ methods used to invoke GTK+ virtual functions:
86 
87 protected:
88  //GTK+ Virtual Functions (override these to change behaviour):
89 
90  //Default Signal Handlers::
91 
92 
93 private:
94 
95  public:
96  WaveView();
97 
98  void set_multiplicator(double p1, double p2);
99 
100  void set_frame(const float* p1, int p2);
101 
102  void set_text(const Glib::ustring& p1, Gtk::CornerType p2);
103  #ifdef GLIBMM_PROPERTIES_ENABLED
104 
110  Glib::PropertyProxy< Glib::ustring > property_text_top_left() ;
111 #endif //#GLIBMM_PROPERTIES_ENABLED
112 
113 #ifdef GLIBMM_PROPERTIES_ENABLED
114 
120  Glib::PropertyProxy_ReadOnly< Glib::ustring > property_text_top_left() const;
121 #endif //#GLIBMM_PROPERTIES_ENABLED
122 
123  #ifdef GLIBMM_PROPERTIES_ENABLED
124 
130  Glib::PropertyProxy< Glib::ustring > property_text_top_right() ;
131 #endif //#GLIBMM_PROPERTIES_ENABLED
132 
133 #ifdef GLIBMM_PROPERTIES_ENABLED
134 
140  Glib::PropertyProxy_ReadOnly< Glib::ustring > property_text_top_right() const;
141 #endif //#GLIBMM_PROPERTIES_ENABLED
142 
143  #ifdef GLIBMM_PROPERTIES_ENABLED
144 
150  Glib::PropertyProxy< Glib::ustring > property_text_bottom_left() ;
151 #endif //#GLIBMM_PROPERTIES_ENABLED
152 
153 #ifdef GLIBMM_PROPERTIES_ENABLED
154 
160  Glib::PropertyProxy_ReadOnly< Glib::ustring > property_text_bottom_left() const;
161 #endif //#GLIBMM_PROPERTIES_ENABLED
162 
163  #ifdef GLIBMM_PROPERTIES_ENABLED
164 
170  Glib::PropertyProxy< Glib::ustring > property_text_bottom_right() ;
171 #endif //#GLIBMM_PROPERTIES_ENABLED
172 
173 #ifdef GLIBMM_PROPERTIES_ENABLED
174 
180  Glib::PropertyProxy_ReadOnly< Glib::ustring > property_text_bottom_right() const;
181 #endif //#GLIBMM_PROPERTIES_ENABLED
182 
183  #ifdef GLIBMM_PROPERTIES_ENABLED
184 
190  Glib::PropertyProxy< double > property_text_pos_left() ;
191 #endif //#GLIBMM_PROPERTIES_ENABLED
192 
193 #ifdef GLIBMM_PROPERTIES_ENABLED
194 
200  Glib::PropertyProxy_ReadOnly< double > property_text_pos_left() const;
201 #endif //#GLIBMM_PROPERTIES_ENABLED
202 
203  #ifdef GLIBMM_PROPERTIES_ENABLED
204 
210  Glib::PropertyProxy< double > property_text_pos_right() ;
211 #endif //#GLIBMM_PROPERTIES_ENABLED
212 
213 #ifdef GLIBMM_PROPERTIES_ENABLED
214 
220  Glib::PropertyProxy_ReadOnly< double > property_text_pos_right() const;
221 #endif //#GLIBMM_PROPERTIES_ENABLED
222 
223 
224 };
225 
226 } // namespace Gxw
227 
228 
229 namespace Glib
230 {
239  Gxw::WaveView* wrap(GxWaveView* object, bool take_copy = false);
240 } //namespace Glib
241 
242 
243 #endif /* _GXWMM_WAVEVIEW_H */
244 
Glib
Definition: bigknob.cc:41
Gxw::WaveView::BaseClassType
GxWaveViewClass BaseClassType
Definition: waveview.h:48
Gxw::WaveView_Class
Definition: wrap_init.cc:110
Gxw::WaveView::CppObjectType
WaveView CppObjectType
Definition: waveview.h:45
Gxw::WaveView::~WaveView
virtual ~WaveView()
Definition: waveview.cc:103
Gxw::WaveView::gobj
GxWaveView * gobj()
Provides access to the underlying C GtkObject.
Definition: waveview.h:78
Gxw::WaveView
Definition: waveview.h:42
Gxw
Definition: bigknob.cc:51
Glib::wrap
Gxw::BigKnob * wrap(GxBigKnob *object, bool take_copy)
Definition: bigknob.cc:44
GxWaveViewClass
struct _GxWaveViewClass GxWaveViewClass
Definition: waveview.h:33
Gxw::WaveView::gobj
const GxWaveView * gobj() const
Provides access to the underlying C GtkObject.
Definition: waveview.h:81
Gxw::WaveView::WaveView
WaveView()
Definition: waveview.cc:122
Gxw::WaveView::get_base_type
static GType get_base_type() G_GNUC_CONST
Definition: waveview.cc:116
Gxw::WaveView::set_text
void set_text(const Glib::ustring &p1, Gtk::CornerType p2)
Definition: waveview.cc:142
Gxw::WaveView::BaseObjectType
GxWaveView BaseObjectType
Definition: waveview.h:47
Gxw::WaveView::set_multiplicator
void set_multiplicator(double p1, double p2)
Definition: waveview.cc:132
GxWaveView
struct _GxWaveView GxWaveView
Definition: waveview.h:32
G_GNUC_CONST
#define G_GNUC_CONST
Definition: wrap_init.cc:8
Gxw::WaveView::get_type
static GType get_type() G_GNUC_CONST
Definition: waveview.cc:110
Gxw::WaveView::CppClassType
WaveView_Class CppClassType
Definition: waveview.h:46
Gxw::WaveView::set_frame
void set_frame(const float *p1, int p2)
Definition: waveview.cc:137