android/GlueIOIOPort: fix spurious errors after IOIO baud rate change
[xcsoar.git] / src / Look / FlarmTrafficLook.hpp
blob68a7b933593a57816648e89d093ed27666a67cab
1 /*
2 Copyright_License {
4 XCSoar Glide Computer - http://www.xcsoar.org/
5 Copyright (C) 2000-2013 The XCSoar Project
6 A detailed list of copyright holders can be found in the file "AUTHORS".
8 This program is free software; you can redistribute it and/or
9 modify it under the terms of the GNU General Public License
10 as published by the Free Software Foundation; either version 2
11 of the License, or (at your option) any later version.
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with this program; if not, write to the Free Software
20 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
24 #ifndef FLARM_TRAFFIC_WINDOW_LOOK_HPP
25 #define FLARM_TRAFFIC_WINDOW_LOOK_HPP
27 #include "Screen/Color.hpp"
28 #include "Screen/Pen.hpp"
29 #include "Screen/Brush.hpp"
30 #include "Screen/Font.hpp"
32 struct TrafficLook;
34 struct FlarmTrafficLook {
35 Color warning_color;
36 Color alarm_color;
37 Color default_color;
38 Color passive_color;
39 Color selection_color;
40 Color background_color;
41 Color radar_color;
43 Brush warning_brush;
44 Brush alarm_brush;
45 Brush default_brush;
46 Brush passive_brush;
47 Brush selection_brush;
48 Brush radar_brush;
49 Brush team_brush_green;
50 Brush team_brush_blue;
51 Brush team_brush_yellow;
52 Brush team_brush_magenta;
54 Pen warning_pen;
55 Pen alarm_pen;
56 Pen default_pen;
57 Pen passive_pen;
58 Pen selection_pen;
59 Pen team_pen_green;
60 Pen team_pen_blue;
61 Pen team_pen_yellow;
62 Pen team_pen_magenta;
64 Pen plane_pen, radar_pen;
66 Pen unit_fraction_pen;
68 Font label_font, side_info_font, no_traffic_font;
69 Font info_values_font, info_units_font, info_labels_font, call_sign_font;
71 void Initialise(const TrafficLook &other, bool small, bool inverse = false);
74 #endif