Cleanup of Rounded Theme;

- pixel aligned clean AntiAliased outlines
- menu decoration integrated

And a fix for not drawing menu menubuttons pressed when clicking
This commit is contained in:
2004-10-04 12:37:16 +00:00
parent 086ab43712
commit 2324dc7a37
2 changed files with 61 additions and 61 deletions

View File

@@ -939,6 +939,7 @@ static int ui_do_but_MENU(uiBut *but)
but->flag |= UI_SELECT;
ui_draw_but(but);
ui_block_flush_back(but->block); // flush because this button creates own blocks loop
block= uiNewBlock(&listb, "menu", UI_EMBOSSP, UI_HELV, but->win);
block->flag= UI_BLOCK_LOOP|UI_BLOCK_REDRAW|UI_BLOCK_NUMSELECT;
@@ -1660,6 +1661,7 @@ static int ui_do_but_ICONROW(uiBut *but)
but->flag |= UI_SELECT;
ui_draw_but(but);
ui_block_flush_back(but->block); // flush because this button creates own blocks loop
/* here we go! */
block= uiNewBlock(&listb, "menu", UI_EMBOSSP, UI_HELV, but->win);
@@ -1694,6 +1696,7 @@ static int ui_do_but_ICONTEXTROW(uiBut *but)
but->flag |= UI_SELECT;
ui_draw_but(but);
ui_block_flush_back(but->block); // flush because this button creates own blocks loop
block= uiNewBlock(&listb, "menu", UI_EMBOSSP, UI_HELV, but->win);
block->flag= UI_BLOCK_LOOP|UI_BLOCK_REDRAW|UI_BLOCK_NUMSELECT;