diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-06-06 13:12:03 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-06-06 13:12:03 +0400 |
commit | 6a1e74418ce0cb19bea51354a46ec77f73f4eb8b (patch) | |
tree | 75ea4b8d146ecfcdd934e30061559d23b58d4ac8 /source/blender/editors/interface/interface_intern.h | |
parent | 2f5c7623b08027a7bb0d433333ad62c787c05cbf (diff) |
use the same stippled drawing for colorband background as alpha color swatches, with low DPI would look squashed, also use the same colors for both.
Diffstat (limited to 'source/blender/editors/interface/interface_intern.h')
-rw-r--r-- | source/blender/editors/interface/interface_intern.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/editors/interface/interface_intern.h b/source/blender/editors/interface/interface_intern.h index 3f3665aae38..8475090b468 100644 --- a/source/blender/editors/interface/interface_intern.h +++ b/source/blender/editors/interface/interface_intern.h @@ -486,6 +486,11 @@ void ui_widget_color_init(struct ThemeUI *tui); void ui_draw_menu_item(struct uiFontStyle *fstyle, rcti *rect, const char *name, int iconid, int state); void ui_draw_preview_item(struct uiFontStyle *fstyle, rcti *rect, const char *name, int iconid, int state); +extern unsigned char checker_stipple_sml[]; +/* used for transp checkers */ +#define UI_TRANSP_DARK 100 +#define UI_TRANSP_LIGHT 160 + /* interface_style.c */ void uiStyleInit(void); |