Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/interface/interface_panel.c
| Context not available. | |||||
| ui_panel_category_draw_tab(GL_LINE_STRIP, rct->xmin - px, rct->ymin - px, rct->xmax - px, rct->ymax + px, | ui_panel_category_draw_tab(GL_LINE_STRIP, rct->xmin - px, rct->ymin - px, rct->xmax - px, rct->ymax + px, | ||||
| tab_curve_radius, roundboxtype, true, true, NULL); | tab_curve_radius, roundboxtype, true, true, NULL); | ||||
| /* tab highlight (3d look) */ | /* tab highlight (3d look) */ | ||||
| glShadeModel(GL_SMOOTH); | |||||
| glColor3ubv(is_active ? theme_col_tab_highlight : theme_col_tab_highlight_inactive); | glColor3ubv(is_active ? theme_col_tab_highlight : theme_col_tab_highlight_inactive); | ||||
| ui_panel_category_draw_tab(GL_LINE_STRIP, rct->xmin, rct->ymin, rct->xmax, rct->ymax, | ui_panel_category_draw_tab(GL_LINE_STRIP, rct->xmin, rct->ymin, rct->xmax, rct->ymax, | ||||
| tab_curve_radius, roundboxtype, true, false, | tab_curve_radius, roundboxtype, true, false, | ||||
| is_active ? theme_col_back : theme_col_tab_inactive); | is_active ? theme_col_back : theme_col_tab_inactive); | ||||
| glShadeModel(GL_FLAT); | |||||
| } | } | ||||
| /* tab blackline */ | /* tab blackline */ | ||||
| Context not available. | |||||