#pragma once #include "baserender.h" class cFlatDisplayTracks : public cFlatBaseRender, public cSkinDisplayTracks { private: cPixmap *tracksPixmap; cPixmap *tracksLogoPixmap; cImage *img_ac3; cImage *img_stereo; int ac3Width, stereoWidth; int itemHeight, itemsHeight; int maxItemWidth; int currentIndex; void SetItem(const char *Text, int Index, bool Current); public: cFlatDisplayTracks(const char *Title, int NumTracks, const char * const *Tracks); virtual ~cFlatDisplayTracks(); virtual void SetTrack(int Index, const char * const *Tracks); virtual void SetAudioChannel(int AudioChannel); virtual void Flush(void); };