~liampwhite/inkscape/inkscape

« back to all changes in this revision

Viewing changes to src/widgets/stroke-style.cpp

update to trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
114
114
    show();
115
115
    set_mode(false);
116
116
        
117
 
    Gtk::Widget *px = manage(Glib::wrap(sp_icon_new(Inkscape::ICON_SIZE_LARGE_TOOLBAR, icon)));
 
117
    Gtk::Widget *px = Gtk::manage(Glib::wrap(sp_icon_new(Inkscape::ICON_SIZE_LARGE_TOOLBAR, icon)));
118
118
    g_assert(px != NULL);
119
119
    px->show();
120
120
    add(*px);
198
198
    hb->pack_start(*widthSpin, false, false, 0);
199
199
    unitSelector = new Inkscape::UI::Widget::UnitMenu();
200
200
    unitSelector->setUnitType(Inkscape::Util::UNIT_TYPE_LINEAR);
201
 
    Gtk::Widget *us = manage(unitSelector);
 
201
    Gtk::Widget *us = Gtk::manage(unitSelector);
202
202
    SPDesktop *desktop = SP_ACTIVE_DESKTOP;
203
203
 
204
204
    unitSelector->addUnit(*unit_table.getUnit("%"));
328
328
                                            //   implement a set_mnemonic_source function in the
329
329
                                            //   SPDashSelector class, so that we do not have to
330
330
                                            //   expose any of the underlying widgets?
331
 
    dashSelector = manage(new SPDashSelector);
 
331
    dashSelector = Gtk::manage(new SPDashSelector);
332
332
 
333
333
    dashSelector->show();
334
334
 
354
354
    hb = spw_hbox(table, 1, 1, i);
355
355
    i++;
356
356
 
357
 
    startMarkerCombo = manage(new MarkerComboBox("marker-start", SP_MARKER_LOC_START));
 
357
    startMarkerCombo = Gtk::manage(new MarkerComboBox("marker-start", SP_MARKER_LOC_START));
358
358
    startMarkerCombo->set_tooltip_text(_("Start Markers are drawn on the first node of a path or shape"));
359
359
    startMarkerConn = startMarkerCombo->signal_changed().connect(
360
360
            sigc::bind<MarkerComboBox *, StrokeStyle *, SPMarkerLoc>(
363
363
 
364
364
    hb->pack_start(*startMarkerCombo, true, true, 0);
365
365
 
366
 
    midMarkerCombo =  manage(new MarkerComboBox("marker-mid", SP_MARKER_LOC_MID));
 
366
    midMarkerCombo = Gtk::manage(new MarkerComboBox("marker-mid", SP_MARKER_LOC_MID));
367
367
    midMarkerCombo->set_tooltip_text(_("Mid Markers are drawn on every node of a path or shape except the first and last nodes"));
368
368
    midMarkerConn = midMarkerCombo->signal_changed().connect(
369
369
        sigc::bind<MarkerComboBox *, StrokeStyle *, SPMarkerLoc>(
372
372
 
373
373
    hb->pack_start(*midMarkerCombo, true, true, 0);
374
374
 
375
 
    endMarkerCombo = manage(new MarkerComboBox("marker-end", SP_MARKER_LOC_END));
 
375
    endMarkerCombo = Gtk::manage(new MarkerComboBox("marker-end", SP_MARKER_LOC_END));
376
376
    endMarkerCombo->set_tooltip_text(_("End Markers are drawn on the last node of a path or shape"));
377
377
    endMarkerConn = endMarkerCombo->signal_changed().connect(
378
378
        sigc::bind<MarkerComboBox *, StrokeStyle *, SPMarkerLoc>(