[vte] draw: Remove unused defines and move private defines to the .cc file
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vte] draw: Remove unused defines and move private defines to the .cc file
- Date: Sun, 13 Dec 2015 18:09:07 +0000 (UTC)
commit 416283b820996e7be79cca03ded3834edace70b6
Author: Christian Persch <chpe gnome org>
Date: Sun Dec 13 19:08:22 2015 +0100
draw: Remove unused defines and move private defines to the .cc file
src/vtedraw.cc | 10 ++++++++++
src/vtedraw.h | 15 ---------------
2 files changed, 10 insertions(+), 15 deletions(-)
---
diff --git a/src/vtedraw.cc b/src/vtedraw.cc
index 8857b04..6142a1a 100644
--- a/src/vtedraw.cc
+++ b/src/vtedraw.cc
@@ -29,6 +29,16 @@
#include <pango/pangocairo.h>
+#define VTE_DRAW_SINGLE_WIDE_CHARACTERS \
+ " !\"#$%&'()*+,-./" \
+ "0123456789" \
+ ":;<=>?@" \
+ "ABCDEFGHIJKLMNOPQRSTUVWXYZ" \
+ "[\\]^_`" \
+ "abcdefghijklmnopqrstuvwxyz" \
+ "{|}~" \
+ ""
+
/* Overview:
*
diff --git a/src/vtedraw.h b/src/vtedraw.h
index 4bfa088..63f9090 100644
--- a/src/vtedraw.h
+++ b/src/vtedraw.h
@@ -29,21 +29,6 @@
G_BEGIN_DECLS
-#define VTE_DRAW_SINGLE_WIDE_CHARACTERS \
- " !\"#$%&'()*+,-./" \
- "0123456789" \
- ":;<=>?@" \
- "ABCDEFGHIJKLMNOPQRSTUVWXYZ" \
- "[\\]^_`" \
- "abcdefghijklmnopqrstuvwxyz" \
- "{|}~" \
- ""
-#define VTE_DRAW_DOUBLE_WIDE_CHARACTERS 0x4e00, 0x4e8c, 0x4e09, 0x56db, 0x4e94,\
- 0xac00, 0xac01, 0xac04, 0xac08, 0xac10
-/* For Pango, we have to use CJK Ideographs alone. Otherwise, 'width'
- returned by pango_layout would be screwed up for Chinese and Japanese
- fonts without Hangul */
-#define VTE_DRAW_DOUBLE_WIDE_IDEOGRAPHS 0x4e00, 0x4e8c, 0x4e09, 0x56db, 0x4e94
#define VTE_DRAW_OPAQUE (1.0)
#define VTE_DRAW_MAX_LENGTH 1024
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]