aboutsummaryrefslogtreecommitdiffstats
path: root/common.h
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2026-10-15 22:43:22 +0200
committerMattias Andrée <m@maandree.se>2026-10-15 22:43:22 +0200
commit211ac6e2c497dccb6ec470f43529e776e14c19b6 (patch)
tree065e2780f2138f9285eb6aad9e9153934d4d6b6f /common.h
parentChange default font size to 14 (diff)
downloadgcmap-211ac6e2c497dccb6ec470f43529e776e14c19b6.tar.gz
gcmap-211ac6e2c497dccb6ec470f43529e776e14c19b6.tar.bz2
gcmap-211ac6e2c497dccb6ec470f43529e776e14c19b6.tar.xz
Use logical scrolling + m misc
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to 'common.h')
-rw-r--r--common.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/common.h b/common.h
index a30d4c7..f54e8ed 100644
--- a/common.h
+++ b/common.h
@@ -25,9 +25,16 @@
# define HAVE_ITEM_TOOLTIPS
#endif
+#if defined(__GNUC__)
+# define PURE __attribute__((__pure__))
+#else
+# define PURE
+#endif
+
#define COMMA ,
#include "char-table.h"
+#include "logical-scroll-pane.h"
/* colour.c */
double srgb_encode_unsigned(double t);