diff options
| author | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2007-11-09 00:13:20 +0000 |
|---|---|---|
| committer | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2007-11-09 00:13:20 +0000 |
| commit | 612e765ceb09fce886ffc02120f039f7d880048f (patch) | |
| tree | 2b0bb67fe3e1a4e81b21b12bd57293caf1038c23 /lib/gui/elistbox.cpp | |
| parent | bae4b8c8df551c8a32ce9611ad1691ccb405791a (diff) | |
| download | enigma2-612e765ceb09fce886ffc02120f039f7d880048f.tar.gz enigma2-612e765ceb09fce886ffc02120f039f7d880048f.zip | |
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
Diffstat (limited to 'lib/gui/elistbox.cpp')
| -rw-r--r-- | lib/gui/elistbox.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
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<gPixmap> &pm) { m_style.m_background = pm; |
