Ecere Software
/
sdk
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d82a8f9
)
ide/PictureEdit: Improved viewing alpha blended PNGs
author
Jerome St-Louis
<jerome@ecere.com>
Thu, 24 Apr 2014 04:46:47 +0000
(
00:46
-0400)
committer
Jerome St-Louis
<jerome@ecere.com>
Thu, 24 Apr 2014 04:46:47 +0000
(
00:46
-0400)
ide/src/documents/PictureEdit.ec
patch
|
blob
|
history
diff --git
a/ide/src/documents/PictureEdit.ec
b/ide/src/documents/PictureEdit.ec
index
4957f35
..
400129f
100644
(file)
--- a/
ide/src/documents/PictureEdit.ec
+++ b/
ide/src/documents/PictureEdit.ec
@@
-135,8
+135,10
@@
class PictureEdit : Window
if(bitmap.Load(fileName, null, null))
{
if(bitmap.pixelFormat == pixelFormatRGBA)
+ {
+ bitmap.alphaBlend = true;
bitmap.Convert(null, pixelFormat888, null);
-
+ }
//if(!eWindow_GetStartWidth(window) || !eWindow_GetStartHeight(window))
{
Size size = initSize; // what's the use of retrieving initSize