diff options
| author | Felipe Corr??a da Silva Sanches <juca@members.fsf.org> | 2007-12-11 23:26:43 +0000 |
|---|---|---|
| committer | jucablues <jucablues@users.sourceforge.net> | 2007-12-11 23:26:43 +0000 |
| commit | f5f2ac40c10fe9d55f41bb2f8977b7be65b69289 (patch) | |
| tree | ed749da1982898ededc5cf24d5cd83a1b52819d7 /src | |
| parent | move gtk version dep to gtkmm instead -- safer place to test it (diff) | |
| download | inkscape-f5f2ac40c10fe9d55f41bb2f8977b7be65b69289.tar.gz inkscape-f5f2ac40c10fe9d55f41bb2f8977b7be65b69289.zip | |
I have added beveled edges to the connections on the filter-effects
dialog
(bzr r4213)
Diffstat (limited to 'src')
| -rw-r--r-- | src/ui/dialog/filter-effects-dialog.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/ui/dialog/filter-effects-dialog.cpp b/src/ui/dialog/filter-effects-dialog.cpp index 98318455a..d1be155be 100644 --- a/src/ui/dialog/filter-effects-dialog.cpp +++ b/src/ui/dialog/filter-effects-dialog.cpp @@ -1477,9 +1477,11 @@ void FilterEffectsDialog::PrimitiveList::draw_connection(const Gtk::TreeIter& in const int row_index = find_index(res); const int x2 = rct.get_x() + fheight * (row_count - row_index) - fheight / 2; const int y2 = rct.get_y() + rct.get_height(); - - get_bin_window()->draw_line(gc, x1, y1, x2, y1); - get_bin_window()->draw_line(gc, x2, y1, x2, y2); + + // Draw a bevelled 'L'-shaped connection + get_bin_window()->draw_line(get_style()->get_black_gc(), x1, y1, x2-fheight/4, y1); + get_bin_window()->draw_line(get_style()->get_black_gc(), x2-fheight/4, y1, x2, y1-fheight/4); + get_bin_window()->draw_line(get_style()->get_black_gc(), x2, y1-fheight/4, x2, y2); } } } |
