1
0
Fork 0

More cleanups. Removed the pui-* commands, and added a pass-through

property to indicate when mouse events should be offset to PUI and the
panel first.
This commit is contained in:
david 2002-03-27 00:54:34 +00:00
parent 20ab2f4779
commit f52a4ccf58

View file

@ -27,21 +27,8 @@ The current mode for each mouse is held in the
<mode n="0"> <mode n="0">
<cursor>inherit</cursor> <cursor>inherit</cursor>
<constrained>false</constrained>
<button n="0"> <pass-through>true</pass-through>
<binding>
<command>pui-or-panel-mouse-click</command>
<button>0</button>
<is-down>true</is-down>
</binding>
<mod-up>
<binding>
<command>pui-or-panel-mouse-click</command>
<button>0</button>
<is-down>false</is-down>
</binding>
</mod-up>
</button>
<button n="2"> <button n="2">
<binding> <binding>
@ -56,6 +43,7 @@ The current mode for each mouse is held in the
<mode n="1"> <mode n="1">
<cursor>crosshair</cursor> <cursor>crosshair</cursor>
<constrained>true</constrained> <constrained>true</constrained>
<pass-through>false</pass-through>
<button n="2"> <button n="2">
<binding> <binding>
@ -95,6 +83,7 @@ The current mode for each mouse is held in the
<mode n="2"> <mode n="2">
<cursor>left-right</cursor> <cursor>left-right</cursor>
<constrained>true</constrained> <constrained>true</constrained>
<pass-through>false</pass-through>
<!-- left button centres the view heading offset --> <!-- left button centres the view heading offset -->
<button n="0"> <button n="0">