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

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

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

revision 3089 by schoenebeck, Sun Jan 15 19:18:39 2017 UTC revision 3106 by schoenebeck, Sat Feb 11 17:04:48 2017 UTC
# Line 57  Line 57 
57  #include "ReferencesView.h"  #include "ReferencesView.h"
58  #include "../../gfx/status_attached.xpm"  #include "../../gfx/status_attached.xpm"
59  #include "../../gfx/status_detached.xpm"  #include "../../gfx/status_detached.xpm"
60    #include "gfx/builtinpix.h"
61    
62  MainWindow::MainWindow() :  MainWindow::MainWindow() :
63      m_DimRegionChooser(*this),      m_DimRegionChooser(*this),
64      dimreg_label(_("Changes apply to:")),      dimreg_label(_("Changes apply to:")),
65      dimreg_all_regions(_("all regions")),      dimreg_all_regions(_("all regions")),
66      dimreg_all_dimregs(_("all dimension splits")),      dimreg_all_dimregs(_("all dimension splits")),
67      dimreg_stereo(_("both channels"))      dimreg_stereo(_("both channels")),
68        labelNoSample(_(" No Sample")),
69        labelMissingSample(_(" Missing some Sample(s)")),
70        labelLooped(_(" Looped")),
71        labelSomeLoops(_(" Some Loop(s)"))
72  {  {
73        loadBuiltInPix();
74    
75  //    set_border_width(5);  //    set_border_width(5);
76  //    set_default_size(400, 200);  //    set_default_size(400, 200);
77    
   
78      add(m_VBox);      add(m_VBox);
79    
80      // Handle selection      // Handle selection
# Line 103  MainWindow::MainWindow() : Line 108  MainWindow::MainWindow() :
108      dimreg_hbox.add(dimreg_stereo);      dimreg_hbox.add(dimreg_stereo);
109      dimreg_vbox.add(dimreg_edit);      dimreg_vbox.add(dimreg_edit);
110      dimreg_vbox.pack_start(dimreg_hbox, Gtk::PACK_SHRINK);      dimreg_vbox.pack_start(dimreg_hbox, Gtk::PACK_SHRINK);
111        {
112            imageNoSample.set(redDot);
113            imageNoSample.set_alignment(Gtk::ALIGN_RIGHT);
114            labelNoSample.set_alignment(Gtk::ALIGN_LEFT);
115            legend_hbox.add(imageNoSample);
116            legend_hbox.add(labelNoSample);
117    
118            imageMissingSample.set(yellowDot);
119            imageMissingSample.set_alignment(Gtk::ALIGN_RIGHT);
120            labelMissingSample.set_alignment(Gtk::ALIGN_LEFT);
121            legend_hbox.add(imageMissingSample);
122            legend_hbox.add(labelMissingSample);
123    
124            imageLooped.set(blackLoop);
125            imageLooped.set_alignment(Gtk::ALIGN_RIGHT);
126            labelLooped.set_alignment(Gtk::ALIGN_LEFT);
127            legend_hbox.add(imageLooped);
128            legend_hbox.add(labelLooped);
129    
130            imageSomeLoops.set(grayLoop);
131            imageSomeLoops.set_alignment(Gtk::ALIGN_RIGHT);
132            labelSomeLoops.set_alignment(Gtk::ALIGN_LEFT);
133            legend_hbox.add(imageSomeLoops);
134            legend_hbox.add(labelSomeLoops);
135    
136            legend_hbox.show_all_children();
137        }
138        dimreg_vbox.pack_start(legend_hbox, Gtk::PACK_SHRINK);
139      m_HPaned.add2(dimreg_vbox);      m_HPaned.add2(dimreg_vbox);
140    
141      dimreg_label.set_tooltip_text(_("To automatically apply your changes above globally to the entire instrument, check all 3 check boxes on the right."));      dimreg_label.set_tooltip_text(_("To automatically apply your changes above globally to the entire instrument, check all 3 check boxes on the right."));

Legend:
Removed from v.3089  
changed lines
  Added in v.3106

  ViewVC Help
Powered by ViewVC