register the tool with GIMP_PAINT_OPTIONS_CONTEXT_MASK and
2007-03-17 Michael Natterer <mitch@gimp.org> * app/tools/gimpvectortool.c (gimp_vector_tool_register): register the tool with GIMP_PAINT_OPTIONS_CONTEXT_MASK and GIMP_CONTEXT_GRADIENT_MASK so its tool options are suited as parameter object for stroking (the stroke button in the tool options was using default values before). svn path=/trunk/; revision=22135
This commit is contained in:

committed by
Michael Natterer

parent
cefff5f07f
commit
68b4585959
@ -1,3 +1,11 @@
|
|||||||
|
2007-03-17 Michael Natterer <mitch@gimp.org>
|
||||||
|
|
||||||
|
* app/tools/gimpvectortool.c (gimp_vector_tool_register):
|
||||||
|
register the tool with GIMP_PAINT_OPTIONS_CONTEXT_MASK and
|
||||||
|
GIMP_CONTEXT_GRADIENT_MASK so its tool options are suited
|
||||||
|
as parameter object for stroking (the stroke button in the
|
||||||
|
tool options was using default values before).
|
||||||
|
|
||||||
2007-03-16 Michael Natterer <mitch@gimp.org>
|
2007-03-16 Michael Natterer <mitch@gimp.org>
|
||||||
|
|
||||||
* app/plug-in/gimppluginprocframe.c
|
* app/plug-in/gimppluginprocframe.c
|
||||||
|
@ -39,6 +39,8 @@
|
|||||||
#include "core/gimptoolinfo.h"
|
#include "core/gimptoolinfo.h"
|
||||||
#include "core/gimpundostack.h"
|
#include "core/gimpundostack.h"
|
||||||
|
|
||||||
|
#include "paint/gimppaintoptions.h" /* GIMP_PAINT_OPTIONS_CONTEXT_MASK */
|
||||||
|
|
||||||
#include "vectors/gimpanchor.h"
|
#include "vectors/gimpanchor.h"
|
||||||
#include "vectors/gimpvectors.h"
|
#include "vectors/gimpvectors.h"
|
||||||
#include "vectors/gimpbezierstroke.h"
|
#include "vectors/gimpbezierstroke.h"
|
||||||
@ -152,7 +154,8 @@ gimp_vector_tool_register (GimpToolRegisterCallback callback,
|
|||||||
(* callback) (GIMP_TYPE_VECTOR_TOOL,
|
(* callback) (GIMP_TYPE_VECTOR_TOOL,
|
||||||
GIMP_TYPE_VECTOR_OPTIONS,
|
GIMP_TYPE_VECTOR_OPTIONS,
|
||||||
gimp_vector_options_gui,
|
gimp_vector_options_gui,
|
||||||
0,
|
GIMP_PAINT_OPTIONS_CONTEXT_MASK |
|
||||||
|
GIMP_CONTEXT_GRADIENT_MASK, /* for stroking */
|
||||||
"gimp-vector-tool",
|
"gimp-vector-tool",
|
||||||
_("Paths"),
|
_("Paths"),
|
||||||
_("Paths Tool: Create and edit paths"),
|
_("Paths Tool: Create and edit paths"),
|
||||||
|
Reference in New Issue
Block a user