/* same for foreground */
if (local_style && local_style->m_foreground_color_set)
- painter.setBackgroundColor(local_style->m_foreground_color);
+ painter.setForegroundColor(local_style->m_foreground_color);
/* if we have no transparent background */
if (!local_style || !local_style->m_transparent_background)
/* same for foreground */
if (local_style && local_style->m_foreground_color_set)
- painter.setBackgroundColor(local_style->m_foreground_color);
+ painter.setForegroundColor(local_style->m_foreground_color);
if (!local_style || !local_style->m_transparent_background)
/* if we have no transparent background */
painter.setForegroundColor(gRGB(color));
}/* if we have a local foreground color set, use that. */
else if (local_style && local_style->m_foreground_color_set)
- painter.setBackgroundColor(local_style->m_foreground_color);
+ painter.setForegroundColor(local_style->m_foreground_color);
}
void eListboxPythonMultiContent::paint(gPainter &painter, eWindowStyle &style, const ePoint &offset, int selected)