From c50cfa27dc96b5953d9bf42fd5368b0627a1604d Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 6 Jan 2008 05:27:35 +0000 Subject: Use colours derived from Tango-palette (de-candified, darkened). Use same port colours between Ingen and Patchage (though with different meanings). git-svn-id: http://svn.drobilla.net/lad/patchage@1019 a436a847-0d15-0410-975c-d299462d15a1 --- src/StateManager.cpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/StateManager.cpp b/src/StateManager.cpp index 9753a18..a85dd72 100644 --- a/src/StateManager.cpp +++ b/src/StateManager.cpp @@ -215,12 +215,14 @@ StateManager::set_zoom(float zoom) int StateManager::get_port_color(PortType type) { + // Darkest tango palette colour, with S -= 6, V -= 6, w/ transparency + if (type == JACK_AUDIO) - return 0x305171B0; + return 0x244678FF; else if (type == JACK_MIDI) - return 0x663939B0; + return 0x960909FF; else if (type == ALSA_MIDI) - return 0x307130B0; + return 0x4A8A0EFF; else - return 0xFF0000B0; + return 0xFF0000FF; } -- cgit v1.2.1