POINTEREDITOR

Versión 1.1.0.1 (6,32 KB) por Jiro Doke
A GUI for creating custom pointers.
2,4K descargas
Actualizado 1 sep 2016

Ver licencia

POINTEREDITOR opens a GUI for creating custom PointerShapeCData.
PointerShapeCData must be a 16-by-16 matrix that defines the pointer using 3 values (black, white, transparent). The editor allows you to create the pointer by clicking on pixels (left click, right click, shift+left click, respectively). You can also click and drag to color continuous pixels. Closing the editor via the close button cancels the changes.

M = POINTEREDITOR returns the CData matrix. To incorporate the Cdata in your m-file, copy and paste the output of the matrix. See examples in this code.

M = POINTEREDITOR(C) accepts a 16-by-16 CData matrix.

The mouse click interface is designed to be used in MS-Windows environment. In other platforms, they correspond to 'Normal', 'Alternate', and 'Extend' SelectionType, respectively.

The GUI includes a few UI control buttons at the top.
All Black - Change all pixels to black.
All White - Change all pixels to white.
All Transp - Change all pixels to transparent.
Test - Test the current pointer. Press the button again or click anywhere in the window to switch back to arrow pointer.
Done! - Exit editor.
? - Help window.

Citar como

Jiro Doke (2024). POINTEREDITOR (https://www.mathworks.com/matlabcentral/fileexchange/9895-pointereditor), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R13
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre Environment and Settings en Help Center y MATLAB Answers.
Agradecimientos

Inspirado por: Simplified management of figure pointer property

Community Treasure Hunt

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

Start Hunting!
Versión Publicado Notas de la versión
1.1.0.1

Updated license

1.1.0.0

Minor change in HELP text, and license update.

1.0.0.0

Allow passing in of a CData matrix. Remove outputing of matrix on screen, because one can get that from the actual matrix.