Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/interface/interface_style.c
| Context not available. | |||||
| const float margin = height / 4.0f; | const float margin = height / 4.0f; | ||||
| /* backdrop */ | /* backdrop */ | ||||
| glColor4ubv(bg); | |||||
| UI_draw_roundbox_corner_set(UI_CNR_ALL | UI_RB_ALPHA); | UI_draw_roundbox_corner_set(UI_CNR_ALL | UI_RB_ALPHA); | ||||
| UI_draw_roundbox( | UI_draw_roundbox( | ||||
| Context not available. | |||||
| (y + decent) - margin, | (y + decent) - margin, | ||||
| x + width + margin, | x + width + margin, | ||||
| (y + decent) + height + margin, | (y + decent) + height + margin, | ||||
| margin); | margin, bg); | ||||
| glColor4ubv(fg); | glColor4ubv(fg); | ||||
| } | } | ||||
| Context not available. | |||||