Preview renders:

- Added proper button type (BUT_EXTRA) for preview buttons, to
  handle drawing better. It now first draws an alpha mask, to 
  ensure the preview is correctly fitting inside the widget style.
  It then draws the outline.
- Added protection for executing preview renders while regular
  rendering, that's not going to work...
This commit is contained in:
2009-06-08 10:00:14 +00:00
parent 9d4ebe1088
commit ca6a8a233b
10 changed files with 82 additions and 22 deletions

View File

@@ -193,6 +193,7 @@ typedef struct uiLayout uiLayout;
#define OPTION (38<<9)
#define OPTIONN (39<<9)
#define SEARCH_MENU (40<<9)
#define BUT_EXTRA (41<<9)
#define BUTTYPE (63<<9)
/* Drawing