Home away from home
Joined: 2006/12/4 23:15 Last Login
: 10/14 16:04
Group:
Registered Users
|
No border is easy:
WA_Borderless,FALSE,
You'll likely not want the various gadget either then so
WA_SizeGadget WA_DragBar WA_DepthGadget WA_CloseGadget
should also be FALSE
transparent background is more complex and something I've never done.
But I believe there is ahook which handles that and you can use a bitmap to define the transparency.
From the autodocs:
The following tags only have an effect when the window is opened on a hicolor/truecolor screen using off-screen rendering and compositing.
WA_AlphaClips - (struct ClipRect *) The ClipRects that define the alpha map of the window. The window must be not a GimmeZeroZero window. See layers.library/ChangeLayerAlpha() for more. (V53)
WA_AlphaHook - (struct Hook *) The hook function used to generate window alpha map on the fly. The window must be not a GimmeZeroZero window. See layers.library/ChangeLayerAlpha() for more. (V53)
WA_Opaqueness - (UBYTE) The initial overall opaqueness of the window. It can range from zero (invisible) to 255 (fully opaque). It will be combined with the global opaqueness level for this type of window as selected by the user in GUI preferences, unless you set WA_OverrideOpaqueness to TRUE. Defaults to 255. (V53)
WA_OverrideOpaqueness - (BOOL) If TRUE, the window opaqueness set via WA_Opaqueness will never get affected by any global opaqueness level from user preferences. If you use this, make sure to offer an alternate way for the user to set his preferred opaqueness for the windows of your application. Defaults to FALSE. (V53)
WA_FadeTime - (ULONG) The duration of gradual transitions in window opaqueness, expressed in microseconds. This applies to fade-in (window opening), fade-out (window closing) and any subsequent changes of the WA_Opaqueness attribute. If zero, no fade effect is applied on window opaqueness changes. Defaults to zero. (V53)
WA_NoHitThreshold - (LONG) Any pixel of the window whose opaqueness is less than or equal to the specified amount will be treated as if it were intangible, i.e. it will let mouse clicks pass through to windows behind it. Possible values range from zero (only fully transparent pixels are intangible) to 255 (no pixel in the window can ever be hit). Additionally, -1 will make the whole window tangible, even where it is fully transparent. Use with care, as making opaque areas not hittable (or vice versa) may easily confuse the user. Defaults to 16. (V53)
|