nanogui: use windows id's for buttons?


Previous by date: 28 Jun 2001 07:40:05 -0000 transparancy, Nikolaj Berntsen
Next by date: 28 Jun 2001 07:40:05 -0000 Linux newbie : how to install MicroWindows on windows ?, scq
Previous in thread: 28 Jun 2001 07:40:05 -0000 use windows id's for buttons?, Nikolaj Berntsen
Next in thread: 28 Jun 2001 07:40:05 -0000 Re: use windows id's for buttons?, Jordan Crouse

Subject: Re: [nanogui] use windows id's for buttons?
From: Alex Holden ####@####.####
Date: 28 Jun 2001 07:40:05 -0000
Message-Id: <Pine.LNX.4.10.10106280831160.10689-100000@linuxhacker>

On Thu, 28 Jun 2001, Nikolaj Berntsen wrote:
> The question is whether we are best off treating the areas on the screen (an
> activated button might change the appearance of several rectangular ares on
> the screen) as windows with window id's or whether we should just let the
> button handle the areas in some other way?

It would probably be easiest to make each area be a seperate window. Don't
worry about creating too many windows; they have a pretty low overhead.
When each logical item (button, message window, tooltip, etc.) in the
display is a window, moving it or unmapping it will automatically move or
unmap any child windows. Also, if you move a window to a different
location on the screen you don't need to worry about what the new absolute
location of the items displayed within the area, are as they are still in
the same position relative to their parent window. Just my humble opinion.

-- 
------- Alex Holden -------
http://www.linuxhacker.org/
 http://www.robogeeks.org/



Previous by date: 28 Jun 2001 07:40:05 -0000 transparancy, Nikolaj Berntsen
Next by date: 28 Jun 2001 07:40:05 -0000 Linux newbie : how to install MicroWindows on windows ?, scq
Previous in thread: 28 Jun 2001 07:40:05 -0000 use windows id's for buttons?, Nikolaj Berntsen
Next in thread: 28 Jun 2001 07:40:05 -0000 Re: use windows id's for buttons?, Jordan Crouse


Powered by ezmlm-browse 0.20.