X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/d7c4babd6e6040f085d118086d03419036c31b48..b234d52de02cb8c2ae18690516f970a239e0a755:/lib/service/listboxservice.h diff --git a/lib/service/listboxservice.h b/lib/service/listboxservice.h index b64e875f..40c7c64d 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 @@ -76,7 +77,17 @@ public: int getItemHeight() { return m_itemheight; } int setItemHeight(int height); + + enum { + markedForeground, + markedForegroundSelected, + markedBackground, + markedBackgroundSelected, + serviceNotAvail, + colorElements + }; + void setColor(int color, gRGB &col); protected: void cursorHome(); void cursorEnd(); @@ -100,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;