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

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

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

revision 3154 by schoenebeck, Sat May 6 13:46:14 2017 UTC revision 3157 by schoenebeck, Mon May 8 17:30:10 2017 UTC
# Line 25  Line 25 
25  #include <gtkmm/actiongroup.h>  #include <gtkmm/actiongroup.h>
26  #include "ManagedWindow.h"  #include "ManagedWindow.h"
27    
28    /** @brief Editor for gigedit macros.
29     *
30     * Implements a window which allows to edit the abstract tree of one macro
31     * that may be applied with gigedit.
32     */
33  class MacroEditor : public ManagedWindow {  class MacroEditor : public ManagedWindow {
34  public:  public:
35      MacroEditor();      MacroEditor();
# Line 82  protected: Line 87  protected:
87      Gtk::Button m_applyButton;      Gtk::Button m_applyButton;
88      Gtk::Button m_cancelButton;      Gtk::Button m_cancelButton;
89    
90        bool m_altKeyDown;
91    
92      bool isModified() const;      bool isModified() const;
93      void onButtonCancel();      void onButtonCancel();
94      void onButtonApply();      void onButtonApply();
# Line 97  protected: Line 104  protected:
104                                          const Gtk::TreeModel::iterator& iter);                                          const Gtk::TreeModel::iterator& iter);
105      void deleteSelectedRows();      void deleteSelectedRows();
106      void inverseDeleteSelectedRows();      void inverseDeleteSelectedRows();
107        void deleteRows(const std::vector<Gtk::TreeModel::Path>& rows);
108        bool onKeyPressed(GdkEventKey* key);
109        bool onKeyReleased(GdkEventKey* key);
110  };  };
111    
112  #endif // GIGEDIT_MACROEDITOR_H  #endif // GIGEDIT_MACROEDITOR_H

Legend:
Removed from v.3154  
changed lines
  Added in v.3157

  ViewVC Help
Powered by ViewVC