🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac.oop.powerplant
Article #53

Re: Appearence Demo vs OSX

#53
From: Mel Walker
Date: Wed, 21 Mar 2001 21:46
40 lines
2763 bytes
In article <hawkfish-E914D1.08360420032001@brokaw.wa.com>,
 Richard Wesley <hawkfish@electricfish.com> wrote:

> > In article <hawkfish-BA6D2F.09175619032001@brokaw.wa.com>,
> >  Richard Wesley <hawkfish@electricfish.com> wrote:
> > 
> > > - The background lines at the edge of the dialog are not in line with 
> > > the rest of the dialog;
[...]> 
> According to the Carbon Dev mailing list:
> 
> - This is a bug in Aqua caused by the background pattern not taking the 
> origin into account;

Actually, it seems that the problem is that the pattern actually *does* 
takes the origin into account, not that it doesn't. *The programmer* 
hasn't taken the origin into account, because on OS 9 the backgrounds 
are generally just white (or gray), and not patterned like OS X.

> - Apple refuses to fix the problem;

....'cause it's not a problem, it's always been that way, and QuickDraw 
is *designed* to do it that way, but it never shows up in windows that 
don't erase to a pattern....

> - A number of frameworks besides PowerPlant have the same problem;

Anything that expects a pattern's starting point not to change if the 
origin of the GrafPort changed would have this problem.

> - The only real workaround is to intercept the EraseRect and EraseRgn 
> bottlenecks and fix the origin before calling StdXXX;

Why not just modify the PP files that do the erasing? Or would that 
include too many files? In any event, I expect that's a solution for a 
small application only, though. A PowerPlant fix is in order.

-- 
--
meleuwal@starSP0MtrekSP0Mmail.com
Technical Details
Message-ID: <meleuwal-404F9A.14461721032001@news.xmission.com>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!171.64.14.106!newsfeed.stanford.edu!canoe.uoregon.edu!logbridge.uoregon.edu!xmission!nnrp.xmission!meleuwal
References: <hawkfish-BA6D2F.09175619032001@brokaw.wa.com> <ned-03E281.22273219032001@corp.supernews.com> <hawkfish-E914D1.08360420032001@brokaw.wa.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10bcce,13567671efe4a521
X-Google-Attributes: gid10bcce,public
X-Google-Thread: f7f77,13567671efe4a521
X-Google-Attributes: gidf7f77,public
X-Google-ArrivalTime: 2001-03-21 13:47:17 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!171.64.14.106!newsfeed.stanford.edu!canoe.uoregon.edu!logbridge.uoregon.edu!xmission!nnrp.xmission!meleuwal
From: Mel Walker <meleuwal@starSP0MtrekSP0Mmail.com>
Newsgroups: comp.sys.mac.oop.powerplant,codewarrior.mac
Subject: Re: Appearence Demo vs OSX
Date: Wed, 21 Mar 2001 14:46:17 -0700
Organization: Committee to Re-Elect Dan Quayle Lord of the Cosmos
Lines: 40
Message-ID: <meleuwal-404F9A.14461721032001@news.xmission.com>
References: <hawkfish-BA6D2F.09175619032001@brokaw.wa.com> <ned-03E281.22273219032001@corp.supernews.com> <hawkfish-E914D1.08360420032001@brokaw.wa.com>
NNTP-Posting-Host: 166.70.87.45
X-Trace: news.xmission.com 985211177 11717 166.70.87.45 (21 Mar 2001 21:46:17 GMT)
X-Complaints-To: abuse@xmission.com
NNTP-Posting-Date: 21 Mar 2001 21:46:17 GMT
User-Agent: MT-NewsWatcher/3.1 (PPC)
X-Clamation: Hey!