[Y-devel] GUI design docs
Jay Sprenkle cupycake_jay at yahoo.com
Wed Feb 25 16:58:07 GMT 2004
> From: Mikko Rantalainen <mira at cc.jyu.fi>
> Subject: Re: [Y-devel] GUI design docs
> > On focus and keystrokes:
> >
> I think the events should go to currently focused
> widget, no matter
> where it lives. If it wants to live two blocks above
> my screen's
> top-left corner and 100 miles to right, then it
> should be there, but
> if it's focused, the keyboard events should go to
> that. I think
> pointer (mouse) events should go to both focused
> widget and the one
> below the pointer - that way inactive windows can
> still do their pointer hover magic.
A good point.
>
> Now, the question is, how is user supposed to change
> focus? I like
> click-to-focus most but I know some people like it
> the other way.
> Perhaps the theme could take care of handling the
> focus so that one
> could change the behavior by changing the theme? On
> the other hand,
> I really like the IceWM's ability to change to looks
> but keep the
> behavior. How about having theme engine for widget
> looks and
> behavior engine for widget and focus behavior?
The current linux method seems to be "load a window
manager of your choice". You get the behaviour
(mostly) and the look you want. Having this
adjustable might be a good way of ending
argumentss over interface design. I'd be happy
if it were consistant system wide, then if you
like it a different way than I do you can adjust
it as desired.
<snip>
> In short, Y should have some kind of support for
> more than two axis.
> I'd expect that in the future we'll have trackball
> on top of our
> mouse where we normally have a mouse wheel. Y should
> be able to map
> the trackball movement to window scrolling or for
> modifying Z-axis
> in 3d world and zooming with the another axis. Also,
> precision of
> more than a single pixel should be supported.
I don't follow this one. I'm not sure what you'd
use such a setup for. A user interface for a 3d
modeling ap perhaps? I'm not aware of any really
useful computer interfaces that use 3d. Do we
want to consider there might actually be a 3d
display device?
Multiple monitors are an absolute
wonder when doing 3d/cad design work.
>
> And for heavens sake, don't make artificial
> limitations between
> mapping mouse actions as they were keyboard actions
> and wise versa.
> If your mouse has only two buttons but some
> application needs four,
> you should be able to use F11 and F12 for the
> missing mouse buttons if that's what you want.
Note to self: Avoid kludge ;)
> > On Resizing controls:
> >
> > I had envisioned a desktop built by inheritance.
> > Being the optimization nut I was thinking you
> > could build all the controls by inheriting from
> > just two controls. A 'canvas' control that
> displays
>
> That sounds simple, but I think we need to build
> some prototype
> applications to test it. I'm afraid that such a
> simple structure
> could cause some (yet unknown) problems for minor
> gain of seemingly simple structure.
This is pretty simple to implement. I've used a
game gui library written in C that used most of these
concepts and it works very well. It's even open
source...
Random ruminations:
* Allow controls to be 'pinned' to one or more
edges of the container they are within. This
makes a control into a 'docking tool bar'. Allow
a distance from each edge to be specified so
they can float near the edge.
* Allow controls to be optionally resized if
their container is resized. (Pass a size
change event to child controls?)
* We should add transparency as a property of
controls/windows. For pretty desktops and shadows.
* If we design it right we can take advantage of
hardware acceleration and hardware video decoding.
Push the implementation of the control rendering
down to modular plugins, it can be done by talking
to hardware and requesting it to do it, or good
'ole software rendering.
__________________________________
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.
https://antispam.yahoo.com/tools
More information about the Y-devel mailing list
2026 © www.Y-Windows.Org - All Rights Reserved