[Y-devel] GUI design docs

Jay Sprenkle cupycake_jay at yahoo.com
Wed Feb 25 14:54:23 GMT 2004


> From: Augie Fackler <durin at sbcglobal.net>
> Subject: Re: [Y-devel] GUI design docs
> 
> My thought on this is that there are two main
> schools of thought for 
> controls getting the focus: Mac and Windows. I
> happen to like the Mac 
> system *most* of the time, but it is nice to be able
> to switch 
> occasionally(nasty web forms, etc). Could we
> possibly set up a system 
> where a certain set of widgets can always get the
> focus(if they are 
> enabled, that goes for all focusables), but others
> are only focusable 
> if the user so desires(make this on by default,
> since it is expected 
> behavior by most users?), and a third group(static
> labels and kin) that 
> are never focusable? So that I can have it my way,
> but my friends that 
> are used to the Win32 way can be comfortable too?
> Preferably make this 
> changeable on the fly, so I can change while an app
> is running. 
> Thoughts? Am I raving mad? This leaves us open to
> some extra end user 
> customization, which could be a real selling
> point...

My thoughts on it:

On customization:

It's nice but I'm not sure it's "good".
One of the interface design docs Apple put
out states "There shouldn't be more than one way
to accomplish a task". Having multiple things
on the same desktop that operate different ways
gets you back to the muddle that is KDE/Gnome/Linux
now. Perhaps we can have a switch that sets the
behaviour for everything?

On focus and keystrokes:

I'm used to the windows method of sending keystrokes
to the top window, versus the X method of sending them
to the window the mouse cursor is over. I saw a
suggestion that multiple pointing methods might
be useful. The windows method works with that, but
if you use the X method which mouse/pointing device
cursor do you use?

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
a bitmap, and a 'text' control that displays text.
A button is created from a text object and a canvas
object with several bitmaps associated with it
(one for depressed state, one for non depressed).
The GUI code would be lots simpler if we made the
controls 'containers'. Scrolling becomes trivial.
This simplifies fancy themes and
gives you the ability to customize to any degree
you desire. I can get code for a GUI very
similar to this.


Comments anyone?

I'd be happy to write some docs for this.


__________________________________
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