GNOME Bugzilla – Bug 306230
Cursor info window should show palette index
Last modified: 2008-01-15 14:03:58 UTC
The color picker info window shows the palette index of the current pixel for indexed images. The "Cursor info" window should do this too. Thanks!
The Cursor Info window picks the color from the projection, not from the drawable. The projection is not indexed though so we can't show the palette index there since this information doesn't exist. An alternative would be to add a "Sample Merged" option to the Cursor Info and to allow the user to toggle it off.
This was actually fixed a while ago. The cursor info now allows to pick from the active drawable. 2005-07-09 Michael Natterer <mitch@gimp.org> * app/widgets/gimpcursorview.[ch]: added boolean "sample-merged" property, API and GUI. Pick from the active drawable if it's FALSE. * app/actions/Makefile.am * app/actions/actions.c * app/actions/cursor-info-actions.[ch] * app/actions/cursor-info-commands.[ch]: new files with actions and callbacks for the cursor info dialog's menu. * app/widgets/gimphelp-ids.h: help IDs for above actions. * app/actions/dialogs-actions.c * app/dialogs/dialogs.c: follow help ID change. * app/menus/menus.c * menus/Makefile.am * menus/cursor-info-menu.xml: add the cursor-info menu. * app/dialogs/dialogs-constructors.c: pass the menu factory to gimp_cursor_view_new().