1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-21 05:18:06 +01:00

Added wGetColorForColormap().

Abstract the wGetColor() function to operate on any colormap not just
the screen colormap.
This commit is contained in:
Iain Patterson
2013-03-25 21:28:21 +00:00
committed by Carlos R. Mafra
parent 4222204abc
commit 69ff0d72cc
2 changed files with 9 additions and 3 deletions

View File

@@ -21,6 +21,7 @@
#ifndef WMRESOURCES_H_
#define WMRESOURCES_H_
int wGetColorForColormap(Colormap colormap, char *color_name, XColor *color);
int wGetColor(WScreen *scr, char *color_name, XColor *color);
void wFreeColor(WScreen *scr, unsigned long pixel);