[Y-devel] GUI design docs
Jay Sprenkle cupycake_jay at yahoo.com
Wed Feb 25 19:52:20 GMT 2004
--- Brent Gulanowski <brentg at magma.ca> wrote:
>
>
> > * 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.
>
> should feature something that Adobe has added to
> their apps: user
> draggable palettes or what might be called floating
> tab views.
When I do 3d modeling work I have two monitors.
I put the view of the object being edited on one
monitor and the dialog box that allows me to select
editing options in the other. This helps a LOT
since I can get the object I'm drawing zoomed enough
I can actually see details. If the GUI limited the
child dialog boxes to being within the bounds of
the parent I couldn't do this.
So, I think we can also allow negative values
for the position of the child in relation
to the edge of the parent. If you resize a window
your palette (or whatever) could optionally move too.
> according to the user's needs. Most users might not
> want the U.I. to be
> changeable (lest they change it by accident and not
> know how to restore
> it), but you could turn the feature on and off per
> system and per
> application (letting individual applications
> over-ride it).
Oh yes. I recall the "let users change the colors
of UI elements" problem we saw once. A user set
his background color to black and his text color
to black. ;)
We decided at the time "themes' were better than
individual parameter controls. It enforced non
conflicting choices but still allows customizability.
> >
> BTW, any thoughts on defining interface layout using
> external
> resources, as an alternate to programmatically? The
> classic Mac OS used
> resource files that were parsed by functions in
> order to generate a
> U.I. layout (so, you'd tell the window manager, with
> a function, to
> create a new window with resource ID such and such).
> OS X actually
> creates archives of U.I. objects (they call it
> "freeze drying") which
> are "woken up" when an owner object requests the
> archive (a "nib" file)
> be opened. It's really awesome. Interface Builder is
> the tool for
> constructing user interfaces and it saves these
> nibs, allowing the
> developer to specify "outlets" -- ivars which point
> to other objects.
> Because a nib is an object archive, it can even
> contain instances of non-U.I. classes.
If I followed what you said (I'm feeling a bit
dull today) we need to have table driven layouts
for forms/windows/control placement?
Now I'm thinking we should also have the ability
to have the window manager save and restore window
placement. One of the first things a lot of
people do when writing a windows app is to put
in code to restore the window position and size
when the application is started.
> >
> > * 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.
>
> You might have sets of U.I. candy that have minimal
> system resource
> requirements, and fallback to a default if the
> requirements are not
> met. Apple does this with features like the fast
> user switching
> rotating box animation. Basically they have the
> Quartz Extreme version
> of some things and the Quartz fallback version.
I assume the "theme" would control how visual
presentation is done. So we'd have on the fly
theme changes/switches based on system resources?
__________________________________
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