From 2de8ef5bc0f6874e9b3fa78e7468a9a6a2a174d5 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 6 Jan 2008 19:14:46 +0000 Subject: Tone down port colours a touch. git-svn-id: http://svn.drobilla.net/lad/patchage@1020 a436a847-0d15-0410-975c-d299462d15a1 --- src/PatchageEvent.cpp | 3 +-- src/StateManager.cpp | 6 +++--- 2 files changed, 4 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/PatchageEvent.cpp b/src/PatchageEvent.cpp index 08dc657..2ab921b 100644 --- a/src/PatchageEvent.cpp +++ b/src/PatchageEvent.cpp @@ -71,8 +71,6 @@ PatchageEvent::find_port(const Patchage* patchage, const PortRef& ref) void PatchageEvent::execute(Patchage* patchage) { - //cerr << "{ EXECUTING EVENT" << endl; - if (_type == REFRESH) { patchage->refresh(); } else if (_type == PORT_CREATION) { @@ -152,3 +150,4 @@ PatchageEvent::execute(Patchage* patchage) //cerr << "}" << endl << endl; } + diff --git a/src/StateManager.cpp b/src/StateManager.cpp index a85dd72..fa82f8a 100644 --- a/src/StateManager.cpp +++ b/src/StateManager.cpp @@ -218,11 +218,11 @@ StateManager::get_port_color(PortType type) // Darkest tango palette colour, with S -= 6, V -= 6, w/ transparency if (type == JACK_AUDIO) - return 0x244678FF; + return 0x244678C0; else if (type == JACK_MIDI) - return 0x960909FF; + return 0x960909C0; else if (type == ALSA_MIDI) - return 0x4A8A0EFF; + return 0x4A8A0EC0; else return 0xFF0000FF; } -- cgit v1.2.1