Index: trunk/doc-rnd/gpmi/packages/hid.html =================================================================== --- trunk/doc-rnd/gpmi/packages/hid.html (revision 788) +++ trunk/doc-rnd/gpmi/packages/hid.html (revision 789) @@ -8,64 +8,34 @@
  • it can register exporter HIDs in PCB -

    API reference - attribute dialog boxes

    -

    function hid_t *hid_create(char *hid_name, char *description);

    - Creates a new hid context. Name and description matters only - if the hid is registered as an exporter later. hid_t is an opaq - structure for the package that is used to describe attributes - of an attribute dialog or an exporter hid. +

    Building a custom dialog box

    +First hid_create() needs to be called. It returns a new hid_t, which is +an opaq structure for the package that is used to describe attributes of +an attribute dialog or an exporter hid. Attributes are added using +hid_add_attribute(), which returns an unique ID of the attribute. The +attribute ID can be used later for querying attribute value set by the +user using hid_get_attribute(). +

    +The process of building a dialog box is closed by a call to +