* [PATCH] Use light orange for remote branches
@ 2007-02-05 3:14 Pavel Roskin
0 siblings, 0 replies; only message in thread
From: Pavel Roskin @ 2007-02-05 3:14 UTC (permalink / raw)
To: git, Marco Costalba
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(-)
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);
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2007-02-05 3:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-05 3:14 [PATCH] Use light orange for remote branches Pavel Roskin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).