MousePanningExample

버전 1.0.0.0 (4.59 KB) 작성자: Meade
Simple template for incorporating mouse-bound axis panning in a gui.
다운로드 수: 62
업데이트 날짜: 2017/3/30

라이선스 보기

MousePanningExample v1.00
This function offers a simple template that demonstrates custom panning behavior bound to mouse movement. This Fcn doe NOT use the native |pan| function.
Default behavior is to pan the designated axis when the MIDDLE MOUSE button is held and dragged. This can be changed to the LEFT MOUSE or RIGHT MOUSE by simply changing the expected click type in the |startPan| fcn below.

This example was inspired by the excellent |akZoom| fnc written by Alexander Kessel. I've deconstructed it a bit in order to make it easier to incorporate with GUIs that already have actions bound to the 'mouse up' and 'mouse down' callbacks.

인용 양식

Meade (2024). MousePanningExample (https://www.mathworks.com/matlabcentral/fileexchange/62364-mousepanningexample), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2015b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Migrate GUIDE Apps에 대해 자세히 알아보기
태그 태그 추가
도움

받음: akZoom

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0