threads / patch / 6682

patchUse light orange for remote branches

Subject: [PATCH] Use light orange for remote branches

## tl;dr

One message between Feb 5, 2007 and Feb 5, 2007. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Pavel Roskin· Feb 5, 2007, 03:14 UTC · lore
Signed-off-by: Pavel Roskin <proski@gnu.org>
---
 src/common.h          |    1 +
 src/listview.cpp      |    2 +-
 src/namespace_def.cpp |    1 +
 3 files changed, 3 insertions(+), 1 deletions(-)
Show changes to 3 files +3 −1

src/common.h, src/listview.cpp, src/namespace_def.cpp

diff --git a/src/common.h b/src/common.h
index 500545f..6799fe6 100644
--- a/src/common.h
+++ b/src/common.h
@@ -161,6 +161,7 @@ namespace QGit {
 	extern const QColor BROWN;
 	extern const QColor ORANGE;
 	extern const QColor DARK_ORANGE;
+	extern const QColor LIGHT_ORANGE;
 	extern const QColor LIGHT_BLUE;
 	extern const QColor PURPLE;
 	extern const QColor DARK_GREEN;
diff --git a/src/listview.cpp b/src/listview.cpp
index 80043e9..ef0bfe4 100644
--- a/src/listview.cpp
+++ b/src/listview.cpp
@@ -636,7 +636,7 @@ void ListViewItem::paintTagMarks(int col) {
 		addBranchPixmap(&newPm);
 
 	if (rt & Git::RMT_BRANCH)
-		addRefPixmap(&newPm, git->getRefName(_sha, Git::RMT_BRANCH), ORANGE);
+		addRefPixmap(&newPm, git->getRefName(_sha, Git::RMT_BRANCH), LIGHT_ORANGE);
 
 	if (rt & Git::TAG)
 		addRefPixmap(&newPm, git->getRefName(_sha, Git::TAG), Qt::yellow);
diff --git a/src/namespace_def.cpp b/src/namespace_def.cpp
index ffc6b32..a5049ba 100644
--- a/src/namespace_def.cpp
+++ b/src/namespace_def.cpp
@@ -22,6 +22,7 @@ const QString QGit::GIT_VERSION = "1.4.4";
 const QColor QGit::BROWN       = QColor(150, 75, 0);
 const QColor QGit::ORANGE      = QColor(255, 160, 50);
 const QColor QGit::DARK_ORANGE = QColor(216, 144, 0);
+const QColor QGit::LIGHT_ORANGE = QColor(255, 221, 170);
 const QColor QGit::LIGHT_BLUE  = QColor(85, 255, 255);
 const QColor QGit::PURPLE      = QColor(221, 221, 255);
 const QColor QGit::DARK_GREEN  = QColor(0, 205, 0);

← back to recent threads