diff options
Diffstat (limited to 'source/blender/editors/interface/interface_draw.c')
-rw-r--r-- | source/blender/editors/interface/interface_draw.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/source/blender/editors/interface/interface_draw.c b/source/blender/editors/interface/interface_draw.c index 8dba795d2cf..153db7aa77d 100644 --- a/source/blender/editors/interface/interface_draw.c +++ b/source/blender/editors/interface/interface_draw.c @@ -656,7 +656,7 @@ static void ui_draw_but_CHARTAB(uiBut *but) /* resets the font size */ if(G.ui_international == TRUE) { - uiSetCurFont(but->block, UI_HELV); + // uiSetCurFont(but->block, UI_HELV); } } @@ -1040,18 +1040,6 @@ void ui_draw_but_CURVE(ARegion *ar, uiBut *but, rcti *rect) } -void ui_draw_roundbox(uiBut *but) -{ - glEnable(GL_BLEND); - - UI_ThemeColorShadeAlpha(but->themecol, but->a2, but->a2); - - uiSetRoundBox(but->a1); - gl_round_box(GL_POLYGON, but->x1, but->y1, but->x2, but->y2, but->hardmin); - - glDisable(GL_BLEND); -} - /* ****************************************************** */ |