From 1b169cbe8955e5df9cd1c6d27d14fc2d8fb2c113 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 24 Feb 2015 08:31:52 +0000 Subject: Add light theme for typesettable canvas export. Don't show edge handles on export. Fix port control drawing to be pixel perfect. git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5605 a436a847-0d15-0410-975c-d299462d15a1 --- wscript | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'wscript') diff --git a/wscript b/wscript index f50f03d..6dc48b7 100644 --- a/wscript +++ b/wscript @@ -25,6 +25,8 @@ def options(opt): help='Build unit tests') opt.add_option('--no-graphviz', action='store_true', dest='no_graphviz', help='Do not compile with graphviz support') + opt.add_option('--light-theme', action='store_true', dest='light_theme', + help='Use light coloured theme') opt.add_option('--no-fdgl', action='store_true', dest='no_fdgl', help='Use experimental force-directed graph layout') opt.add_option('--no-nls', action='store_true', dest='no_nls', @@ -62,6 +64,9 @@ def configure(conf): if not Options.options.no_fdgl: autowaf.define(conf, 'GANV_FDGL', 1) + if Options.options.light_theme: + autowaf.define(conf, 'GANV_USE_LIGHT_THEME', 1) + if not Options.options.no_nls: conf.check(function_name = 'dgettext', header_name = 'libintl.h', -- cgit v1.2.1