summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2015-02-24 08:31:52 +0000
committerDavid Robillard <d@drobilla.net>2015-02-24 08:31:52 +0000
commit1b169cbe8955e5df9cd1c6d27d14fc2d8fb2c113 (patch)
tree73ad9701f40897bbe3f61f51bf587c6f94cbf648 /wscript
parent0f60c61b0d7424005385c5687377b48ceb0c0c9b (diff)
downloadganv-1b169cbe8955e5df9cd1c6d27d14fc2d8fb2c113.tar.gz
ganv-1b169cbe8955e5df9cd1c6d27d14fc2d8fb2c113.tar.bz2
ganv-1b169cbe8955e5df9cd1c6d27d14fc2d8fb2c113.zip
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
Diffstat (limited to 'wscript')
-rw-r--r--wscript5
1 files changed, 5 insertions, 0 deletions
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',