diff options
author | David Robillard <d@drobilla.net> | 2015-02-24 08:31:52 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2015-02-24 08:31:52 +0000 |
commit | f408b385c2795359cfacb09032089c8387b74f45 (patch) | |
tree | 3550306f477daaece04e23736621b3ffed537be7 /src/gui/wscript | |
parent | 8ac65508e0c7d1a3f0585a16343b174b9cedb94c (diff) | |
download | ingen-f408b385c2795359cfacb09032089c8387b74f45.tar.gz ingen-f408b385c2795359cfacb09032089c8387b74f45.tar.bz2 ingen-f408b385c2795359cfacb09032089c8387b74f45.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/ingen@5605 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui/wscript')
-rw-r--r-- | src/gui/wscript | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gui/wscript b/src/gui/wscript index fe54ad1a..9ca90ee6 100644 --- a/src/gui/wscript +++ b/src/gui/wscript @@ -3,6 +3,10 @@ import waflib.extras.autowaf as autowaf import waflib.Utils as Utils import waflib.Options as Options +def options(opt): + opt.add_option('--light-theme', action='store_true', dest='light_theme', + help='Use light coloured theme') + def configure(conf): autowaf.check_pkg(conf, 'gtkmm-2.4', uselib_store='GTKMM', atleast_version='2.12.0', mandatory=False) @@ -17,6 +21,9 @@ def configure(conf): if conf.env.HAVE_GANV and conf.env.HAVE_GTKMM: autowaf.define(conf, 'INGEN_BUILD_GUI', 1) + if Options.options.light_theme: + autowaf.define(conf, 'INGEN_USE_LIGHT_THEME', 1) + def build(bld): obj = bld(features = 'cxx cxxshlib', export_includes = ['../..'], |