mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-11 05:07:00 -04:00
Added 'combine' option to ColorStyle.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1069 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -48,7 +48,7 @@ void ColorValueViewer::draw(RotatedDC& dc) {
|
||||
Image img(alpha_mask->size.x, alpha_mask->size.y);
|
||||
fill_image(img, value().value());
|
||||
alpha_mask->setAlpha(img);
|
||||
dc.DrawImage(img, RealPoint(0,0));
|
||||
dc.DrawImage(img, RealPoint(0,0), style().combine);
|
||||
} else {
|
||||
// do we need clipping?
|
||||
bool clip = style().left_width < style().width && style().right_width < style().width &&
|
||||
|
||||
Reference in New Issue
Block a user