mirror of
https://review.haiku-os.org/haiku
synced 2024-11-23 07:18:40 +01:00
user docs: add note about use of BView::GetMouse() in BView::MouseUp()
Fixes #18606 Change-Id: I2f6d9cd67de6cd4223b6837bb1b8b0cd1de79800
This commit is contained in:
parent
35478ccd4e
commit
ae2049aa4f
@ -1056,6 +1056,11 @@ SetViewColor(Parent()->ViewColor());
|
||||
\param where The point on the screen where to mouse pointer is when
|
||||
the mouse button is released.
|
||||
|
||||
\note Calling GetMouse() in MouseUp() will return the new state of the mouse buttons
|
||||
(after the mouse button was released). If you want to know which button was released,
|
||||
you have to compare that with the previous state of the buttons, that you can memorize
|
||||
for example by calling GetMouse() in MouseDown().
|
||||
|
||||
\since BeOS R3
|
||||
*/
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user