mirror of
https://github.com/gryf/wmaker.git
synced 2026-02-19 07:55:48 +01:00
Buttons in filepanel.
This commit is contained in:
@@ -453,21 +453,12 @@ loadPixmaps(WMScreen *scr)
|
||||
RCombineImageWithColor(tmp, &white);
|
||||
scr->altDisketteIcon = WMCreatePixmapFromRImage(scr, tmp, 128);
|
||||
RDestroyImage(tmp);
|
||||
/* mount */
|
||||
tmp = RGetSubImage(image, 0, 80, 24, 24);
|
||||
RCombineImageWithColor(tmp, &white);
|
||||
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);
|
||||
tmp = RGetSubImage(image, 0, 80, 24, 24);
|
||||
RCombineImageWithColor(tmp, &white);
|
||||
scr->unmountIcon = WMCreatePixmapFromRImage(scr, tmp, 128);
|
||||
RDestroyImage(tmp);
|
||||
tmp = RGetSubImage(image, 48, 80, 24, 24);
|
||||
tmp = RGetSubImage(image, 0, 80, 24, 24);
|
||||
RCombineImageWithColor(tmp, &white);
|
||||
scr->altUnmountIcon = WMCreatePixmapFromRImage(scr, tmp, 128);
|
||||
RDestroyImage(tmp);
|
||||
|
||||
Reference in New Issue
Block a user