blob: 23076a6da46ad6c6c8cd91d8a8f5b41100a170d6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#pragma once
#include "baserender.h"
class cFlatDisplayTracks : public cFlatBaseRender, public cSkinDisplayTracks {
private:
cPixmap *tracksPixmap;
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);
};
|