]> git.vomp.tv Git - vompclient.git/blob - colour.cc
Merge new vomp discovery protocol branch
[vompclient.git] / colour.cc
1 /*
2     Copyright 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 #include "colour.h"
22
23 /*
24 Real colours
25 */
26 DrawStyle DrawStyle::BLACK(0, 0, 0);
27 DrawStyle DrawStyle::RED(255, 0, 0);
28 DrawStyle DrawStyle::GREEN(0, 255, 0);
29 DrawStyle DrawStyle::BLUE(0, 0, 255);
30 DrawStyle DrawStyle::YELLOW(255, 255, 0);
31 DrawStyle DrawStyle::VIDEOBLUE(0, 0, 150);
32 DrawStyle DrawStyle::VIEWBACKGROUND(0, 0, 100);
33 DrawStyle DrawStyle::TABVIEWBACKGROUND(0, 0, 120);
34 DrawStyle DrawStyle::TITLEBARBACKGROUND(0, 0, 200);
35 DrawStyle DrawStyle::SELECTHIGHLIGHT(240, 250, 80);
36 DrawStyle DrawStyle::SELECTDARKHIGHLIGHT(120, 125, 40);
37 DrawStyle DrawStyle::LIGHTTEXT(255, 255, 255);
38 DrawStyle DrawStyle::DARKTEXT(0, 0, 100);
39 DrawStyle DrawStyle::DANGER(200, 0, 0);
40 DrawStyle DrawStyle::BUTTONBACKGROUND(0, 0, 200);
41 DrawStyle DrawStyle::PROGRAMMEB(80, 80, 240); // two colours used as alterating backgrounds for individual programmes in EPG
42 DrawStyle DrawStyle::PROGRAMMEA(40, 40, 120); // TODO fit epg style (colours) in with rest of application
43 DrawStyle DrawStyle::NOPROGRAMME(180, 180, 180); // no programme details colour
44
45
46 /*
47 Silly colours
48
49 Colour Colour::VIDEOBLUE(250, 0, 0);
50 Colour Colour::VIEWBACKGROUND(100, 0, 100);
51 Colour Colour::TITLEBARBACKGROUND(100, 0, 200);
52 Colour Colour::SELECTHIGHLIGHT(240, 250, 180);
53 Colour Colour::LIGHTTEXT(255, 0, 255);
54 Colour Colour::DARKTEXT(0, 0, 255);
55 Colour Colour::DANGER(200, 200, 0);
56 Colour Colour::BUTTONBACKGROUND(255, 255, 255);
57 */