mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-24 08:05:45 +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);
|
||||
}
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
/****/
|
||||
|
||||
#define WVERSION "0.30"
|
||||
#define WMVERSION "0.51.x"
|
||||
#define WMVERSION "0.52.x"
|
||||
|
||||
|
||||
typedef struct _Panel Panel;
|
||||
|
||||
Reference in New Issue
Block a user