Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/space_file/file_draw.c
| Context not available. | |||||
| static void draw_tile(int sx, int sy, int width, int height, int colorid, int shade) | static void draw_tile(int sx, int sy, int width, int height, int colorid, int shade) | ||||
| { | { | ||||
| UI_ThemeColorShade(colorid, shade); | float color[4]; | ||||
| UI_GetThemeColorShade4fv(colorid, shade, color); | |||||
| UI_draw_roundbox_corner_set(UI_CNR_ALL); | UI_draw_roundbox_corner_set(UI_CNR_ALL); | ||||
| UI_draw_roundbox((float)sx, (float)(sy - height), (float)(sx + width), (float)sy, 5.0f); | UI_draw_roundbox((float)sx, (float)(sy - height), (float)(sx + width), (float)sy, 5.0f, color); | ||||
| } | } | ||||
| Context not available. | |||||