mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-22 14:08:06 +01:00
*** empty log message ***
This commit is contained in:
@@ -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