Index: trunk/doc/developer/dad/intro.html =================================================================== --- trunk/doc/developer/dad/intro.html (revision 21000) +++ trunk/doc/developer/dad/intro.html (revision 21001) @@ -16,9 +16,9 @@ with command line options in any way at the moment.

The list of widgets is still a flat, growing C array, often called the -table. But inside the table, widgets build a a logical tree +table. But inside the table, widgets build as a logical tree structure. Widgets with name that includes "BEGIN" will open a new -logical layout level that has to be closed with an PCB_DAD_END(). +logical layout level that has to be closed with a PCB_DAD_END().

Calling conventions

@@ -30,7 +30,7 @@

There are two kind of widget calls: widget creation and property set. Property set calls always change the last created widget. This, by -convention, is often indicated by code indentation as well. For exaple: +convention, is often indicated by code indentation as well. For example:

 	PCB_DAD_INTEGER(dlg, "foo");
 		PCB_DAD_MINVAL(dlg, 1);
@@ -49,7 +49,7 @@
 any widget. It is practical to make it a container widget (e.g. a HBOX, VBOX,
 TABLE, PANE, or TABBED) so that it can host children widgets.
 

-After each creaton, the caller can query and store the integer widget +After each creation, the caller can query and store the integer widget identifier using the PCB_DAD_CURRENT() macro. The widget identifier can be used, together with the table, to query or change widget properties and current value any time the dialog box is active. Index: trunk/doc/developer/dad/widgets.html =================================================================== --- trunk/doc/developer/dad/widgets.html (revision 21000) +++ trunk/doc/developer/dad/widgets.html (revision 21001) @@ -18,8 +18,8 @@ PCB_DAD_REAL set a real (floating point) value PCB_DAD_COORD set a coordinate value PCB_DAD_STRING input single line string value (plain text) -PCB_DAD_BUTTON clicable push button -PCB_DAD_PROGRESS progress bad +PCB_DAD_BUTTON clickable push button +PCB_DAD_PROGRESS progress bar PCB_DAD_TREE a list, table or tree of text data PCB_DAD_PREVIEW drawing area