today I added the so called TextureSourceDecorators.
In the example below actually a implementation of the a abstract class TextureSourceDecorators called OutlineTextureSourceDecorator i used. What this class does it to draw a 1px colored line to the edge of the Texture right before it is sent to the GPU.
While I think this is primarily useful for debugging purposes as you can influence the appearance of Textures through code.
I can also think of some useful things to do with it, like add some color-highlight to a sprite. For example think of a RTS (Real-Time-Strategdy) game where the tanks have a little team-color-indicator or so. So you wouldn't have to put tank-sprites in all possible team-colors into your project.
Code-wise this is very simple. Where you had sth like this before:
You'd now do this:
Changeset: http://code.google.com/p/andengine/sour ... 78bf768aee