Move shadow option (for text) from editor/interface to blenfont.
authorDiego Borghetti <bdiego@gmail.com>
Tue, 23 Jun 2009 16:27:35 +0000 (16:27 +0000)
committerDiego Borghetti <bdiego@gmail.com>
Tue, 23 Jun 2009 16:27:35 +0000 (16:27 +0000)
commitcb59bf722e597899c0653777f72bcc85ab476eca
tree1fc9a3f2ed1b1e7e12356191fe1bc93c228d42a3
parenteb22a7b2102cceb432e3545cd342956e92873a49
Move shadow option (for text) from editor/interface to blenfont.

Two new function:
 BLF_shadow: set the level (for blur) and the shadow color.
 BLF_shadow_offset: set the x and y offset for shadow.
 (this is the current position plus offset)

By default shadow is not enable in the font, so before draw the
text you need call BLF_enable(BLF_SHADOW), also remember disable
the option in the end.
source/blender/blenfont/BLF_api.h
source/blender/blenfont/intern/blf.c
source/blender/blenfont/intern/blf_glyph.c
source/blender/blenfont/intern/blf_internal_types.h
source/blender/editors/interface/interface_style.c