Definition at line 280 of file ViewStrip.h. References OglGui::ScrollBar::ChangePos(), FindViewIndex(), OglGui::ImagesListener::ImageSelectionEvent(), OglGui::ScrollBar::LineIncrement(), mImListener, mListenerData, OglGui::OglWindow::mOglWnd, OglGui::Window::MouseFunc(), and mScrollBar. 00281 { 00282 Window::MouseFunc(msg, but, state, x, y); 00283 00284 int incr = mScrollBar->LineIncrement(); 00285 if(msg == oglMouseWheelUp) mScrollBar->ChangePos(-incr); 00286 if(msg == oglMouseWheelDown) mScrollBar->ChangePos(incr); 00287 00288 if ((msg==oglMouseDown || msg==oglMouseDblClick) && mImListener) 00289 { 00290 OGLVIEW *view = viewSys.FindView(mOglWnd, x, y); 00291 if (view) { 00292 int id = FindViewIndex(view); 00293 mImListener 00294 ->ImageSelectionEvent(this,id,msg,but,state,mListenerData); 00295 } 00296 } 00297 }
Here is the call graph for this function:
|