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
commit91c4dd8276b715dbc377e2f46f6ab061a6a5fa0e (patch)
tree6e483a1adfd51dec16c252c3b4e1e5d9af6dd3f1 /wscript
parenta515054dae07548db78a0b022f2a39e44ffac506 (diff)
downloadpatchage-91c4dd8276b715dbc377e2f46f6ab061a6a5fa0e.tar.gz
patchage-91c4dd8276b715dbc377e2f46f6ab061a6a5fa0e.tar.bz2
patchage-91c4dd8276b715dbc377e2f46f6ab061a6a5fa0e.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/patchage@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 223d94b..ecaaa5c 100644
--- a/wscript
+++ b/wscript
@@ -37,6 +37,8 @@ def options(opt):
help='Do not build Alsa Sequencer support')
opt.add_option('--no-binloc', action='store_true', dest='no_binloc',
help='Do not try to read files from executable location')
+ opt.add_option('--light-theme', action='store_true', dest='light_theme',
+ help='Use light coloured theme')
def configure(conf):
conf.line_just = 44
@@ -98,6 +100,9 @@ def configure(conf):
if not Options.options.no_binloc and conf.is_defined('HAVE_DLADDR'):
autowaf.define(conf, 'PATCHAGE_BINLOC', 1)
+ if Options.options.light_theme:
+ autowaf.define(conf, 'PATCHAGE_USE_LIGHT_THEME', 1)
+
# Boost headers
conf.check_cxx(header_name='boost/format.hpp')
conf.check_cxx(header_name='boost/shared_ptr.hpp')