diff options
| author | MenTaLguY <mental@rydia.net> | 2007-07-27 07:39:39 +0000 |
|---|---|---|
| committer | mental <mental@users.sourceforge.net> | 2007-07-27 07:39:39 +0000 |
| commit | 8e011587added663729a1d796b49832c84a5f5f7 (patch) | |
| tree | 31cbcf1aa96ef507883d823cb428006e5b906698 /src/ui | |
| parent | Filter effects dialog: (diff) | |
| download | inkscape-8e011587added663729a1d796b49832c84a5f5f7.tar.gz inkscape-8e011587added663729a1d796b49832c84a5f5f7.zip | |
cosmetic improvement to standard filter input bar rendering
(bzr r3316)
Diffstat (limited to 'src/ui')
| -rw-r--r-- | src/ui/dialog/filter-effects-dialog.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ui/dialog/filter-effects-dialog.cpp b/src/ui/dialog/filter-effects-dialog.cpp index 3be16ad1f..7e460af37 100644 --- a/src/ui/dialog/filter-effects-dialog.cpp +++ b/src/ui/dialog/filter-effects-dialog.cpp @@ -719,6 +719,7 @@ bool FilterEffectsDialog::PrimitiveList::on_expose_signal(GdkEventExpose* e) for(int i = 0; i < FPInputConverter.end; ++i) { _vertical_layout->set_text(FPInputConverter.get_label((FilterPrimitiveInput)i)); const int x = text_start_x + _connection_cell.get_text_width() * (i + 1); + get_bin_window()->draw_rectangle(get_style()->get_white_gc(), true, x, vis_y, _connection_cell.get_text_width(), vis.get_height()); get_bin_window()->draw_layout(get_style()->get_text_gc(Gtk::STATE_NORMAL), x, vis_y, _vertical_layout); get_bin_window()->draw_line(darkgc, x, vis_y, x, vis_y + vis.get_height()); } @@ -805,7 +806,9 @@ void FilterEffectsDialog::PrimitiveList::draw_connection(const Gtk::TreeIter& in const int tw = _connection_cell.get_text_width(); const int src = 1 + (int)FPInputConverter.get_id_from_key( SP_OBJECT_REPR((*res)[_columns.primitive])->attribute((const gchar*)sp_attribute_name(attr))); - get_bin_window()->draw_line(gc, x1, y1, text_start_x + tw * src + (int)(tw * 0.5f), y1); + gint end_x = text_start_x + tw * src + (int)(tw * 0.5f); + get_bin_window()->draw_rectangle(gc, true, end_x-2, y1-2, 5, 5); + get_bin_window()->draw_line(gc, x1, y1, end_x, y1); } else if(res != _model->children().end()) { Gdk::Rectangle rct; |
