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/Style.cpp | |
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/Style.cpp')
-rw-r--r-- | src/gui/Style.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gui/Style.cpp b/src/gui/Style.cpp index 30b2a4f1..342cb142 100644 --- a/src/gui/Style.cpp +++ b/src/gui/Style.cpp @@ -40,11 +40,19 @@ using namespace Ingen::Client; Style::Style(App& app) // Colours from the Tango palette with modified V : _app(app) +#ifdef INGEN_USE_LIGHT_THEME + , _audio_port_color(0xA4BC8CFF) // Green + , _control_port_color(0x7E8EAAFF) // Blue + , _cv_port_color(0x83AFABFF) // Teal (between audio and control) + , _event_port_color(0xC89595FF) // Red + , _string_port_color(0x8F7198FF) // Plum +#else , _audio_port_color(0x4A8A0EFF) // Green , _control_port_color(0x244678FF) // Blue , _cv_port_color(0x248780FF) // Teal (between audio and control) , _event_port_color(0x960909FF) // Red , _string_port_color(0x5C3566FF) // Plum +#endif { } |