|
From: Mojca M. <moj...@gm...> - 2012-08-08 02:25:22
|
On Wed, Aug 8, 2012 at 1:28 AM, Ethan A Merritt wrote: > On Tuesday, August 07, 2012 07:08:06 am Mojca Miklavec wrote: >> Dear all, >> >> I just wanted to let you know that AquaTerm 1.1.1 has been released. >> [snip] >> This is the first released version that properly works on 64-bit macs. >> It supports transparency (it didn't support it in version 1.0.1, and >> version 1.1.0 had two semi-serious problems). > >> Gnuplot needs a patch to make transparency work though: >> - AQUA_hasAlphaSupport = [AQTAdapter >> respondsToSelector:@selector(setColorRed:green:blue:alpha:)]; >> + AQUA_hasAlphaSupport = [adapter >> respondsToSelector:@selector(setColorRed:green:blue:alpha:)]; > >> or alternatively > >> AQUA_hasAlphaSupport = [AQTAdapter instancesRespondToSelector:@selector(setColorRed:green:blue:alpha:)]; > > Have you checked that this change works also for the earlier versions of aquaterm? > > Otherwise it needs to be wrapped in some version check. This *is* the version check (or rather: feature check). All the wrappers for transparency follow later. The problem is that all wrappers assume that transparency is not supported based on the result of this wrong check, and thus transparency is never used at all. New AquaTerm provides an instance method, but the line checks if a class method exists. The result is thus "false" in both versions. Mojca |