Improved Makefiles.
[qshowdiff.git] / src / settings.h
blob6af76f921c12300fca2594a77d5a8ef302e482b4
1 #ifndef _SETTINGS_H_
2 #define _SETTINGS_H_
4 #include <QFont>
5 #include <QFontMetrics>
6 #include <QColor>
7 #include <QBrush>
8 #include "debug.h"
10 struct Settings{
11 static int max_line_width;
13 struct File{
14 static QFont font;
15 static QColor font_color;
16 static QColor background_color;
17 static int box_height;
18 static int text_left_indentation;
21 struct Hunk{
22 static int separator_height;
23 static QColor separator_color;
26 struct Text{
27 static QFont font;
28 static QColor font_color;
29 static QFontMetrics font_metrics;
31 static QFont font_insertion;
32 static QColor font_color_insertion;
33 static QBrush brush_insertion;
34 static QFontMetrics font_insertion_metrics;
36 static QFont font_substitution;
37 static QColor font_color_substitution;
38 static QBrush brush_substitution;
39 static QFontMetrics font_substitution_metrics;
41 static QColor background_color;
42 static QColor background_color_added;
43 static QColor background_color_deleted;
44 static QColor background_color_changed;
46 static int line_column_width;
47 static int line_indentation;
50 #endif