Reimplemented from OglGui::View. Definition at line 217 of file View.h. References mPointerDrag, mPointerDragX, mPointerDragY, mPointerX, mPointerY, OglGui::View::OnMouse(), and OglGui::View::ViewToIm(). 00218 { 00219 OglGui::View::OnMouse(msg, btn, state, x, y); 00220 if (msg == oglMouseUp) 00221 mPointerDrag = false; 00222 ViewToIm(x, y, mPointerX, mPointerY); 00223 if ((msg == oglMouseDown) && (btn == oglLeftButton)) 00224 { 00225 mPointerDrag = true; 00226 mPointerDragX = mPointerX; 00227 mPointerDragY = mPointerY; 00228 } 00229 }
Here is the call graph for this function:
|