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:
committed by
Carlos R. Mafra
parent
4222204abc
commit
69ff0d72cc
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user