*
* Ion is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by
*
* Ion is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by
static void draw_multirow(GrBrush *brush, int x, int y, int h,
char *str, WListingItemInfo *iinf,
static void draw_multirow(GrBrush *brush, int x, int y, int h,
char *str, WListingItemInfo *iinf,
- grbrush_draw_string(brush, x, y, str, strlen(str), TRUE, style);
+ grbrush_draw_string(brush, x, y, str, strlen(str), TRUE);
- grbrush_draw_string(brush, x, y, str, l, TRUE, style);
+ grbrush_draw_string(brush, x, y, str, l, TRUE);
- grbrush_draw_string(brush, x+maxw-wrapw, y, "\\", 1, TRUE, style);
+ grbrush_draw_string(brush, x+maxw-wrapw, y, "\\", 1, TRUE);
- grbrush_draw_string(brush, x, y, str, l, TRUE, style);
+ grbrush_draw_string(brush, x, y, str, l, TRUE);
{
int wrapw=grbrush_get_text_width(brush, "\\", 1);
int ciw=grbrush_get_text_width(brush, CONT_INDENT, CONT_INDENT_LEN);
{
int wrapw=grbrush_get_text_width(brush, "\\", 1);
int ciw=grbrush_get_text_width(brush, CONT_INDENT, CONT_INDENT_LEN);
draw_multirow(brush, geom->x+x, y, l->itemh, l->strs[i],
(l->iteminfos!=NULL ? &(l->iteminfos[i]) : NULL),
draw_multirow(brush, geom->x+x, y, l->itemh, l->strs[i],
(l->iteminfos!=NULL ? &(l->iteminfos[i]) : NULL),
- geom->w-x, ciw, wrapw,
- (i==l->selected_str ? selstyle : style));
+ geom->w-x, ciw, wrapw);
+
+ if(i==l->selected_str)
+ grbrush_unset_attr(brush, selattr);
- do_draw_listing(brush, &geom2, l, style, selstyle);
+ do_draw_listing(brush, &geom2, l, selattr);