X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/265fb595e8767536096985bcfca7d0c36e61b5a0..c1ffa86e1de5591f4d91d09fd90323df8587920c:/lib/service/listboxservice.h diff --git a/lib/service/listboxservice.h b/lib/service/listboxservice.h index 8623336f..5228a2f2 100644 --- a/lib/service/listboxservice.h +++ b/lib/service/listboxservice.h @@ -1,6 +1,7 @@ #ifndef __lib_service_listboxservice_h #define __lib_service_listboxservice_h +#include #include #include #include @@ -58,6 +59,7 @@ public: picDVB_S, picDVB_T, picDVB_C, + picServiceGroup, picFolder, picMarker, picElements @@ -72,6 +74,20 @@ public: int setCurrentMarked(bool); void setNumberOffset(int offset) { m_numberoffset = offset; } + + int getItemHeight() { return m_itemheight; } + void setItemHeight(int height); + + enum { + markedForeground, + markedForegroundSelected, + markedBackground, + markedBackgroundSelected, + serviceNotAvail, + colorElements + }; + + void setColor(int color, gRGB &col); protected: void cursorHome(); void cursorEnd(); @@ -95,6 +111,8 @@ protected: eRect m_element_position[celElements]; ePtr m_element_font[celElements]; ePtr m_pixmaps[picElements]; + gRGB m_color[colorElements]; + bool m_color_set[colorElements]; private: typedef std::list list; @@ -120,6 +138,8 @@ private: int m_numberoffset; eServiceReference m_is_playable_ignore; + + int m_itemheight; }; #endif