summaryrefslogtreecommitdiff
path: root/gui/fmt-pango.h
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-08-17 21:00:02 -0300
committerWerner Almesberger <werner@almesberger.net>2016-08-17 21:00:02 -0300
commitbf8cc205a5a7fc21f139f23c6462519f9d4eb192 (patch)
tree3b66ec58de99ea3ee6b77e96c192dba42a595a98 /gui/fmt-pango.h
parent5014b5de97b9c3fa1600fd8c4d3460520c4ba081 (diff)
downloadeeshow-bf8cc205a5a7fc21f139f23c6462519f9d4eb192.tar.gz
eeshow-bf8cc205a5a7fc21f139f23c6462519f9d4eb192.tar.bz2
eeshow-bf8cc205a5a7fc21f139f23c6462519f9d4eb192.zip
eeshow/fmt-pango.c, fmt-pango.h: also move to gui/
Diffstat (limited to 'gui/fmt-pango.h')
-rw-r--r--gui/fmt-pango.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/gui/fmt-pango.h b/gui/fmt-pango.h
new file mode 100644
index 0000000..cf4c315
--- /dev/null
+++ b/gui/fmt-pango.h
@@ -0,0 +1,25 @@
+/*
+ * gui/fmt-pango.h - Format strings for Pango markup
+ *
+ * Written 2016 by Werner Almesberger
+ * Copyright 2016 by Werner Almesberger
+ *
+ * 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.
+ */
+
+
+#ifndef GUI_FMT_PANGO_H
+#define GUI_FMT_PANGO_H
+
+#include <stdarg.h>
+
+
+unsigned vsfmt_pango(char *buf, const char *fmt, va_list ap);
+char *vfmt_pango(const char *fmt, va_list ap);
+char *fmt_pango(const char *fmt, ...)
+ __attribute__((format(printf, 1, 2)));
+
+#endif /* !GUI_FMT_PANGO_H */