I find these standard functions wrong (beyond they have the same comment):
win-offset?: func [
{Given any face, returns its screen absolute offset.}
face [object!]
/local xy
][
xy: 0x0
while [face] [if face/parent-face [xy: xy + face/offset] face:
face/parent-face]
xy
]
screen-offset?: func [
{Given any face, returns its screen absolute offset.}
face [object!]
/local xy
][
xy: face/offset
while [face/parent-face] [face: face/parent-face xy: xy + face/offset]
xy
]
The problem is that they do not add the edge size of panels.
Are I right?
The first is an important function because it is used at every event by
system/view/screen-face/feel/event-funcs/1
and by
system/view/wake-event
The second is used only by system/words/choose.
---
Ciao
Romano
----- Original Message -----
From: "Allen Kamp" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 22, 2002 11:58 AM
Subject: [REBOL] Re: Rebol programs
>
> ----- Original Message -----
> From: "Jason Cunliffe" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, March 22, 2002 2:56 PM
> Subject: [REBOL] Re: Rebol programs
>
>
> > "Allen Kamp" <[EMAIL PROTECTED]> wrote:
> >
> > > The site is built by REBOL. It is published and uploaded by site
> building
> > > scripts which produce the static HTML. Some of the old site building
> scripts
> > > should still be floating around in the libraries.
> >
> > aha..
> > Love to hear more about it...
> > Is it written up anywhere?
> > Do you know why there is no obvious "about this site" description with
> links to
> > the rebol scripts?
> > Any reason the pages are static? Not necessarily bad, just very curious
> and
> > rather baffled.
> >
> > cheers
> > ./Jason
>
> I'm sure Carl probably has a later version by now, but here is the old one
> http://www.rebol.com/cgi-bin/fcs/fcp.pl?words=site+builder&d=/library/html/b
> uild-site.html
>
> Also of interest in how REBOL is used daily by Carl & RT.
>
> http://www.rebolforces.com/zine/rzine-1-01.html#sect8.
>
> Cheers,
>
> Allen K
>
>
>
> --
> To unsubscribe from this list, please send an email to
> [EMAIL PROTECTED] with "unsubscribe" in the
> subject, without the quotes.
>
--
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the
subject, without the quotes.