[tracker/tracker-cmd: 6/12] tracker: Added header for shell colours used
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/tracker-cmd: 6/12] tracker: Added header for shell colours used
- Date: Tue, 28 Oct 2014 16:31:35 +0000 (UTC)
commit 44bf0657d7aa1144240add836270589d65cf3880
Author: Martyn Russell <martyn lanedo com>
Date: Mon Oct 6 13:49:17 2014 +0100
tracker: Added header for shell colours used
src/tracker/tracker-color.h | 32 ++++++++++++++++++++++++++++++++
1 files changed, 32 insertions(+), 0 deletions(-)
---
diff --git a/src/tracker/tracker-color.h b/src/tracker/tracker-color.h
new file mode 100644
index 0000000..a297f81
--- /dev/null
+++ b/src/tracker/tracker-color.h
@@ -0,0 +1,32 @@
+/*
+ * Copyright (C) 2014, Lanedo <martyn lanedo com>
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+ * 02110-1301, USA.
+ */
+
+#ifndef __TRACKER_COLOR_H__
+#define __TRACKER_COLOR_H__
+
+#define TITLE_BEGIN "\033[32m" /* Green */
+#define TITLE_END "\033[0m"
+
+#define SNIPPET_BEGIN "\033[1;31m" /* Red */
+#define SNIPPET_END "\033[0m"
+
+#define WARN_BEGIN "\033[33m" /* Yellow */
+#define WARN_END "\033[0m"
+
+#endif /* __TRACKER_COLOR_H__ */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]