Blender Git Loki
Git Commits -> Revision cb59bf7
Revision cb59bf7 by Diego Borghetti (master) June 23, 2009, 16:27 (GMT) |
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. |
Commit Details:
Full Hash: cb59bf722e597899c0653777f72bcc85ab476eca
SVN Revision: 21108
Parent Commit: eb22a7b
Lines Changed: +91, -21
5 Modified Paths:
/source/blender/blenfont/BLF_api.h (+16, -0) (Diff)
/source/blender/blenfont/intern/blf.c (+25, -0) (Diff)
/source/blender/blenfont/intern/blf_glyph.c (+31, -0) (Diff)
/source/blender/blenfont/intern/blf_internal_types.h (+10, -0) (Diff)
/source/blender/editors/interface/interface_style.c (+9, -21) (Diff)
/source/blender/blenfont/intern/blf.c (+25, -0) (Diff)
/source/blender/blenfont/intern/blf_glyph.c (+31, -0) (Diff)
/source/blender/blenfont/intern/blf_internal_types.h (+10, -0) (Diff)
/source/blender/editors/interface/interface_style.c (+9, -21) (Diff)