]> git.vomp.tv Git - vompclient.git/blob - wsymbol.h
Fix text corruption in channel number display on live tv
[vompclient.git] / wsymbol.h
1 /*
2     Copyright 2004-2005 Chris Tallon
3
4     This file is part of VOMP.
5
6     VOMP is free software; you can redistribute it and/or modify
7     it under the terms of the GNU General Public License as published by
8     the Free Software Foundation; either version 2 of the License, or
9     (at your option) any later version.
10
11     VOMP is distributed in the hope that it will be useful,
12     but WITHOUT ANY WARRANTY; without even the implied warranty of
13     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14     GNU General Public License for more details.
15
16     You should have received a copy of the GNU General Public License
17     along with VOMP; if not, write to the Free Software
18     Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
19 */
20
21 #ifndef WSYMBOL_H
22 #define WSYMBOL_H
23
24 #include "defines.h"
25 #include "boxx.h"
26
27 class WSymbol : public Boxx
28 {
29   public:
30     WSymbol();
31
32     //TODO add vector based Symbols
33     void draw();
34     UCHAR nextSymbol;
35     DrawStyle nextColour;
36
37     bool mouseLBDOWN(int x, int y);
38
39     const static UCHAR VOLUME = 0;
40     const static UCHAR TEST = 1;
41     const static UCHAR TEST2 = 2;
42     const static UCHAR VOLUME2 = 3;
43     const static UCHAR VOLBAR = 4;
44     const static UCHAR VOLDOT = 5;
45     const static UCHAR SKIPBACK = 6;
46     const static UCHAR SKIPFORWARD = 7;
47     const static UCHAR UP = 8;
48     const static UCHAR DOWN = 9;
49     const static UCHAR PLAY = 10;
50     const static UCHAR MUTE = 11;
51     const static UCHAR UNMUTE = 12;
52     const static UCHAR LEFTARROW = 13;
53     const static UCHAR RIGHTARROW = 14;
54     const static UCHAR PAUSE = 15;
55     const static UCHAR SKIPBACK2 = 16;
56     const static UCHAR SKIPFORWARD2 = 17;
57     const static UCHAR FBWD = 18;
58     const static UCHAR FFWD = 19;
59     const static UCHAR SMALLUP = 20;
60     const static UCHAR SMALLDOWN = 21;
61     const static UCHAR VIDEOASPECT43 = 22;
62     const static UCHAR VIDEOASPECT169 = 23;
63     const static UCHAR SINGLEAUDIO = 24;
64     const static UCHAR MULTIAUDIO = 25;
65     const static UCHAR CLOCK = 26;    
66   private:
67     static UCHAR symbols[];
68     static UCHAR widths[];
69     static UCHAR heights[];
70 };
71
72 #endif