On Fri, Nov 11, 2005 at 12:15:10PM -0800, [EMAIL PROTECTED] wrote: > Is there any way for FVWM to highlight user-chosen areas > of application windows independently from the application? > I'm thinking of an effect similar to what one can achieve > by drawing on the CRT with a whiteboard marker :) except > that ideally the highlights would be associated with the > window (thus going away when the window is iconified, or > covered by another, or when viewing a different page or > desktop). I can get a very limited version of this by > selecting text in an xterm, but can have only one such > area marked at a time -- the first goes away as soon as > I select something else, whether in the same xterm or > another. > > The implementation approach which comes to mind would > involve FVWM reserving one bitplane -- half of the colormap > -- so as to create an alternative set of colors, but > I wouldn't be all that surprised if those with more > knowledge of X-windows thought of other methods that > might be less resource-intensive or usable on displays > that don't have colormaps.
I have implemented a very limited form of this in FvwmButtons: you can set the background colour of an application window. This works with a few applications but has many problems. For example, the application may reset the background at any time; and xclock draws its handles by first undrawing the in the (old) background colour, leaving a grey trail behind the hands. This would get *much* more difficult when drawing to the window's foreground. Well, maybe one could overlay the client window with a window of the same size that is just white and then cut out the parts that you have not drawn into yet. There would be no part of the window visible at first, and when you start drawing it covers more and more of the client window. But overall this would involve a lot of code in the window manager core that does not belong there. Is it an option to take a picture of a window and do the hilighting in a graphics program? Ciao Dominik ^_^ ^_^ -- Dominik Vogt, [EMAIL PROTECTED]
signature.asc
Description: Digital signature
