by Mike
Pinkerton (pinkerton@netscape.com)
Last updated: Sat Feb 20 00:58:37 PST 1999
Part of the XPToolkit relies on widgets to do the jobs. Some widgets can be written on top of GFX, others should be written as wrappers around OS-native UI elements. The line can be drawn on a platform by platform basis because everything hides behind the nsIWidget API and a factory to create them.
A general requirement that we have on widgets is the ability to apply CSS styles to them from an HTML page (in addition to the styles applied from the platform-specific stylesheet). As a result, this may limit our ability to use native widgets where we normally would like to (for size/speed/true look-and-feel reasons). In the future, we also need to be able to z-order and composite widgets. While we may not meet this requirement for initial versions, we want to move into the world where we can. Again, this may limit our ability to use native widgetry.
Widgets required for the layout engine. While these say Steve Dagley as the owner, he really acts more as a coordinator between the layout group and XPToolkits.
Widget |
Screen Shot |
Embellishments |
Owner |
---|---|---|---|
Push Buttons |
can be a default button |
Steve Dagley + layout |
|
Radio Group |
|
||
CheckBox |
|
tri-state |
|
Edit Field |
Can disable. |
||
Scrolling Text Field |
optional horiz scrollbar. |
||
Combobox/popupmenu |
|
linked edit field |
|
List Box |
> 1 columns can be done with tree widget??? |
||
File Picker |
wrapper around 2 widgets |
Widget |
Screen Shot |
Embellishments |
Owner |
---|---|---|---|
Scroll Bar |
proportional thumb |
?? + layout |
|
Image |
|
David Hyatt + layout |
Widget |
Screen Shot |
Embellishments |
Owner |
---|---|---|---|
Disclosure Triangle |
left/right facing |
||
Grippy Pane |
custom bg colors or patterns |
||
Progress Bar |
Determinate |
||
Slider Control |
min/max |
?? |
|
Separator |
Horizontal or vertical |
||
Static Text Label |
Can disable (dim) |
||
Tree Control |
configurable as in old 5.0 Cthulu spec |
||
Tab Controls |
|
||
Color Picker |
give access to system color picker as an option. |
||
Image Buttons (w/ menu) |
show state |
||
Up/Down Arrows |
linked to edit field |
?? |
|
Animation/Throbber |
animation described by chrome provider |
Widget |
Screenshot |
Embellishments |
Owner |
---|---|---|---|
Toolbar |
configurable as in old 5.0 Cthulu spec |
||
Group Boxes |
|
HTML 4.0 does this? |
|
Status Bar |
|
|
|
Font Picker |
Native? |
||
Date/Time Control |
do we need this??? |
Kudos to Simon Fraser for providing all the graphics and enumerating out all the widgets needed for Composer. Thanks!!!