/[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 1339 by schoenebeck, Mon Sep 10 19:56:26 2007 UTC revision 1415 by schoenebeck, Sat Oct 13 13:14:10 2007 UTC
# Line 32  Line 32 
32  #include <gtkmm/treestore.h>  #include <gtkmm/treestore.h>
33  #include <gtkmm/uimanager.h>  #include <gtkmm/uimanager.h>
34  #include <gtkmm/window.h>  #include <gtkmm/window.h>
35    #include <gtkmm/statusbar.h>
36    #include <gtkmm/image.h>
37    
38  #include <sstream>  #include <sstream>
39    
# Line 131  protected: Line 133  protected:
133      Glib::RefPtr<Gtk::ActionGroup> actionGroup;      Glib::RefPtr<Gtk::ActionGroup> actionGroup;
134      Glib::RefPtr<Gtk::UIManager> uiManager;      Glib::RefPtr<Gtk::UIManager> uiManager;
135    
136        Gtk::Statusbar m_StatusBar;
137        Gtk::Label     m_AttachedStateLabel;
138        Gtk::Image     m_AttachedStateImage;
139    
140      RegionChooser m_RegionChooser;      RegionChooser m_RegionChooser;
141      DimRegionChooser m_DimRegionChooser;      DimRegionChooser m_DimRegionChooser;
142    
# Line 221  protected: Line 227  protected:
227      void on_action_file_properties();      void on_action_file_properties();
228      void on_action_quit();      void on_action_quit();
229      void show_instr_props();      void show_instr_props();
230        void on_action_view_status_bar();
231      void on_action_help_about();      void on_action_help_about();
232    
233      // sample right-click popup actions      // sample right-click popup actions
# Line 235  protected: Line 242  protected:
242    
243      LoadDialog* load_dialog;      LoadDialog* load_dialog;
244      Loader* loader;      Loader* loader;
245      void load_gig(gig::File* gig, const char* filename);      void load_gig(gig::File* gig, const char* filename, bool isSharedInstrument = false);
246    
247      gig::File* file;      gig::File* file;
248        bool file_is_shared;
249      bool file_has_name;      bool file_has_name;
250      bool file_is_changed;      bool file_is_changed;
251      std::string filename;      std::string filename;
252      std::string current_dir;      std::string current_dir;
253    
254        void set_file_is_shared(bool);
255    
256      bool file_save();      bool file_save();
257      bool file_save_as();      bool file_save_as();
258      bool check_if_savable();      bool check_if_savable();
# Line 265  protected: Line 275  protected:
275      void __clear();      void __clear();
276    
277      bool close_confirmation_dialog();      bool close_confirmation_dialog();
278        bool leaving_shared_mode_dialog();
279    
280      Gtk::Menu* popup_menu;      Gtk::Menu* popup_menu;
281    

Legend:
Removed from v.1339  
changed lines
  Added in v.1415

  ViewVC Help
Powered by ViewVC