mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-17 14:44:07 +00:00
mask image for x11
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@348 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
@@ -620,7 +620,7 @@ MwLLPixmap MwLoadRaw(MwWidget handle, unsigned char* rgb, int width, int height)
|
||||
|
||||
MwLLFreeColor(bg);
|
||||
|
||||
px = MwLLCreatePixmap(handle->lowlevel, out, width, height);
|
||||
px = MwLLCreatePixmap(handle->lowlevel, rgb, width, height);
|
||||
|
||||
free(out);
|
||||
|
||||
@@ -715,7 +715,7 @@ MwLLPixmap MwLoadXPMEx(MwWidget handle, char** data, unsigned char* bgcolor) {
|
||||
return px;
|
||||
}
|
||||
|
||||
MwLLPixmap MwLoadXPM(MwWidget handle, char** data){
|
||||
MwLLPixmap MwLoadXPM(MwWidget handle, char** data) {
|
||||
unsigned char rgba[4];
|
||||
memset(rgba, 0, 4);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user