1
0
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:
kojima
1999-04-10 18:27:21 +00:00
parent 9df0e16707
commit 4a473b8ad7
19 changed files with 441 additions and 331 deletions

View File

@@ -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);
}

View File

@@ -43,7 +43,7 @@
/****/
#define WVERSION "0.30"
#define WMVERSION "0.51.x"
#define WMVERSION "0.52.x"
typedef struct _Panel Panel;