Guitar
TextEditorTheme.h
Go to the documentation of this file.
1 #ifndef TEXTEDITORTHEME_H
2 #define TEXTEDITORTHEME_H
3 
4 #include <QColor>
5 #include <memory>
6 
7 class TextEditorTheme;
8 
9 using TextEditorThemePtr = std::shared_ptr<TextEditorTheme>;
10 
12 public:
13  QColor fg_default;
14  QColor bg_default;
17  QColor fg_cursor;
18  QColor bg_current;
26 public:
27  static TextEditorThemePtr Dark();
28  static TextEditorThemePtr Light();
29 };
30 
31 #endif // TEXTEDITORTHEME_H
std::shared_ptr< TextEditorTheme > TextEditorThemePtr
Definition: TextEditorTheme.h:9
Definition: TextEditorTheme.h:11
QColor bg_current
Definition: TextEditorTheme.h:18
QColor fg_line_number
Definition: TextEditorTheme.h:15
QColor bg_diff_line_add
Definition: TextEditorTheme.h:24
QColor fg_default
Definition: TextEditorTheme.h:13
QColor bg_diff_char_add
Definition: TextEditorTheme.h:25
QColor bg_current_line
Definition: TextEditorTheme.h:19
QColor bg_line_number
Definition: TextEditorTheme.h:16
QColor bg_default
Definition: TextEditorTheme.h:14
static TextEditorThemePtr Light()
Definition: TextEditorTheme.cpp:5
QColor bg_diff_unknown
Definition: TextEditorTheme.h:21
QColor bg_current_line_number
Definition: TextEditorTheme.h:20
QColor bg_diff_line_del
Definition: TextEditorTheme.h:22
static TextEditorThemePtr Dark()
Definition: TextEditorTheme.cpp:23
QColor bg_diff_char_del
Definition: TextEditorTheme.h:23
QColor fg_cursor
Definition: TextEditorTheme.h:17