/[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 3409 by schoenebeck, Tue Jan 23 16:30:56 2018 UTC revision 3469 by persson, Tue Feb 12 18:54:58 2019 UTC
# Line 1  Line 1 
1  /*                                                         -*- c++ -*-  /*                                                         -*- c++ -*-
2   * Copyright (C) 2006 - 2017 Andreas Persson   * Copyright (C) 2006 - 2019 Andreas Persson
3   *   *
4   * This program is free software; you can redistribute it and/or   * This program is free software; you can redistribute it and/or
5   * modify it under the terms of the GNU General Public License as   * modify it under the terms of the GNU General Public License as
# Line 70  class PropDialog : public ManagedWindow, Line 70  class PropDialog : public ManagedWindow,
70                     public PropEditor<DLS::Info> {                     public PropEditor<DLS::Info> {
71  public:  public:
72      PropDialog();      PropDialog();
     void set_info(DLS::Info* info);  
73      void set_file(gig::File* file);      void set_file(gig::File* file);
74    
75      // implementation for abstract methods of interface class "ManagedWindow"      // implementation for abstract methods of interface class "ManagedWindow"
# Line 104  protected: Line 103  protected:
103    
104      gig::File* m_file;      gig::File* m_file;
105    
106      void onFileFormatChanged();      void set_FileFormat(int value);
107  };  };
108    
109  class InstrumentProps : public ManagedWindow,  class InstrumentProps : public ManagedWindow,
# Line 353  protected: Line 352  protected:
352            add(m_col_name);            add(m_col_name);
353            add(m_col_instr);            add(m_col_instr);
354            add(m_col_scripts);            add(m_col_scripts);
355              add(m_col_tooltip);
356          }          }
357    
358          Gtk::TreeModelColumn<int> m_col_nr;          Gtk::TreeModelColumn<int> m_col_nr;
359          Gtk::TreeModelColumn<Glib::ustring> m_col_name;          Gtk::TreeModelColumn<Glib::ustring> m_col_name;
360          Gtk::TreeModelColumn<gig::Instrument*> m_col_instr;          Gtk::TreeModelColumn<gig::Instrument*> m_col_instr;
361          Gtk::TreeModelColumn<Glib::ustring> m_col_scripts;          Gtk::TreeModelColumn<Glib::ustring> m_col_scripts;
362            Gtk::TreeModelColumn<Glib::ustring> m_col_tooltip;
363      } m_Columns;      } m_Columns;
364    
365      VBox m_VBox;      VBox m_VBox;
# Line 564  protected: Line 565  protected:
565                                                 int position = -1);                                                 int position = -1);
566      void remove_instrument_from_menu(int index);      void remove_instrument_from_menu(int index);
567  #endif  #endif
568        bool onQueryTreeViewTooltip(int x, int y, bool keyboardTip, const Glib::RefPtr<Gtk::Tooltip>& tooltip);
569    
570      ProgressDialog* progress_dialog;      ProgressDialog* progress_dialog;
571      Loader* loader;      Loader* loader;
# Line 635  protected: Line 637  protected:
637      void __refreshEntireGUI();      void __refreshEntireGUI();
638      void updateScriptListOfMenu();      void updateScriptListOfMenu();
639      void assignScript(gig::Script* pScript);      void assignScript(gig::Script* pScript);
640        void dropAllScriptSlots();
641    
642      bool close_confirmation_dialog();      bool close_confirmation_dialog();
643      bool leaving_shared_mode_dialog();      bool leaving_shared_mode_dialog();
# Line 648  protected: Line 651  protected:
651      bool on_delete_event(GdkEventAny* event);      bool on_delete_event(GdkEventAny* event);
652    
653      bool first_call_to_drag_data_get;      bool first_call_to_drag_data_get;
654        
655      bool is_copy_samples_unity_note_enabled() const;      bool is_copy_samples_unity_note_enabled() const;
656      bool is_copy_samples_fine_tune_enabled() const;      bool is_copy_samples_fine_tune_enabled() const;
657      bool is_copy_samples_loop_enabled() const;      bool is_copy_samples_loop_enabled() const;

Legend:
Removed from v.3409  
changed lines
  Added in v.3469

  ViewVC Help
Powered by ViewVC