Welcome, Guest. Please login or register.

Author Topic: Transparency  (Read 6136 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline itix

  • Hero Member
  • *****
  • Join Date: Oct 2002
  • Posts: 2380
    • Show all replies
Re: Transparency
« on: July 06, 2007, 09:33:02 PM »
What kind of transparency you mean and where? There is no support for transparency in layers.library and thus it is not possible have windows with transparency unless you hack it into programs. Icons are rendered by programs and there it is easier.



My Amigas: A500, Mac Mini and PowerBook
 

Offline itix

  • Hero Member
  • *****
  • Join Date: Oct 2002
  • Posts: 2380
    • Show all replies
Re: Transparency
« Reply #1 on: July 06, 2007, 09:41:35 PM »
I doubt AfA supports "real" transparency (translucency) since updating contents behind translucent layer is great pain without HW acceleration and support from the system. AfA extends CGX with WritePixelArrayAlpha() function which makes it easier to draw images with alpha channel, though.

In menus not having real translucency is not great deal anyway (to most users).
My Amigas: A500, Mac Mini and PowerBook
 

Offline itix

  • Hero Member
  • *****
  • Join Date: Oct 2002
  • Posts: 2380
    • Show all replies
Re: Transparency
« Reply #2 on: July 07, 2007, 11:27:56 AM »
Quote

I'm not talking about totally transparent windows. I just mean, basically, non-rectangular windows. So VisualPrefs themes with rounded corners, transparent dock, AmiNetRadio themes with transparent backgorunds etc.


It requires that layers system supports transparency. Windows are defined as a rectangle (x1,y1 to x2,y2) and that is how they are. You need an API extension to define window shape.

Transparent (translucent) dock is possible in 3.9 but without support from the operating system it is tricky and does not always work well.
My Amigas: A500, Mac Mini and PowerBook
 

Offline itix

  • Hero Member
  • *****
  • Join Date: Oct 2002
  • Posts: 2380
    • Show all replies
Re: Transparency
« Reply #3 on: November 20, 2007, 07:11:41 PM »
Quote

I could be wrong, but no Amiga does Transparency..............what your probably seeing is the menu gets dithered or pixels are eliminted so that you can see through it.


Not at all. For example MagicMenu implements transparency (translucency) without dithering. Menu is simply blended to the background. It is not real transparency however, the background does not update while menu is open.

With CGX (CGX4?) it is possible have shaped windows but it is not same as transparency...
My Amigas: A500, Mac Mini and PowerBook