Index: trunk/doc/developer/lihata_format/root_menu.lht =================================================================== --- trunk/doc/developer/lihata_format/root_menu.lht (nonexistent) +++ trunk/doc/developer/lihata_format/root_menu.lht (revision 16847) @@ -0,0 +1,65 @@ +ha:lht_tree_doc { + +ha:roots { + ha:menu { + type=ha + name={} + desc={Menu file} + li:children { + ha:mouse { + type=li + desc={mouse bindings} + li:children { + ha:left { + type=li + desc={actions to execute on left button click} + sy:children = {/lht_tree_doc/comm/mouse_actions/children} + } + ha:middle { + type=li + desc={actions to execute on middle button click} + sy:children = {/lht_tree_doc/comm/mouse_actions/children} + } + ha:right { + type=li + desc={actions to execute on right button click} + sy:children = {/lht_tree_doc/comm/mouse_actions/children} + } + ha:scroll-up { + type=li + desc={actions to execute on scroll wheel scolling up event} + sy:children = {/lht_tree_doc/comm/mouse_actions_scroll/children} + } + ha:scroll-down { + type=li + desc={actions to execute on scroll wheel scolling down event} + sy:children = {/lht_tree_doc/comm/mouse_actions_scroll/children} + } + } + } + } + } +} + +ha:comm { + ha:mouse_actions { + hide=1 + li:children { + ha:press { type=li; desc={actions to execute on mouse button press when no modifier is pressed} } + ha:press-shift { type=li; desc={actions to execute on mouse button press when shift is pressed} } + ha:press-ctrl { type=li; desc={actions to execute on mouse button press when control is pressed} } + ha:release { type=li; desc={actions to execute on mouse button release when no modifier is pressed} } + ha:release-shift { type=li; desc={actions to execute on mouse button release when shift is pressed} } + ha:release-ctrl { type=li; desc={actions to execute on mouse button release when control is pressed} } + } + } + ha:mouse_actions_scroll { + hide=1 + li:children { + ha:press { type=li; desc={actions to execute on mouse button press when no modifier is pressed} } + ha:press-shift { type=li; desc={actions to execute on mouse button press when shift is pressed} } + ha:press-ctrl { type=li; desc={actions to execute on mouse button press when control is pressed} } + } + } +} +} Index: trunk/doc/developer/lihata_format/tree.html =================================================================== --- trunk/doc/developer/lihata_format/tree.html (revision 16846) +++ trunk/doc/developer/lihata_format/tree.html (revision 16847) @@ -116,6 +116,42 @@       adelta angle   delta angle      li:simplepoly.ID     round cap arc, simplified; contains a flat list of coords; each coord pair is an x;y corner of the outline of the polygon (odd indices are x coords, even indices are y coords) +

ha:menu

+

+ +
type:name value ver description +
ha:     Menu file +
 li:mouse     mouse bindings +
  li:left     actions to execute on left button click +
   li:press     actions to execute on mouse button press when no modifier is pressed +
   li:press-shift     actions to execute on mouse button press when shift is pressed +
   li:press-ctrl     actions to execute on mouse button press when control is pressed +
   li:release     actions to execute on mouse button release when no modifier is pressed +
   li:release-shift     actions to execute on mouse button release when shift is pressed +
   li:release-ctrl     actions to execute on mouse button release when control is pressed +
  li:middle     actions to execute on middle button click +
   li:press     actions to execute on mouse button press when no modifier is pressed +
   li:press-shift     actions to execute on mouse button press when shift is pressed +
   li:press-ctrl     actions to execute on mouse button press when control is pressed +
   li:release     actions to execute on mouse button release when no modifier is pressed +
   li:release-shift     actions to execute on mouse button release when shift is pressed +
   li:release-ctrl     actions to execute on mouse button release when control is pressed +
  li:right     actions to execute on right button click +
   li:press     actions to execute on mouse button press when no modifier is pressed +
   li:press-shift     actions to execute on mouse button press when shift is pressed +
   li:press-ctrl     actions to execute on mouse button press when control is pressed +
   li:release     actions to execute on mouse button release when no modifier is pressed +
   li:release-shift     actions to execute on mouse button release when shift is pressed +
   li:release-ctrl     actions to execute on mouse button release when control is pressed +
  li:scroll-up     actions to execute on scroll wheel scolling up event +
   li:press     actions to execute on mouse button press when no modifier is pressed +
   li:press-shift     actions to execute on mouse button press when shift is pressed +
   li:press-ctrl     actions to execute on mouse button press when control is pressed +
  li:scroll-down     actions to execute on scroll wheel scolling down event +
   li:press     actions to execute on mouse button press when no modifier is pressed +
   li:press-shift     actions to execute on mouse button press when shift is pressed +
   li:press-ctrl     actions to execute on mouse button press when control is pressed +

ha:geda-project-v1

Index: trunk/doc/developer/lihata_format/tree.txt =================================================================== --- trunk/doc/developer/lihata_format/tree.txt (revision 16846) +++ trunk/doc/developer/lihata_format/tree.txt (revision 16847) @@ -112,6 +112,41 @@ adelta angle delta angle li:simplepoly.ID round cap arc, simplified; contains a flat list of coords; each coord pair is an x;y corner of the outline of the polygon (odd indices are x coords, even indices are y coords) +ha:menu + +type:name value ver description +ha: Menu file + li:mouse mouse bindings + li:left actions to execute on left button click + li:press actions to execute on mouse button press when no modifier is pressed + li:press-shift actions to execute on mouse button press when shift is pressed + li:press-ctrl actions to execute on mouse button press when control is pressed + li:release actions to execute on mouse button release when no modifier is pressed + li:release-shift actions to execute on mouse button release when shift is pressed + li:release-ctrl actions to execute on mouse button release when control is pressed + li:middle actions to execute on middle button click + li:press actions to execute on mouse button press when no modifier is pressed + li:press-shift actions to execute on mouse button press when shift is pressed + li:press-ctrl actions to execute on mouse button press when control is pressed + li:release actions to execute on mouse button release when no modifier is pressed + li:release-shift actions to execute on mouse button release when shift is pressed + li:release-ctrl actions to execute on mouse button release when control is pressed + li:right actions to execute on right button click + li:press actions to execute on mouse button press when no modifier is pressed + li:press-shift actions to execute on mouse button press when shift is pressed + li:press-ctrl actions to execute on mouse button press when control is pressed + li:release actions to execute on mouse button release when no modifier is pressed + li:release-shift actions to execute on mouse button release when shift is pressed + li:release-ctrl actions to execute on mouse button release when control is pressed + li:scroll-up actions to execute on scroll wheel scolling up event + li:press actions to execute on mouse button press when no modifier is pressed + li:press-shift actions to execute on mouse button press when shift is pressed + li:press-ctrl actions to execute on mouse button press when control is pressed + li:scroll-down actions to execute on scroll wheel scolling down event + li:press actions to execute on mouse button press when no modifier is pressed + li:press-shift actions to execute on mouse button press when shift is pressed + li:press-ctrl actions to execute on mouse button press when control is pressed + ha:geda-project-v1 type:name value ver description