| GIMP Application Reference Manual | ||||
|---|---|---|---|---|
GimpPaintTool;
void gimp_paint_tool_enable_color_picker (GimpPaintTool *tool,
GimpColorPickMode mode);
#define GIMP_PAINT_TOOL_GET_OPTIONS (t)
GObject +----GimpObject +----GimpTool +----GimpDrawTool +----GimpColorTool +----GimpPaintTool +----GimpBrushTool +----GimpInkTool
void gimp_paint_tool_enable_color_picker (GimpPaintTool *tool, GimpColorPickMode mode);
This is a convenience function used from the init method of paint
tools that want the color picking functionality. The mode that is
set here is used to decide what cursor modifier to draw and if the
picked color goes to the foreground or background color.
|
a GimpPaintTool |
|
the GimpColorPickMode to set |