Regarding the previous email, it seems some tools call the brush paint
function with either SOFT or PRESSURE depending on the value of a boolean
variable.  I'm not quite sure what's the difference between the two,
however, it looks like it might be better to add a boolean parameter to
the paint_core_get_brush_mask function instead of adding a TEXTURE option
to BrushApplicationHardness.  That way, a get_brush_mask call can use any 
of the operations and also optionally apply the current texture to the
mask.

Here's the changes made to supply a textures directory.  The tiles are
available at: http://uts.cc.utexas.edu/~foxx/textures/

For configure.in:

 patterndata=`ls -1 $srcdir/data/patterns | grep -v Makefile`
+texturedata=`ls -1 $srcdir/data/textures | grep -v Makefile`

 patterndata=`echo $patterndata`
+texturedata=`echo $texturedata`

 AC_SUBST(patterndata)
+AC_SUBST(texturedata)

 data/patterns/Makefile
+data/textures/Makefile

----
For data/Makefile.am:

-SUBDIRS = brushes gradients palettes patterns
+SUBDIRS = brushes gradients palettes patterns textures

 patterndata=
+texturedata=

----
For data/brushes, data/gradients, data/palettes, data/patterns:

 patterndata =
+texturedata =
----
New data/textures/Makefile.am:

texturedatadir = $(gimpdatadir)/textures

brushdata =
gradientdata =
palettedata =
patterndata =
texturedata =

texturedata_DATA = @texturedata@

EXTRA_DIST = $(texturedata_DATA)

.PHONY: files

FILES = \
        cloth.pat               \
        heavy_paper.pat         \
        light_paper.pat         \
        medium_paper.pat        \
        tiles.pat


Reply via email to