CTWM
Loading...
Searching...
No Matches
Functions | Variables
/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()

void BumpWindowColormap ( TwmWindow * tmp,
int inc )

Definition at line 496 of file colormaps.c.

References ColormapsScoreboardLength, FetchWmColormapWindows(), InstallColormaps(), PlaceX, and Scr.

Referenced by f_colormap_impl().

◆ CreateColormapWindow()

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

Definition at line 274 of file colormaps.c.

References ColormapContext, CreateTwmColormap(), dpy, and PlaceX.

Referenced by ctwm_main(), and FetchWmColormapWindows().

◆ CreateTwmColormap()

TwmColormap * CreateTwmColormap ( Colormap c)

Definition at line 246 of file colormaps.c.

References ColormapContext, dpy, and PlaceX.

Referenced by CreateColormapWindow(), and HandleColormapNotify().

◆ FetchWmColormapWindows()

void FetchWmColormapWindows ( TwmWindow * tmp)

◆ free_cwins()

void free_cwins ( TwmWindow * tmp)

Definition at line 676 of file colormaps.c.

References ColormapContext, dpy, and PlaceX.

Referenced by FetchWmColormapWindows(), and HandleDestroyNotify().

◆ InsertRGBColormap()

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

Definition at line 555 of file colormaps.c.

References PlaceX, ProgramName, and Scr.

Referenced by HandlePropertyNotify(), and LocateStandardColormaps().

◆ InstallColormaps()

bool InstallColormaps ( int type,
Colormaps * cmaps )

◆ InstallRootColormap()

void InstallRootColormap ( void )

Definition at line 173 of file colormaps.c.

References InstallColormaps(), PlaceX, 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 InstallColormaps(), and PlaceX.

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

◆ LocateStandardColormaps()

void LocateStandardColormaps ( void )

Definition at line 647 of file colormaps.c.

References dpy, InsertRGBColormap(), PlaceX, and Scr.

Referenced by ctwm_main().

◆ RemoveRGBColormap()

void RemoveRGBColormap ( Atom a)

Definition at line 605 of file colormaps.c.

References StdCmap::next, PlaceX, and Scr.

Referenced by HandlePropertyNotify().

◆ UninstallRootColormap()

void UninstallRootColormap ( void )

◆ UninstallRootColormapQScanner()

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

Definition at line 192 of file colormaps.c.

References PlaceX.

Referenced by UninstallRootColormap().

Variable Documentation

◆ ColortableThrashing

bool ColortableThrashing
extern

Definition at line 90 of file event_core.c.

Referenced by HandleColormapNotify(), and InstallColormaps().