1/*
2 * Colormap handling funcs
3 */
4#ifndef _CTWM_COLORMAPS_H
5#define _CTWM_COLORMAPS_H
6
7
8bool InstallWindowColormaps(int type, TwmWindow *tmp);
9bool InstallColormaps(int type, Colormaps *cmaps);
10void InstallRootColormap(void);
11void UninstallRootColormap(void);
12
13TwmColormap *CreateTwmColormap(Colormap c);
14ColormapWindow *CreateColormapWindow(Window w, bool creating_parent,
15                                     bool property_window);
16void FetchWmColormapWindows(TwmWindow *tmp);
17
18void BumpWindowColormap(TwmWindow *tmp, int inc);
19
20void InsertRGBColormap(Atom a, XStandardColormap *maps, int nmaps,
21                       bool replace);
22void RemoveRGBColormap(Atom a);
23void LocateStandardColormaps(void);
24
25void free_cwins(TwmWindow *tmp);
26
27#endif /* _CTWM_COLORMAPS_H */
28