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

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

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

revision 1262 by persson, Sun Jul 22 15:07:08 2007 UTC revision 1322 by schoenebeck, Tue Sep 4 11:04:56 2007 UTC
# Line 117  public: Line 117  public:
117      void load_file(const char* name);      void load_file(const char* name);
118      void load_instrument(gig::Instrument* instr);      void load_instrument(gig::Instrument* instr);
119      void file_changed();      void file_changed();
120        sigc::signal<void, gig::File*> signal_file_structure_to_be_changed();
121        sigc::signal<void, gig::File*> signal_file_structure_changed();
122        sigc::signal<void, std::list<gig::Sample*> > signal_samples_to_be_removed();
123        sigc::signal<void> signal_samples_removed();
124        sigc::signal<void, gig::Region*> signal_region_to_be_changed();
125        sigc::signal<void, gig::Region*> signal_region_changed();
126        sigc::signal<void, gig::DimensionRegion*> signal_dimreg_to_be_changed();
127        sigc::signal<void, gig::DimensionRegion*> signal_dimreg_changed();
128        sigc::signal<void, gig::Sample*/*old*/, gig::Sample*/*new*/> signal_sample_ref_changed();
129    
130  protected:  protected:
131      Glib::RefPtr<Gtk::ActionGroup> actionGroup;      Glib::RefPtr<Gtk::ActionGroup> actionGroup;
# Line 128  protected: Line 137  protected:
137      PropDialog propDialog;      PropDialog propDialog;
138      InstrumentProps instrumentProps;      InstrumentProps instrumentProps;
139    
140        sigc::signal<void, gig::File*> file_structure_to_be_changed_signal;
141        sigc::signal<void, gig::File*> file_structure_changed_signal;
142        sigc::signal<void, std::list<gig::Sample*> > samples_to_be_removed_signal;
143        sigc::signal<void> samples_removed_signal;
144        sigc::signal<void, gig::Region*> region_to_be_changed_signal;
145        sigc::signal<void, gig::Region*> region_changed_signal;
146        sigc::signal<void, gig::DimensionRegion*> dimreg_to_be_changed_signal;
147        sigc::signal<void, gig::DimensionRegion*> dimreg_changed_signal;
148        sigc::signal<void, gig::Sample*/*old*/, gig::Sample*/*new*/> sample_ref_changed_signal;
149    
150      void on_instrument_selection_change(int index);      void on_instrument_selection_change(int index);
151      void on_sel_change();      void on_sel_change();
152      void region_changed();      void region_changed();
# Line 226  protected: Line 245  protected:
245    
246      bool file_save();      bool file_save();
247      bool file_save_as();      bool file_save_as();
248        bool check_if_savable();
249    
250      void on_button_release(GdkEventButton* button);      void on_button_release(GdkEventButton* button);
251        void on_sample_treeview_drag_begin(const Glib::RefPtr<Gdk::DragContext>& context);
252      void on_sample_treeview_drag_data_get(const Glib::RefPtr<Gdk::DragContext>&,      void on_sample_treeview_drag_data_get(const Glib::RefPtr<Gdk::DragContext>&,
253                                            Gtk::SelectionData& selection_data, guint, guint);                                            Gtk::SelectionData& selection_data, guint, guint);
254      void on_sample_label_drop_drag_data_received(const Glib::RefPtr<Gdk::DragContext>& context,      void on_sample_label_drop_drag_data_received(const Glib::RefPtr<Gdk::DragContext>& context,
255                                                   int, int,                                                   int, int,
256                                                   const Gtk::SelectionData& selection_data,                                                   const Gtk::SelectionData& selection_data,
257                                                   guint, guint time);                                                   guint, guint time);
258    
259      void sample_name_changed(const Gtk::TreeModel::Path& path,      void sample_name_changed(const Gtk::TreeModel::Path& path,
260                               const Gtk::TreeModel::iterator& iter);                               const Gtk::TreeModel::iterator& iter);
261      void instrument_name_changed(const Gtk::TreeModel::Path& path,      void instrument_name_changed(const Gtk::TreeModel::Path& path,
# Line 247  protected: Line 269  protected:
269      Gtk::Menu* popup_menu;      Gtk::Menu* popup_menu;
270    
271      bool on_delete_event(GdkEventAny* event);      bool on_delete_event(GdkEventAny* event);
272    
273        bool first_call_to_drag_data_get;
274  };  };
275    
276  #endif  #endif

Legend:
Removed from v.1262  
changed lines
  Added in v.1322

  ViewVC Help
Powered by ViewVC