class OSGraphics;
class GenericFont;
+class GenericBitmap;
/// Class for control list
public Observer<VarPercent>
{
public:
- CtrlList( intf_thread_t *pIntf, VarList &rList, GenericFont &rFont,
+ CtrlList( intf_thread_t *pIntf, VarList &rList,
+ const GenericFont &rFont, const GenericBitmap *pBitmap,
uint32_t fgcolor, uint32_t playcolor, uint32_t bgcolor1,
uint32_t bgcolor2, uint32_t selColor,
const UString &rHelp, VarBool *pVisible );
/// List associated to the control
VarList &m_rList;
/// Font
- GenericFont &m_rFont;
+ const GenericFont &m_rFont;
+ /// Background bitmap
+ /** If NULL, the 2 background colors defined below will be used */
+ const GenericBitmap *m_pBitmap;
/// Color of normal text
uint32_t m_fgColor;
/// Color of the playing item
uint32_t m_playColor;
- /// Background colors
+ /// Background colors, used when no background bitmap is given
uint32_t m_bgColor1, m_bgColor2;
/// Background of selected items
uint32_t m_selColor;