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

Re: [MiNT] MiNT +problem with background in Teradesk



On Thu, Aug 19, 2010 at 2:43 AM, Peter Persson <pep.fishmoose@gmail.com> wrote:
>
>On Wed, Aug 18, 2010 at 7:12 PM, Jo Even Skarstein <joska@online.no> wrote:
> -------------------------------------------------
> From: "Paul Wratt" <paul.wratt@gmail.com>
> Sent: Wednesday, August 18, 2010 10:24 AM
> To: "mint" <mint@lists.fishpool.fi>
> Subject: Re: [MiNT] MiNT +problem with background in Teradesk
>
>> in the same spirit, it should also be possible to provide a window
>> background texture where white is not drawn in to the window
>
> This has been done in atleast Thing and Jinnee. Or do you mean a more
> general solution?
>
> Jo Even
>
>> in the same spirit, it should also be possible to provide a window
>> background texture where white is not drawn in to the window
>
> Wow. Exactly how would you accomplish that? How will you know when to draw white, and when to draw a textured background?
>
> -- PeP

by starting with providing a window region that already has a texture
in it (before drawing begins). Then looking at how vdi/aes draws
objects, and (if code is available) how others are doing textures
currently (XaAES)

any further theories would need testing first, to see whos doing what
where and when (aes/vdi)

drawing of transparency (or not drawing objects) is possible according
to some apps I have seen. They were bugs in the window redraw, but
they showed it was possible for an area of the window to allow the
underneath to be seen, which proves it is possible. "how" is a
different matter entirely, but some examination will shed light on it.

It is my belief that the above two principle would allow for
non-standard window shape to be drawn (still within the window
rectangle).

this does not take into account window redraws while moving windows
(atm), which may be an issue. But if I get that far I will be pleased
(if I am not 60+).

although XaAES has a generic background texture (exterior.img) it
fills the each object from 0,0 not a window area as described above,
which means you cant tile it with just any texture

Even though color WHITE was mentioned (ref: TeraDesk), its probably
the palette number where white is. this is NOT how XaAES does it (ie
palette independent)

Off the top of my head, using a (large) icon might provide a quick
solution (instead of textures)

Paul