summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-01-06 19:14:46 +0000
committerDavid Robillard <d@drobilla.net>2008-01-06 19:14:46 +0000
commit2de8ef5bc0f6874e9b3fa78e7468a9a6a2a174d5 (patch)
treeb9ad3ff7f3fd4c63ad2d63c74d0fe3c62f771bf7 /src
parentc50cfa27dc96b5953d9bf42fd5368b0627a1604d (diff)
downloadpatchage-2de8ef5bc0f6874e9b3fa78e7468a9a6a2a174d5.tar.gz
patchage-2de8ef5bc0f6874e9b3fa78e7468a9a6a2a174d5.tar.bz2
patchage-2de8ef5bc0f6874e9b3fa78e7468a9a6a2a174d5.zip
Tone down port colours a touch.
git-svn-id: http://svn.drobilla.net/lad/patchage@1020 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r--src/PatchageEvent.cpp3
-rw-r--r--src/StateManager.cpp6
2 files changed, 4 insertions, 5 deletions
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;
}