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-26 23:19:39 +00:00
committed by Carlos R. Mafra
parent 4222204abc
commit 69ff0d72cc
2 changed files with 9 additions and 3 deletions
+1
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);