CTWM
Loading...
Searching...
No Matches
/usr/src/RPM/BUILD/ctwm-4.1.0/colormaps.c File Reference
#include "ctwm.h"
#include <stdio.h>
#include <stdlib.h>
#include "colormaps.h"
#include "screen.h"
Include dependency graph for colormaps.c:

Go to the source code of this file.

Functions

static Bool UninstallRootColormapQScanner (Display *display, XEvent *ev, char *args)
bool InstallWindowColormaps (int type, TwmWindow *tmp)
bool InstallColormaps (int type, Colormaps *cmaps)
void InstallRootColormap (void)
void UninstallRootColormap (void)
TwmColormapCreateTwmColormap (Colormap c)
ColormapWindowCreateColormapWindow (Window w, bool creating_parent, bool property_window)
void FetchWmColormapWindows (TwmWindow *tmp)
void BumpWindowColormap (TwmWindow *tmp, int inc)
void InsertRGBColormap (Atom a, XStandardColormap *maps, int nmaps, bool replace)
void RemoveRGBColormap (Atom a)
void LocateStandardColormaps (void)
void free_cwins (TwmWindow *tmp)

Variables

bool ColortableThrashing

Function Documentation

◆ BumpWindowColormap()

◆ CreateColormapWindow()

ColormapWindow * CreateColormapWindow ( Window w,
bool creating_parent,
bool property_window )

◆ CreateTwmColormap()

◆ FetchWmColormapWindows()

◆ free_cwins()

◆ InsertRGBColormap()

void InsertRGBColormap ( Atom a,
XStandardColormap * maps,
int nmaps,
bool replace )

◆ InstallColormaps()

◆ InstallRootColormap()

void InstallRootColormap ( void )

Definition at line 173 of file colormaps.c.

References InstallColormaps(), and Scr.

Referenced by AddWindow(), movewindow(), PopUpMenu(), and StartResize().

◆ InstallWindowColormaps()

bool InstallWindowColormaps ( int type,
TwmWindow * tmp )

Definition at line 39 of file colormaps.c.

References TwmWindow::cmaps, and InstallColormaps().

Referenced by f_focus_impl(), HandleEnterNotify(), and HandleVisibilityNotify().

◆ LocateStandardColormaps()

void LocateStandardColormaps ( void )

Definition at line 647 of file colormaps.c.

References dpy, InsertRGBColormap(), and Scr.

Referenced by ctwm_main().

◆ RemoveRGBColormap()

void RemoveRGBColormap ( Atom a)

Definition at line 605 of file colormaps.c.

References StdCmap::atom, StdCmap::maps, StdCmap::next, and Scr.

Referenced by HandlePropertyNotify().

◆ UninstallRootColormap()

void UninstallRootColormap ( void )

◆ UninstallRootColormapQScanner()

Bool UninstallRootColormapQScanner ( Display * display,
XEvent * ev,
char * args )
static

Definition at line 192 of file colormaps.c.

Referenced by UninstallRootColormap().

Variable Documentation

◆ ColortableThrashing

bool ColortableThrashing
extern

Definition at line 90 of file event_core.c.

Referenced by HandleColormapNotify(), HandleEvents(), and InstallColormaps().