|
|
|
@ -941,6 +941,9 @@ public:
|
|
|
|
|
if (!mBook)
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
|
|
if (mPage >= mBook->mPages.size())
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
|
|
dirtyFocusItem ();
|
|
|
|
|
|
|
|
|
|
mFocusItem = 0;
|
|
|
|
@ -952,6 +955,9 @@ public:
|
|
|
|
|
if (!mBook)
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
|
|
if (mPage >= mBook->mPages.size())
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
|
|
left -= mCroppedParent->getAbsoluteLeft ();
|
|
|
|
|
top -= mCroppedParent->getAbsoluteTop ();
|
|
|
|
|
|
|
|
|
@ -988,6 +994,9 @@ public:
|
|
|
|
|
if (!mBook)
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
|
|
if (mPage >= mBook->mPages.size())
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
|
|
// work around inconsistency in MyGUI where the mouse press coordinates aren't
|
|
|
|
|
// transformed by the current Layer (even though mouse *move* events are).
|
|
|
|
|
MyGUI::IntPoint pos (left, top);
|
|
|
|
@ -1013,6 +1022,9 @@ public:
|
|
|
|
|
if (!mBook)
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
|
|
if (mPage >= mBook->mPages.size())
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
|
|
// work around inconsistency in MyGUI where the mouse release coordinates aren't
|
|
|
|
|
// transformed by the current Layer (even though mouse *move* events are).
|
|
|
|
|
MyGUI::IntPoint pos (left, top);
|
|
|
|
|