SpectMorph
|
00001 /* 00002 * Copyright (C) 2011 Stefan Westerfeld 00003 * 00004 * This library is free software; you can redistribute it and/or modify it 00005 * under the terms of the GNU Lesser General Public License as published by the 00006 * Free Software Foundation; either version 3 of the License, or (at your 00007 * option) any later version. 00008 * 00009 * This library is distributed in the hope that it will be useful, but WITHOUT 00010 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 00011 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License 00012 * for more details. 00013 * 00014 * You should have received a copy of the GNU Lesser General Public License 00015 * along with this program. If not, see <http://www.gnu.org/licenses/>. 00016 */ 00017 00018 #ifndef SPECTMORPH_MORPH_LFO_VIEW_HH 00019 #define SPECTMORPH_MORPH_LFO_VIEW_HH 00020 00021 #include "smmorphoperatorview.hh" 00022 #include "smmorphlfo.hh" 00023 #include "smcomboboxoperator.hh" 00024 00025 namespace SpectMorph 00026 { 00027 00028 class MorphLFOView : public MorphOperatorView 00029 { 00030 protected: 00031 MorphLFO *morph_lfo; 00032 Gtk::Table table; 00033 00034 OperatorFilter *operator_filter; 00035 00036 Gtk::Label wave_type_label; 00037 Gtk::ComboBoxText wave_type_combobox; 00038 00039 Gtk::Label frequency_label; 00040 Gtk::HScale frequency_scale; 00041 Gtk::Label frequency_value_label; 00042 00043 Gtk::Label depth_label; 00044 Gtk::HScale depth_scale; 00045 Gtk::Label depth_value_label; 00046 00047 Gtk::Label center_label; 00048 Gtk::HScale center_scale; 00049 Gtk::Label center_value_label; 00050 00051 Gtk::Label start_phase_label; 00052 Gtk::HScale start_phase_scale; 00053 Gtk::Label start_phase_value_label; 00054 00055 Gtk::CheckButton sync_voices_check_button; 00056 00057 void on_wave_type_changed(); 00058 void on_frequency_changed(); 00059 void on_depth_changed(); 00060 void on_center_changed(); 00061 void on_start_phase_changed(); 00062 void on_sync_voices_changed(); 00063 public: 00064 MorphLFOView (MorphLFO *op, MorphPlanWindow *morph_plan_window); 00065 ~MorphLFOView(); 00066 }; 00067 00068 } 00069 00070 #endif