Upgrade libgit2
[TortoiseGit.git] / src / TortoiseUDiff / UDiffColors.h
blob65d7e61aa154245193bce08fbbea75d2f4c49034
1 // TortoiseGit - a Windows shell extension for easy version control
3 // Copyright (C) 2014, 2020 - TortoiseSVN
5 // This program is free software; you can redistribute it and/or
6 // modify it under the terms of the GNU General Public License
7 // as published by the Free Software Foundation; either version 2
8 // of the License, or (at your option) any later version.
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.
15 // You should have received a copy of the GNU General Public License
16 // along with this program; if not, write to the Free Software Foundation,
17 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19 #pragma once
21 #define UDIFF_COLORFORECOMMAND RGB(0x0A, 0x24, 0x36)
22 #define UDIFF_COLORFOREPOSITION RGB(0xFF, 0, 0)
23 #define UDIFF_COLORFOREHEADER RGB(0x80, 0, 0)
24 #define UDIFF_COLORFORECOMMENT RGB(0, 0x80, 0)
25 #define UDIFF_COLORFOREADDED ::GetSysColor(COLOR_WINDOWTEXT)
26 #define UDIFF_COLORFOREREMOVED ::GetSysColor(COLOR_WINDOWTEXT)
28 #define UDIFF_COLORBACKCOMMAND ::GetSysColor(COLOR_WINDOW)
29 #define UDIFF_COLORBACKPOSITION ::GetSysColor(COLOR_WINDOW)
30 #define UDIFF_COLORBACKHEADER RGB(0xFF, 0xFF, 0x80)
31 #define UDIFF_COLORBACKCOMMENT ::GetSysColor(COLOR_WINDOW)
32 #define UDIFF_COLORBACKADDED RGB(0xCC, 0xFF, 0xCC)
33 #define UDIFF_COLORBACKREMOVED RGB(0xFF, 0xDD, 0xDD)
35 const COLORREF UDiffTextColorDark = 0xDDDDDD;
36 const COLORREF UDiffBackColorDark = 0x202020; // cf. Theme.h
38 #define UDIFF_COLORFORECOMMAND_DARK RGB(201,226,245)
39 #define UDIFF_COLORFOREPOSITION_DARK RGB(0xFF, 0x20, 0x20)
40 #define UDIFF_COLORFOREHEADER_DARK RGB(0xC0, 0, 0)
41 #define UDIFF_COLORFORECOMMENT_DARK RGB(0, 0x80, 0)
42 #define UDIFF_COLORFOREADDED_DARK UDiffTextColorDark
43 #define UDIFF_COLORFOREREMOVED_DARK UDiffTextColorDark
45 #define UDIFF_COLORBACKCOMMAND_DARK UDiffBackColorDark
46 #define UDIFF_COLORBACKPOSITION_DARK UDiffBackColorDark
47 #define UDIFF_COLORBACKHEADER_DARK RGB(0x30, 0x30, 0x00)
48 #define UDIFF_COLORBACKCOMMENT_DARK UDiffBackColorDark
49 #define UDIFF_COLORBACKADDED_DARK RGB(0x10, 0x40, 0x10)
50 #define UDIFF_COLORBACKREMOVED_DARK RGB(0x40, 0x20, 0x20)