comparison audacious/playlist_list.c @ 735:35e19f8de781 trunk

[svn] drag and drop line rendering fix
author nenolod
date Mon, 27 Feb 2006 16:42:12 -0800
parents d539e5c5f730
children 113f66421a62
comparison
equal deleted inserted replaced
734:9a5075ce88a8 735:35e19f8de781
678 gdk_gc_set_foreground(gc, 678 gdk_gc_set_foreground(gc,
679 skin_get_color(bmp_active_skin, 679 skin_get_color(bmp_active_skin,
680 SKIN_PLEDIT_CURRENT)); 680 SKIN_PLEDIT_CURRENT));
681 681
682 gdk_draw_line(obj, gc, pl->pl_widget.x, 682 gdk_draw_line(obj, gc, pl->pl_widget.x,
683 pl->pl_widget.x + lpadding + 683 pl->pl_widget.y + ((pos - pl->pl_first) * pl->pl_fheight),
684 (width_approx_letters / 4),
685 pl->pl_widget.width + pl->pl_widget.x - 1, 684 pl->pl_widget.width + pl->pl_widget.x - 1,
686 pl->pl_widget.y + 685 pl->pl_widget.y +
687 ((pos - pl->pl_first) * pl->pl_fheight)); 686 ((pos - pl->pl_first) * pl->pl_fheight));
688 } 687 }
689 688
699 gdk_gc_set_foreground(gc, 698 gdk_gc_set_foreground(gc,
700 skin_get_color(bmp_active_skin, 699 skin_get_color(bmp_active_skin,
701 SKIN_PLEDIT_CURRENT)); 700 SKIN_PLEDIT_CURRENT));
702 701
703 gdk_draw_line(obj, gc, pl->pl_widget.x, 702 gdk_draw_line(obj, gc, pl->pl_widget.x,
704 pl->pl_widget.x + lpadding + 703 pl->pl_widget.y + lpadding +
705 (width_approx_letters / 4), 704 (width_approx_letters / 4),
706 pl->pl_widget.width + pl->pl_widget.x - 1, 705 pl->pl_widget.width + pl->pl_widget.x - 1,
707 pl->pl_widget.y + 706 pl->pl_widget.y +
708 ((pos - pl->pl_first) * pl->pl_fheight)); 707 ((pos - pl->pl_first) * pl->pl_fheight));
709 708