/[svn]/gigedit/trunk/src/mainwindow.h
ViewVC logotype

Diff of /gigedit/trunk/src/mainwindow.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1082 by schoenebeck, Thu Mar 8 01:43:18 2007 UTC revision 1088 by persson, Sat Mar 10 08:16:38 2007 UTC
# Line 502  protected: Line 502  protected:
502          SamplesModel() {          SamplesModel() {
503              add(m_col_name);              add(m_col_name);
504              add(m_col_sample);              add(m_col_sample);
505                add(m_col_group);
506          }          }
507    
508          Gtk::TreeModelColumn<Glib::ustring> m_col_name;          Gtk::TreeModelColumn<Glib::ustring> m_col_name;
509          Gtk::TreeModelColumn<gig::Sample*> m_col_sample;          Gtk::TreeModelColumn<gig::Sample*> m_col_sample;
510          Gtk::TreeModelColumn<gig::Group*> m_col_group;          Gtk::TreeModelColumn<gig::Group*> m_col_group;
511      } m_SamplesModel;      } m_SamplesModel;
512    
513        Gtk::ScrolledWindow m_ScrolledWindowSamples;
514      Gtk::TreeView m_TreeViewSamples;      Gtk::TreeView m_TreeViewSamples;
515      Glib::RefPtr<Gtk::TreeStore> m_refSamplesTreeModel;      Glib::RefPtr<Gtk::TreeStore> m_refSamplesTreeModel;
516    
# Line 521  protected: Line 524  protected:
524      Gtk::Label* lSample;      Gtk::Label* lSample;
525      Gtk::Entry* wSample;      Gtk::Entry* wSample;
526    
527        struct SampleImportItem {
528            gig::Sample*  gig_sample;  // pointer to the gig::Sample to which the sample data should be imported to
529            Glib::ustring sample_path; // file name of the sample to be imported
530        };
531        std::list<SampleImportItem> m_SampleImportQueue;
532    
533      void VCFEnabled_toggled();      void VCFEnabled_toggled();
534      void VCFCutoffController_changed();      void VCFCutoffController_changed();
535      void VCFResonanceController_changed();      void VCFResonanceController_changed();
# Line 559  protected: Line 568  protected:
568    
569      void on_button_release(GdkEventButton* button);      void on_button_release(GdkEventButton* button);
570    
571        void __import_queued_samples();
572    
573    Gtk::Menu* popup_menu;    Gtk::Menu* popup_menu;
574  };  };
575    

Legend:
Removed from v.1082  
changed lines
  Added in v.1088

  ViewVC Help
Powered by ViewVC