[REBOL] Re: Inform
From: allenk:powerup:au at: 11-Nov-2001 22:04
----- Original Message -----
From: "Paul Tretter" <[ptretter--charter--net]>
Sent: Sunday, November 11, 2001 3:43 PM
Subject: [REBOL] Re: Inform
> I think I found a way around this. I looked at the source for inform and
> just decided to do this instead on my 'face:
> view/offset face (system/view/screen-face/size - face/size / 2)
> Bingo! I got the inform feature I wanted.
> Paul Tretter
Did you just need to center a face?
You can center-face for that.
CENTER-FACE obj /with face
Center a face on screen or relative to another face.
CENTER-FACE is a function value.
obj -- (Type: object)
/with -- Center relative to a face.
face -- (Type: object)