[vte] lib: Move all colour defines to the same place
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vte] lib: Move all colour defines to the same place
- Date: Fri, 5 Feb 2016 18:51:01 +0000 (UTC)
commit 6d1ab462de4cce0add219aec5829a9dc528cdc64
Author: Christian Persch <chpe gnome org>
Date: Fri Feb 5 19:50:30 2016 +0100
lib: Move all colour defines to the same place
src/vtedefines.hh | 10 +++++++++-
src/vterowdata.h | 10 +---------
2 files changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/src/vtedefines.hh b/src/vtedefines.hh
index 804f471..7f56291 100644
--- a/src/vtedefines.hh
+++ b/src/vtedefines.hh
@@ -53,7 +53,15 @@
#define VTE_COLOR_BRIGHT_OFFSET 8
#define VTE_DIM_COLOR (1 << 10)
#define VTE_RGB_COLOR (1 << 24)
-/* More color defines in vterowdata.h */
+
+#define VTE_DEFAULT_FG 256
+#define VTE_DEFAULT_BG 257
+#define VTE_BOLD_FG 258
+#define VTE_HIGHLIGHT_FG 259
+#define VTE_HIGHLIGHT_BG 260
+#define VTE_CURSOR_BG 261
+#define VTE_CURSOR_FG 262
+#define VTE_PALETTE_SIZE 263
#define VTE_SCROLLBACK_INIT 512
#define VTE_DEFAULT_CURSOR GDK_XTERM
diff --git a/src/vterowdata.h b/src/vterowdata.h
index 78bc73b..c9f710e 100644
--- a/src/vterowdata.h
+++ b/src/vterowdata.h
@@ -23,21 +23,13 @@
#include "vteunistr.h"
#include "vtemacros.h"
+#include "vtedefines.hh"
G_BEGIN_DECLS
#define VTE_TAB_WIDTH_BITS 4 /* Has to be able to store the value of 8. */
#define VTE_TAB_WIDTH_MAX ((1 << VTE_TAB_WIDTH_BITS) - 1)
-#define VTE_DEFAULT_FG 256
-#define VTE_DEFAULT_BG 257
-#define VTE_BOLD_FG 258
-#define VTE_HIGHLIGHT_FG 259
-#define VTE_HIGHLIGHT_BG 260
-#define VTE_CURSOR_BG 261
-#define VTE_CURSOR_FG 262
-#define VTE_PALETTE_SIZE 263
-
/*
* VteCellAttr: A single cell style attributes
*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]