From 612e765ceb09fce886ffc02120f039f7d880048f Mon Sep 17 00:00:00 2001 From: Andreas Monzner Date: Fri, 9 Nov 2007 00:13:20 +0000 Subject: add foregroundcolor selected and backgroundcolor selected to local listbox styles (backgroundColorSelected, foregroundColorSelected in skin) add EntryForegroundColorSelected support to GraphMultiEPG add possibility to set selected foregroundcolor for listboxmulticontent entries --- lib/gui/elistbox.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'lib/gui/elistbox.cpp') diff --git a/lib/gui/elistbox.cpp b/lib/gui/elistbox.cpp index c7a46baa..383ac42d 100644 --- a/lib/gui/elistbox.cpp +++ b/lib/gui/elistbox.cpp @@ -483,12 +483,24 @@ void eListbox::setBackgroundColor(gRGB &col) m_style.m_background_color_set = 1; } +void eListbox::setBackgroundColorSelected(gRGB &col) +{ + m_style.m_background_color_selected = col; + m_style.m_background_color_selected_set = 1; +} + void eListbox::setForegroundColor(gRGB &col) { m_style.m_foreground_color = col; m_style.m_foreground_color_set = 1; } +void eListbox::setForegroundColorSelected(gRGB &col) +{ + m_style.m_foreground_color_selected = col; + m_style.m_foreground_color_selected_set = 1; +} + void eListbox::setBackgroundPicture(ePtr &pm) { m_style.m_background = pm; -- cgit v1.2.3