Blender Git Loki

Git Commits -> Revision 4935e24

Revision 4935e24 by Mike Erwin (master)
February 1, 2017, 21:44 (GMT)
BLF can use Theme colors

For anything fancier than regular Theme colors (shading, alpha, etc.) do this:

unsigned char color[4]
UI_GetThemeColor[Fancy]4ubv(... color)
BLF_color4ubv(fontid, color)

That way the BLF color API stays simple.

Commit Details:

Full Hash: 4935e2449b2c0d52eb27f4889533d72c8e12df94
Parent Commit: 7493a2b
Lines Changed: +12, -1

2 Modified Paths:

/source/blender/blenfont/BLF_api.h (+1, -0) (Diff)
/source/blender/blenfont/intern/blf.c (+11, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021