Added debugging code for mouseExited:. In El Capitan it's not working in scrolled views...

This commit is contained in:
Pietro Gagliardi 2015-12-27 16:15:18 -05:00
parent 0ec70f9111
commit 93a9847b59
1 changed files with 8 additions and 0 deletions

View File

@ -223,6 +223,10 @@ mouseEvent(otherMouseUp)
{
uiArea *a = self->libui_a;
NSLog(@"entered");
NSLog(@"a %p", a);
NSLog(@"ah %p", a->ah);
NSLog(@"crossed %p", a->ah->MouseCrossed);
(*(a->ah->MouseCrossed))(a->ah, a, 0);
}
@ -230,6 +234,10 @@ mouseEvent(otherMouseUp)
{
uiArea *a = self->libui_a;
NSLog(@"exited");
NSLog(@"a %p", a);
NSLog(@"ah %p", a->ah);
NSLog(@"crossed %p", a->ah->MouseCrossed);
(*(a->ah->MouseCrossed))(a->ah, a, 1);
}