aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/interface-gtk/Makefile.am
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2016-02-07 08:12:37 +0100
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2016-02-07 08:12:37 +0100
commitdadb20b9ba159043a892ac7050695a8a1fb04e3b (patch)
tree1f91ddb58d697bfbe2fc004144a246acc387396e /src/interface-gtk/Makefile.am
parent095621af3b132199e45494629d35bae3b6a6afbb (diff)
downloadsciteco-dadb20b9ba159043a892ac7050695a8a1fb04e3b.tar.gz
added GtkCanonicalizedLabel: a label for displaying SciTECO strings
* those strings can contain control characters * the canonicalized label will automatically escape the non-printable characters according to the same mapping used elsewhere and shows them in "reverse" video. * reverse video is hard to achieve in Gtk, esp. for Pango versions that don't support transparent foregrounds * the current implementation does not need dedicated styling for reverse video characters; but this may be an option in order to get it right even on older Gtk versions
Diffstat (limited to 'src/interface-gtk/Makefile.am')
-rw-r--r--src/interface-gtk/Makefile.am10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/interface-gtk/Makefile.am b/src/interface-gtk/Makefile.am
index 51591e1..6c81879 100644
--- a/src/interface-gtk/Makefile.am
+++ b/src/interface-gtk/Makefile.am
@@ -6,16 +6,20 @@ if CLANG
AM_CXXFLAGS += -Wno-mismatched-tags
endif
-EXTRA_DIST = gtk-info-popup.gob
+EXTRA_DIST = gtk-info-popup.gob \
+ gtk-canonicalized-label.gob
BUILT_SOURCES = gtk-info-popup.c \
- gtk-info-popup.h gtk-info-popup-private.h
+ gtk-info-popup.h gtk-info-popup-private.h \
+ gtk-canonicalized-label.c \
+ gtk-canonicalized-label.h
noinst_LTLIBRARIES = libsciteco-interface.la
libsciteco_interface_la_SOURCES = interface-gtk.cpp interface-gtk.h
if GTK_FLOW_BOX_FALLBACK
libsciteco_interface_la_SOURCES += gtkflowbox.c gtkflowbox.h
endif
-nodist_libsciteco_interface_la_SOURCES = gtk-info-popup.c
+nodist_libsciteco_interface_la_SOURCES = gtk-info-popup.c \
+ gtk-canonicalized-label.c
dist_pkgdata_DATA = fallback.css