mirror of
https://github.com/gryf/wmaker.git
synced 2026-11-21 06:27:03 +01:00
*** empty log message ***
This commit is contained in:
1 parent
9df0e16707
commit
4a473b8ad7
19 files changed
+441
-331
No files matched your search
@@ -613,13 +613,15 @@ updateImage(TexturePanel *panel, char *path)
|
||||
}
|
||||
|
||||
if (WMGetPopUpButtonSelectedItem(panel->typeP) == TYPE_PIXMAP) {
|
||||
pixmap = WMCreatePixmapFromRImage(scr, image, 128);
|
||||
if (image) {
|
||||
pixmap = WMCreatePixmapFromRImage(scr, image, 128);
|
||||
|
||||
size = WMGetPixmapSize(pixmap);
|
||||
WMSetLabelImage(panel->imageL, pixmap);
|
||||
WMResizeWidget(panel->imageL, size.width, size.height);
|
||||
size = WMGetPixmapSize(pixmap);
|
||||
WMSetLabelImage(panel->imageL, pixmap);
|
||||
WMResizeWidget(panel->imageL, size.width, size.height);
|
||||
|
||||
WMReleasePixmap(pixmap);
|
||||
WMReleasePixmap(pixmap);
|
||||
}
|
||||
} else {
|
||||
updateTGradImage(panel);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user