]> git.vomp.tv Git - vompclient.git/blob - src/wsymbol.h
Type change: UCHAR -> u1
[vompclient.git] / src / 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     u1 nextSymbol;
35     DrawStyle nextColour;
36
37     bool mouseLBDOWN(int x, int y);
38
39     const static u1 VOLUME = 0;
40     const static u1 TEST = 1;
41     const static u1 TEST2 = 2;
42     const static u1 VOLUME2 = 3;
43     const static u1 VOLBAR = 4;
44     const static u1 VOLDOT = 5;
45     const static u1 SKIPBACK = 6;
46     const static u1 SKIPFORWARD = 7;
47     const static u1 UP = 8;
48     const static u1 DOWN = 9;
49     const static u1 PLAY = 10;
50     const static u1 MUTE = 11;
51     const static u1 UNMUTE = 12;
52     const static u1 LEFTARROW = 13;
53     const static u1 RIGHTARROW = 14;
54     const static u1 PAUSE = 15;
55     const static u1 SKIPBACK2 = 16;
56     const static u1 SKIPFORWARD2 = 17;
57     const static u1 FBWD = 18;
58     const static u1 FFWD = 19;
59     const static u1 SMALLUP = 20;
60     const static u1 SMALLDOWN = 21;
61     const static u1 VIDEOASPECT43 = 22;
62     const static u1 VIDEOASPECT169 = 23;
63     const static u1 SINGLEAUDIO = 24;
64     const static u1 MULTIAUDIO = 25;
65     const static u1 CLOCK = 26;
66   private:
67     static u1 symbols[];
68     static u1 widths[];
69     static u1 heights[];
70 };
71
72 #endif