1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-28 09:22:27 +01:00

New function update_icon_pixmap

The new function update_icon_pixmap() updates the pixmap for a icon task.
Now, wIconCreate() creates the image and sets the icon->file and
icon->file_image variables and update_icon_pixmap() updates the icon->pixmap.

This is interesting because we can update the pixmaps without creating the
image again.
This commit is contained in:
Rodolfo García Peñas (kix)
2012-11-03 19:54:05 +01:00
committed by Carlos R. Mafra
parent 6bfb175b19
commit c97bf19079
2 changed files with 6 additions and 0 deletions

View File

@@ -62,6 +62,7 @@ void wIconPaint(WIcon *icon);
void wIconUpdate(WIcon *icon);
void wIconSelect(WIcon *icon);
void wIconChangeTitle(WIcon *icon, char *new_title);
void update_icon_pixmap(WIcon *icon);
Bool wIconChangeImageFile(WIcon *icon, char *file);