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

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

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

revision 3183 by schoenebeck, Thu May 11 11:36:33 2017 UTC revision 3184 by schoenebeck, Wed May 17 12:28:39 2017 UTC
# Line 23  MacroEditor::MacroEditor() : Line 23  MacroEditor::MacroEditor() :
23    
24      set_default_size(800, 600);      set_default_size(800, 600);
25    
26      //FIXME: Commented out since Gtk::Label is a disaster when it comes to multi line content.      m_labelIntro.set_padding(10, 10);
27      /*m_labelIntro.set_text(  #if GTKMM_MAJOR_VERSION >= 3
28        m_labelIntro.set_line_wrap();
29    #endif
30        m_labelIntro.set_text(
31          _("A macro is a list of parameters and corresponding values which "          _("A macro is a list of parameters and corresponding values which "
32            "should be applied to the instrument editor when the macro is "            "should be applied to the instrument editor when the macro is "
33            "triggered by the user. A macro is triggered either by selecting "            "triggered by the user. Only the parameters listed here will be "
34            "the macro from the \"Macro\" menu, or by hitting the macro's "            "applied to the instrument editor when this macro is triggered, all "
35            "respective keyboard accelerator (F1 to F12).")            "other ones remain untouched. So simply delete parameters here which "
36              "you don't want to be modified by this macro. Double click on a "
37              "value to change it.")
38      );      );
39      m_labelIntro.set_line_wrap();      m_vbox.pack_start(m_labelIntro, Gtk::PACK_SHRINK);
     m_vbox.pack_start(m_labelIntro, Gtk::PACK_SHRINK);*/  
40    
41      // create Macro treeview (including its data model)      // create Macro treeview (including its data model)
42      m_treeStoreMacro = MacroTreeStore::create(m_treeModelMacro);      m_treeStoreMacro = MacroTreeStore::create(m_treeModelMacro);
# Line 148  MacroEditor::MacroEditor() : Line 152  MacroEditor::MacroEditor() :
152          sigc::mem_fun(*this, &MacroEditor::onKeyReleased)          sigc::mem_fun(*this, &MacroEditor::onKeyReleased)
153      );      );
154    
155        m_deleteButton.set_tooltip_text(_("Delete the selected parameters from this macro."));
156        m_inverseDeleteButton.set_tooltip_text(_("Delete all parameters from this macro except the selected ones."));
157    
158      show_all_children();      show_all_children();
159      updateStatus();      updateStatus();
160  }  }

Legend:
Removed from v.3183  
changed lines
  Added in v.3184

  ViewVC Help
Powered by ViewVC