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

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

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

revision 3363 by schoenebeck, Wed May 17 12:28:39 2017 UTC revision 3364 by schoenebeck, Tue Nov 14 18:07:25 2017 UTC
# Line 16  Line 16 
16  # include <Serialization.h>  # include <Serialization.h>
17  #endif  #endif
18    
 #include <gtkmm.h>  
19  #if HAVE_CONFIG_H  #if HAVE_CONFIG_H
20  # include <config.h>  # include <config.h>
21  #endif  #endif
22  #include "compat.h"  #include "compat.h"
23  #include <gtkmm/uimanager.h>  
24  #include <gtkmm/actiongroup.h>  #if USE_GTKMM_BUILDER
25    # include <gtkmm/builder.h>
26    #else
27    # include <gtkmm/uimanager.h> // deprecated in gtkmm >= 3.21.4
28    #endif
29    #include <gtkmm/treeview.h>
30    #include <gtkmm/treestore.h>
31    #include <gtkmm/scrolledwindow.h>
32    #include <gtkmm/textview.h>
33    
34  #include "wrapLabel.hh"  #include "wrapLabel.hh"
35  #include "ManagedWindow.h"  #include "ManagedWindow.h"
36    
# Line 56  protected: Line 64  protected:
64    
65      sigc::signal<void, const std::vector<Serialization::Archive>& > m_macros_changed;      sigc::signal<void, const std::vector<Serialization::Archive>& > m_macros_changed;
66    
67      Gtk::VBox m_vbox;      VBox m_vbox;
68      Gtk::HBox m_addHBox;      HBox m_addHBox;
69      Gtk::HBox m_mainHBox;      HBox m_mainHBox;
70      Gtk::VBox m_rvbox;      VBox m_rvbox;
71      Gtk::HButtonBox m_detailsButtonBox;      HButtonBox m_detailsButtonBox;
72      Gtk::HBox m_footerHBox;      HBox m_footerHBox;
73      Gtk::HBox m_statusHBox;      HBox m_statusHBox;
74      Gtk::HButtonBox m_buttonBoxL;      HButtonBox m_buttonBoxL;
75      Gtk::HButtonBox m_buttonBox;      HButtonBox m_buttonBox;
76      Gtk::ScrolledWindow m_scrolledWindow;      Gtk::ScrolledWindow m_scrolledWindow;
77  #if GTKMM_MAJOR_VERSION < 3  #if GTKMM_MAJOR_VERSION < 3
78      view::WrapLabel m_labelIntro;      view::WrapLabel m_labelIntro;
# Line 138  protected: Line 146  protected:
146      void onButtonCancel();      void onButtonCancel();
147      void onButtonApply();      void onButtonApply();
148      void onWindowHide();      void onWindowHide();
149      bool onWindowDelete(GdkEventAny* e);  #if GTKMM_MAJOR_VERSION > 3 || (GTKMM_MAJOR_VERSION == 3 && (GTKMM_MINOR_VERSION > 91 || (GTKMM_MINOR_VERSION == 91 && GTKMM_MICRO_VERSION >= 2))) // GTKMM >= 3.91.2
150        bool onWindowDelete(Gdk::Event& e);
151    #endif
152        bool onWindowDeleteP(GdkEventAny* e);
153      void updateStatus();      void updateStatus();
154      void updateStatusBar();      void updateStatusBar();
155      void reloadTreeView();      void reloadTreeView();
156      void onTreeViewSelectionChanged();      void onTreeViewSelectionChanged();
157    #if GTKMM_MAJOR_VERSION > 3 || (GTKMM_MAJOR_VERSION == 3 && (GTKMM_MINOR_VERSION > 91 || (GTKMM_MINOR_VERSION == 91 && GTKMM_MICRO_VERSION >= 2))) // GTKMM >= 3.91.2
158        bool onMacroTreeViewKeyRelease(Gdk::EventKey& button);
159    #else
160      void onMacroTreeViewKeyRelease(GdkEventKey* button);      void onMacroTreeViewKeyRelease(GdkEventKey* button);
161    #endif
162      void onMacroTreeViewRowValueChanged(const Gtk::TreeModel::Path& path,      void onMacroTreeViewRowValueChanged(const Gtk::TreeModel::Path& path,
163                                          const Gtk::TreeModel::iterator& iter);                                          const Gtk::TreeModel::iterator& iter);
164      void onMacroEditorAppliedChanges();      void onMacroEditorAppliedChanges();
# Line 151  protected: Line 166  protected:
166      void inverseDeleteSelectedRows();      void inverseDeleteSelectedRows();
167      void deleteRows(const std::vector<Gtk::TreeModel::Path>& rows);      void deleteRows(const std::vector<Gtk::TreeModel::Path>& rows);
168      void duplicateRows(const std::vector<Gtk::TreeModel::Path>& rows);      void duplicateRows(const std::vector<Gtk::TreeModel::Path>& rows);
169    #if GTKMM_MAJOR_VERSION > 3 || (GTKMM_MAJOR_VERSION == 3 && (GTKMM_MINOR_VERSION > 91 || (GTKMM_MINOR_VERSION == 91 && GTKMM_MICRO_VERSION >= 2))) // GTKMM >= 3.91.2
170        bool onKeyPressed(Gdk::EventKey& key);
171        bool onKeyReleased(Gdk::EventKey& key);
172    #else
173      bool onKeyPressed(GdkEventKey* key);      bool onKeyPressed(GdkEventKey* key);
174      bool onKeyReleased(GdkEventKey* key);      bool onKeyReleased(GdkEventKey* key);
175    #endif
176  };  };
177    
178  #endif // GIGEDIT_MACROSSETUP_H  #endif // GIGEDIT_MACROSSETUP_H

Legend:
Removed from v.3363  
changed lines
  Added in v.3364

  ViewVC Help
Powered by ViewVC