mirror of
https://github.com/gryf/wmaker.git
synced 2026-02-14 12:55:47 +01:00
New images and new buttons on wmfile.
This commit is contained in:
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@@ -427,28 +427,49 @@ loadPixmaps(WMScreen *scr)
|
|||||||
RDestroyImage(tmp);
|
RDestroyImage(tmp);
|
||||||
|
|
||||||
/* trash can */
|
/* trash can */
|
||||||
tmp = RGetSubImage(image, 105, 0, 24, 24);
|
tmp = RGetSubImage(image, 104, 0, 24, 24);
|
||||||
RCombineImageWithColor(tmp, &white);
|
RCombineImageWithColor(tmp, &white);
|
||||||
scr->trashcanIcon = WMCreatePixmapFromRImage(scr, tmp, 128);
|
scr->trashcanIcon = WMCreatePixmapFromRImage(scr, tmp, 128);
|
||||||
RDestroyImage(tmp);
|
RDestroyImage(tmp);
|
||||||
tmp = RGetSubImage(image, 105, 0, 24, 24);
|
tmp = RGetSubImage(image, 104, 0, 24, 24);
|
||||||
RCombineImageWithColor(tmp, &white);
|
RCombineImageWithColor(tmp, &white);
|
||||||
scr->altTrashcanIcon = WMCreatePixmapFromRImage(scr, tmp, 128);
|
scr->altTrashcanIcon = WMCreatePixmapFromRImage(scr, tmp, 128);
|
||||||
RDestroyImage(tmp);
|
RDestroyImage(tmp);
|
||||||
/* diskette */
|
/* create dir */
|
||||||
tmp = RGetSubImage(image, 105, 25, 24, 24);
|
tmp = RGetSubImage(image, 104, 24, 24, 24);
|
||||||
|
RCombineImageWithColor(tmp, &white);
|
||||||
|
scr->createDirIcon = WMCreatePixmapFromRImage(scr, tmp, 128);
|
||||||
|
RDestroyImage(tmp);
|
||||||
|
tmp = RGetSubImage(image, 104, 24, 24, 24);
|
||||||
|
RCombineImageWithColor(tmp, &white);
|
||||||
|
scr->altCreateDirIcon = WMCreatePixmapFromRImage(scr, tmp, 128);
|
||||||
|
RDestroyImage(tmp);
|
||||||
|
/* diskettes */
|
||||||
|
tmp = RGetSubImage(image, 24, 80, 24, 24);
|
||||||
RCombineImageWithColor(tmp, &white);
|
RCombineImageWithColor(tmp, &white);
|
||||||
scr->disketteIcon = WMCreatePixmapFromRImage(scr, tmp, 128);
|
scr->disketteIcon = WMCreatePixmapFromRImage(scr, tmp, 128);
|
||||||
RDestroyImage(tmp);
|
RDestroyImage(tmp);
|
||||||
tmp = RGetSubImage(image, 105, 25, 24, 24);
|
tmp = RGetSubImage(image, 24, 80, 24, 24);
|
||||||
RCombineImageWithColor(tmp, &white);
|
RCombineImageWithColor(tmp, &white);
|
||||||
scr->altDisketteIcon = WMCreatePixmapFromRImage(scr, tmp, 128);
|
scr->altDisketteIcon = WMCreatePixmapFromRImage(scr, tmp, 128);
|
||||||
RDestroyImage(tmp);
|
RDestroyImage(tmp);
|
||||||
|
/* mount */
|
||||||
|
tmp = RGetSubImage(image, 0, 80, 24, 24);
|
||||||
tmp = RGetSubImage(image, 0, 0, 24, 24);
|
|
||||||
RCombineImageWithColor(tmp, &white);
|
RCombineImageWithColor(tmp, &white);
|
||||||
scr->altHomeIcon = WMCreatePixmapFromRImage(scr, tmp, 128);
|
scr->mountIcon = WMCreatePixmapFromRImage(scr, tmp, 128);
|
||||||
|
RDestroyImage(tmp);
|
||||||
|
tmp = RGetSubImage(image, 0, 80, 24, 24);
|
||||||
|
RCombineImageWithColor(tmp, &white);
|
||||||
|
scr->altMountIcon = WMCreatePixmapFromRImage(scr, tmp, 128);
|
||||||
|
RDestroyImage(tmp);
|
||||||
|
/* unmount */
|
||||||
|
tmp = RGetSubImage(image, 48, 80, 24, 24);
|
||||||
|
RCombineImageWithColor(tmp, &white);
|
||||||
|
scr->unmountIcon = WMCreatePixmapFromRImage(scr, tmp, 128);
|
||||||
|
RDestroyImage(tmp);
|
||||||
|
tmp = RGetSubImage(image, 48, 80, 24, 24);
|
||||||
|
RCombineImageWithColor(tmp, &white);
|
||||||
|
scr->altUnmountIcon = WMCreatePixmapFromRImage(scr, tmp, 128);
|
||||||
RDestroyImage(tmp);
|
RDestroyImage(tmp);
|
||||||
|
|
||||||
/* Magnifying Glass Icon for ColorPanel */
|
/* Magnifying Glass Icon for ColorPanel */
|
||||||
|
|||||||
Reference in New Issue
Block a user