Files
ClassicAPI/docs
Brues b208faec31 feat(frame): frame:SetPassThroughButtons, clicks that go through a frame
frame:SetPassThroughButtons(...) names the mouse buttons a frame lets
through: a press of one of them skips the frame, which gets no
OnMouseDown, OnMouseUp or OnClick for it, and goes to the next
click-enabled frame under the cursor. The frame keeps its other buttons
and its hover. Each call replaces the list, no names clears it, and an
unknown name adds nothing without an error. XML takes
passThroughButtons="LeftButton, RightButton".

The press handler 0x007662C0 copies the input payload behind a 0x10-byte
header at [ebp-0x40], so the pressed button bit sits at +0x14
(OFF_UI_MOUSE_EVENT_BUTTON; 0x0076BF70 ANDs the same field with the drag
mask). Frame::MouseInput already replaces the target read at 0x00766389
with its click walk; the thunk now also passes that event copy, and the
walk skips a frame whose mask holds the button. The world frame sits in
the same mouse lists at stratum 0, so a passed press with no frame below
still reaches the world. A press while another button is held goes to
the pressed frame (+0x80) before the target read, so it is routed as
the engine routes it. The walk still runs only when some frame uses one
of these features.

Button names resolve through Frame::ClickEvents::MaskForButtonName, next
to ButtonNameForMask; Bindings::Command's private copy of the table is
gone.

Also lists the mouse click/motion methods in the README.
2026-11-12 19:02:24 -06:00
..
2026-05-07 15:08:45 -05:00
2026-05-07 15:52:48 -05:00
2026-05-10 00:10:06 -05:00
2026-05-07 16:28:32 -05:00
2026-05-07 12:23:57 -05:00
2026-05-07 15:08:45 -05:00
2026-05-07 15:08:45 -05:00
2026-05-09 14:23:40 -05:00