Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/interface/interface_widgets.c
| Context not available. | |||||
| color[3] = 0.5f; | color[3] = 0.5f; | ||||
| } | } | ||||
| color[3] *= 0.125f; | color[3] *= 0.125f; | ||||
| glColor4fv(color); | |||||
| for (j = 0; j < WIDGET_AA_JITTER; j++) { | for (j = 0; j < WIDGET_AA_JITTER; j++) { | ||||
| glTranslate2fv(jit[j]); | glTranslate2fv(jit[j]); | ||||
| UI_draw_roundbox_gl_mode(mode, minx, miny, maxx, maxy, rad); | UI_draw_roundbox_gl_mode(mode, minx, miny, maxx, maxy, rad, immMakeAttrib4ub(color[0]*255, color[1]*255, color[2]*255, color[3]*255)); | ||||
| glTranslatef(-jit[j][0], -jit[j][1], 0.0f); | glTranslatef(-jit[j][0], -jit[j][1], 0.0f); | ||||
| } | } | ||||
| Context not available. | |||||