summaryrefslogtreecommitdiff
path: root/gtk2_ardour/analysis_window.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2009-02-26 00:58:35 +0000
committerDavid Robillard <d@drobilla.net>2009-02-26 00:58:35 +0000
commit03536cd399131e3fec54c95ae5ac6f11dca05aef (patch)
treece73dfb9f1258c79f0e985840a12842154683479 /gtk2_ardour/analysis_window.h
parent3bc71af0ca89354670243e600c70374bfb224c6d (diff)
Fix a bunch of warnings.
Clean up. git-svn-id: svn://localhost/ardour2/branches/3.0@4668 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/analysis_window.h')
-rw-r--r--gtk2_ardour/analysis_window.h131
1 files changed, 65 insertions, 66 deletions
diff --git a/gtk2_ardour/analysis_window.h b/gtk2_ardour/analysis_window.h
index 45752c4a34..185774225b 100644
--- a/gtk2_ardour/analysis_window.h
+++ b/gtk2_ardour/analysis_window.h
@@ -45,82 +45,81 @@
class AnalysisWindow : public Gtk::Window
{
- public:
- AnalysisWindow ();
- ~AnalysisWindow ();
+public:
+ AnalysisWindow ();
+ ~AnalysisWindow ();
- void set_rangemode();
- void set_regionmode();
-
- void track_list_row_changed(const Gtk::TreeModel::Path& path, const Gtk::TreeModel::iterator& iter);
+ void set_rangemode();
+ void set_regionmode();
- void analyze ();
+ void track_list_row_changed(const Gtk::TreeModel::Path& path, const Gtk::TreeModel::iterator& iter);
- const void set_session(ARDOUR::Session *session) { _session = session; };
+ void analyze ();
- private:
-
- ARDOUR::Session *_session;
+ void set_session(ARDOUR::Session *session) { _session = session; };
- void clear_tracklist();
+private:
- void source_selection_changed (Gtk::RadioButton *);
- void display_model_changed (Gtk::RadioButton *);
- void show_minmax_changed ();
- void show_normalized_changed ();
+ ARDOUR::Session *_session;
- void analyze_data (Gtk::Button *);
-
- struct TrackListColumns : public Gtk::TreeModel::ColumnRecord {
- public:
- TrackListColumns () {
- add (trackname);
+ void clear_tracklist();
+
+ void source_selection_changed (Gtk::RadioButton *);
+ void display_model_changed (Gtk::RadioButton *);
+ void show_minmax_changed ();
+ void show_normalized_changed ();
+
+ void analyze_data (Gtk::Button *);
+
+ struct TrackListColumns : public Gtk::TreeModel::ColumnRecord {
+ public:
+ TrackListColumns () {
+ add (trackname);
add (visible);
add (color);
add (graph);
- }
- Gtk::TreeModelColumn<std::string> trackname;
- Gtk::TreeModelColumn<bool> visible;
- Gtk::TreeModelColumn<Gdk::Color> color;
- Gtk::TreeModelColumn<FFTResult *> graph;
- };
-
- // Packing essentials
- Gtk::HBox hbox;
- Gtk::VBox vbox;
-
- // Left side
- Glib::RefPtr<Gtk::ListStore> tlmodel;
- TrackListColumns tlcols;
- Gtk::TreeView track_list;
-
- Gtk::Label source_selection_label;
-
-
- Gtk::RadioButton source_selection_ranges_rb;
- Gtk::RadioButton source_selection_regions_rb;
-
- Gtk::HSeparator hseparator1;
-
- Gtk::Label display_model_label;
- Gtk::RadioButton display_model_composite_separate_rb;
- Gtk::RadioButton display_model_composite_all_tracks_rb;
-
- Gtk::Button refresh_button;
-
-
- Gtk::CheckButton show_minmax_button;
- Gtk::CheckButton show_normalized_button;
-
-
-
- // The graph
- FFTGraph fft_graph;
-
- bool track_list_ready;
- Glib::Mutex track_list_lock;
-
- friend class FFTGraph;
+ }
+ Gtk::TreeModelColumn<std::string> trackname;
+ Gtk::TreeModelColumn<bool> visible;
+ Gtk::TreeModelColumn<Gdk::Color> color;
+ Gtk::TreeModelColumn<FFTResult *> graph;
+ };
+
+ // Packing essentials
+ Gtk::HBox hbox;
+ Gtk::VBox vbox;
+
+ // Left side
+ Glib::RefPtr<Gtk::ListStore> tlmodel;
+ TrackListColumns tlcols;
+ Gtk::TreeView track_list;
+
+ Gtk::Label source_selection_label;
+
+
+ Gtk::RadioButton source_selection_ranges_rb;
+ Gtk::RadioButton source_selection_regions_rb;
+
+ Gtk::HSeparator hseparator1;
+
+ Gtk::Label display_model_label;
+ Gtk::RadioButton display_model_composite_separate_rb;
+ Gtk::RadioButton display_model_composite_all_tracks_rb;
+
+ Gtk::Button refresh_button;
+
+
+ Gtk::CheckButton show_minmax_button;
+ Gtk::CheckButton show_normalized_button;
+
+
+ // The graph
+ FFTGraph fft_graph;
+
+ bool track_list_ready;
+ Glib::Mutex track_list_lock;
+
+ friend class FFTGraph;
};
#endif // __ardour_analysis_window_h