[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] XaAES question



On Wed, 25 Oct 2000 00:54:01 , Henk Robbers <H.Robbers@cable.A2000.nl> wrote:
[...]
> Question:
> Is it correct that:
> The rectangle supplied to WM_REDRAW messages must ALWAYS be based on the work area.

That shouldn't be necessary because an application has to intersects this
with the rectangles from the list by wind_get first/next, due to the possible
lag between event generation and recieving by the application.

> wind_get(WF...XYWH, ...) ALWAYS return the rectangles based on the whole
> window area.

What do you mean with that?  Normally should:
- WF_CURRXYWH   returns the whole outer window rectangle including all elements
                and the border (but not any shadows),
- WF_WORKXYWH   returns the working area   and
- WF_FIRSTXYWH  returns the first and
- WF_NEXTXYWH   one of the next rectangles where the application can draw its
                contents.
Because of most applications rely on that, it could be problematical not to
follow to this behavior.

> Doing so the rectangle list can be used by apps for other reasons than work
> area redraws.

For what should this be good?

Regards,
    Ralph