Re: FVWM: RE Icon window decorations

From: Dominik Vogt <dominik.vogt_at_gmx.de>
Date: Tue, 10 Jul 2001 18:17:45 +0200

On Tue, Oct 09, 2001 at 10:43:07PM +0200, Riswick, J.G.A. van wrote:
> HI!
>
> I'm looking at how to give icons normal
> window decorations. I think I understand some
> of the code, but I don't see directly if it
> is possible to use the drawing code for windows
> (DrawDecorations function) to also draw the
> icon borders, as the icon window is a part of
> the FvwmWindow object (if I am correct). Is it
> possible to make some kind of a cast and still
> insert the icon window into this function, or
> should I just copy out the drawing code and make
> a new function especially for icons?

That's quite a challenge to start with. The icon code is
completely independent of the window drawing code. I think the
cleanest way would be to enhance the code in a way so that the
icon window is actually swallowed in a separate FvwmWindow frame.
Fvwm would have to simulate being an application on its own for
that. But that requires changes all over the place because fvwm
cant't handle its own client windows than normal app windows (e.g.
it should kill the icon's application with "Destroy", not
itself). Doing it this way would have the advantage that
implementing tear off menus (planned) can possibly reuse parts of
the code.

Bye

Dominik ^_^ ^_^

 --
Dominik Vogt, dominik.vogt_at_gmx.de
Reply-To: dominik.vogt_at_gmx.de
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Wed Oct 10 2001 - 11:21:58 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:52 BST