static void gimp_mybrush_tool_class_init (GimpMybrushToolClass *klass) { GimpToolClass *tool_class = GIMP_TOOL_CLASS (klass); GimpPaintToolClass *paint_tool_class = GIMP_PAINT_TOOL_CLASS (klass); tool_class->options_notify = gimp_mybrush_tool_options_notify; paint_tool_class->get_outline = gimp_mybrush_tool_get_outline; }
static void gimp_brush_tool_class_init (GimpBrushToolClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); GimpToolClass *tool_class = GIMP_TOOL_CLASS (klass); GimpPaintToolClass *paint_tool_class = GIMP_PAINT_TOOL_CLASS (klass); object_class->constructed = gimp_brush_tool_constructed; tool_class->oper_update = gimp_brush_tool_oper_update; tool_class->cursor_update = gimp_brush_tool_cursor_update; tool_class->options_notify = gimp_brush_tool_options_notify; paint_tool_class->get_outline = gimp_brush_tool_get_outline; }