1 /*
2 * KCemu -- The emulator for the KC85 homecomputer series and much more.
3 * Copyright (C) 1997-2010 Torsten Paul
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License along
16 * with this program; if not, write to the Free Software Foundation, Inc.,
17 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18 */
19
20 #include "kc/system.h"
21
22 #include "ui/generic/ui_9.h"
23
24 #include "ui/gtk/ui_gtk9.h"
25
UI_Gtk9(void)26 UI_Gtk9::UI_Gtk9(void) : UI_Gtk_Base(new UI_9())
27 {
28 _colors.push_back(UI_Color(false, 0x00, 0x00, 0x00)); /* black */
29 _colors.push_back(UI_Color(false, 240)); /* blue */
30 _colors.push_back(UI_Color(false, 120)); /* green */
31 _colors.push_back(UI_Color(false, 180)); /* cyan */
32 _colors.push_back(UI_Color(false, 0)); /* red */
33 _colors.push_back(UI_Color(false, 300)); /* magenta */
34 _colors.push_back(UI_Color(false, 60)); /* yellow */
35 _colors.push_back(UI_Color(false, 0xd0, 0xd0, 0xd0)); /* white */
36
37 // saturation_fg *= 0.80;
38 // brightness_fg = 1.0;
39 // black_level = 0.40;
40 // white_level = 1.0;
41
42 _colors.push_back(UI_Color(true, 0x20, 0x20, 0x20)); /* black */
43 _colors.push_back(UI_Color(true, 240)); /* blue */
44 _colors.push_back(UI_Color(true, 120)); /* green */
45 _colors.push_back(UI_Color(true, 180)); /* cyan */
46 _colors.push_back(UI_Color(true, 0)); /* red */
47 _colors.push_back(UI_Color(true, 300)); /* magenta */
48 _colors.push_back(UI_Color(true, 60)); /* yellow */
49 _colors.push_back(UI_Color(true, 0xff, 0xff, 0xff)); /* white */
50 }
51
~UI_Gtk9(void)52 UI_Gtk9::~UI_Gtk9(void)
53 {
54 }
55