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 | 91c4dd8276b715dbc377e2f46f6ab061a6a5fa0e (patch) | |
tree | 6e483a1adfd51dec16c252c3b4e1e5d9af6dd3f1 /src | |
parent | a515054dae07548db78a0b022f2a39e44ffac506 (diff) | |
download | patchage-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 'src')
-rw-r--r-- | src/Configuration.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/Configuration.cpp b/src/Configuration.cpp index 865a781..93a3538 100644 --- a/src/Configuration.cpp +++ b/src/Configuration.cpp @@ -44,11 +44,19 @@ Configuration::Configuration() , _show_messages(false) , _messages_height(0) { +#ifdef PATCHAGE_USE_LIGHT_THEME + _port_colors[JACK_AUDIO] = _default_port_colors[JACK_AUDIO] = 0xA4BC8CFF; + _port_colors[JACK_MIDI] = _default_port_colors[JACK_MIDI] = 0xC89595FF; + _port_colors[ALSA_MIDI] = _default_port_colors[ALSA_MIDI] = 0x8F7198FF; + _port_colors[JACK_OSC] = _default_port_colors[JACK_OSC] = 0x7E8EAAFF; + _port_colors[JACK_CV] = _default_port_colors[JACK_CV] = 0x83AFABFF; +#else _port_colors[JACK_AUDIO] = _default_port_colors[JACK_AUDIO] = 0x3E5E00FF; _port_colors[JACK_MIDI] = _default_port_colors[JACK_MIDI] = 0x650300FF; _port_colors[ALSA_MIDI] = _default_port_colors[ALSA_MIDI] = 0x2D0043FF; _port_colors[JACK_OSC] = _default_port_colors[JACK_OSC] = 0x4100FEFF; _port_colors[JACK_CV] = _default_port_colors[JACK_CV] = 0x005E4EFF; +#endif } bool |