Improved Makefiles.
[qshowdiff.git] / src / settings.cpp
blob51453a20ea1b3bf7495464afe6d559d5f2a1513c
1 #include "settings.h"
3 int Settings::max_line_width = 0;
5 QFont Settings::File::font = QFont("DejaVu Sans");
6 QColor Settings::File::font_color = QColor(0,0,0);
7 QColor Settings::File::background_color = QColor(100,100,100);
8 int Settings::File::box_height = 30;
9 int Settings::File::text_left_indentation = 10;
11 int Settings::Hunk::separator_height = 5;
12 QColor Settings::Hunk::separator_color = QColor(200, 200, 200);
15 QFont Settings::Text::font = QFont("DejaVu Sans");
16 QColor Settings::Text::font_color = QColor(0, 0, 0);
17 QFontMetrics Settings::Text::font_metrics =
18 QFontMetrics(Settings::Text::font);
20 QFont Settings::Text::font_insertion = QFont("DejaVu Sans", -1,
21 QFont::Bold);
22 QColor Settings::Text::font_color_insertion = Settings::Text::font_color;
23 QBrush Settings::Text::brush_insertion = QBrush(QColor(100,100,100),
24 Qt::DiagCrossPattern);
25 QFontMetrics Settings::Text::font_insertion_metrics =
26 QFontMetrics(Settings::Text::font_insertion);
28 QFont Settings::Text::font_substitution = Settings::Text::font_insertion;
29 QColor Settings::Text::font_color_substitution = Settings::Text::font_color;
30 QBrush Settings::Text::brush_substitution = QBrush(QColor(50, 50, 50),
31 Qt::Dense7Pattern);
32 QFontMetrics Settings::Text::font_substitution_metrics =
33 QFontMetrics(Settings::Text::font_substitution);
35 QColor Settings::Text::background_color = QColor(255, 255, 255);
36 QColor Settings::Text::background_color_added = QColor("#BEBEED");
37 QColor Settings::Text::background_color_deleted = QColor("#BEEDBE");
38 QColor Settings::Text::background_color_changed = QColor("#EDBEBE");
40 int Settings::Text::line_column_width = 30;
41 int Settings::Text::line_indentation = 10;