|
CTWM
|
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) |
| TwmColormap * | CreateTwmColormap (Colormap c) |
| ColormapWindow * | CreateColormapWindow (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 |
| void BumpWindowColormap | ( | TwmWindow * | tmp, |
| int | inc ) |
Definition at line 496 of file colormaps.c.
References TwmWindow::cmaps, ColormapWindow::colormap, ColormapsScoreboardLength, Colormaps::cwins, FetchWmColormapWindows(), InstallColormaps(), Colormaps::number_cwins, Colormaps::scoreboard, Scr, and TwmColormap::state.
Referenced by f_colormap_impl().
| ColormapWindow * CreateColormapWindow | ( | Window | w, |
| bool | creating_parent, | ||
| bool | property_window ) |
Definition at line 274 of file colormaps.c.
References ColormapWindow::colormap, ColormapContext, CreateTwmColormap(), dpy, ColormapWindow::refcnt, TwmColormap::refcnt, ColormapWindow::visibility, and ColormapWindow::w.
Referenced by ctwm_main(), and FetchWmColormapWindows().
| TwmColormap * CreateTwmColormap | ( | Colormap | c | ) |
Definition at line 246 of file colormaps.c.
References TwmColormap::c, ColormapContext, dpy, TwmColormap::install_req, TwmColormap::refcnt, TwmColormap::state, and TwmColormap::w.
Referenced by CreateColormapWindow(), and HandleColormapNotify().
| void FetchWmColormapWindows | ( | TwmWindow * | tmp | ) |
Definition at line 354 of file colormaps.c.
References TwmWindow::cmaps, ColormapWindow::colormap, ColormapContext, ColormapsScoreboardLength, CreateColormapWindow(), Colormaps::cwins, dpy, free_cwins(), InstallColormaps(), Colormaps::number_cwins, ProgramName, ColormapWindow::refcnt, Colormaps::scoreboard, Scr, TwmColormap::state, ColormapWindow::w, and TwmWindow::w.
Referenced by AddWindow(), BumpWindowColormap(), and HandlePropertyNotify().
| void free_cwins | ( | TwmWindow * | tmp | ) |
Definition at line 676 of file colormaps.c.
References TwmColormap::c, TwmWindow::cmaps, ColormapWindow::colormap, ColormapContext, Colormaps::cwins, dpy, Colormaps::number_cwins, ColormapWindow::refcnt, TwmColormap::refcnt, Colormaps::scoreboard, and ColormapWindow::w.
Referenced by FetchWmColormapWindows(), and HandleDestroyNotify().
| void InsertRGBColormap | ( | Atom | a, |
| XStandardColormap * | maps, | ||
| int | nmaps, | ||
| bool | replace ) |
Definition at line 555 of file colormaps.c.
References StdCmap::atom, StdCmap::maps, StdCmap::next, StdCmap::nmaps, ProgramName, and Scr.
Referenced by HandlePropertyNotify(), and LocateStandardColormaps().
| bool InstallColormaps | ( | int | type, |
| Colormaps * | cmaps ) |
Definition at line 51 of file colormaps.c.
References TwmColormap::c, CM_INSTALL, CM_INSTALLABLE, CM_INSTALLED, ColormapWindow::colormap, ColortableThrashing, dpy, TwmColormap::install_req, Scr, TwmColormap::state, ColormapWindow::visibility, ColormapWindow::w, and TwmColormap::w.
Referenced by BumpWindowColormap(), ctwm_main(), FetchWmColormapWindows(), FocusOnRoot(), HandleColormapNotify(), HandleDestroyNotify(), HandleEnterNotify(), HandleEvents(), HandleLeaveNotify(), InstallRootColormap(), InstallWindowColormaps(), RestoreForShutdown(), and UninstallRootColormap().
| void InstallRootColormap | ( | void | ) |
Definition at line 173 of file colormaps.c.
References InstallColormaps(), and Scr.
Referenced by AddWindow(), movewindow(), PopUpMenu(), and StartResize().
| 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().
| void LocateStandardColormaps | ( | void | ) |
Definition at line 647 of file colormaps.c.
References dpy, InsertRGBColormap(), and Scr.
Referenced by ctwm_main().
| void RemoveRGBColormap | ( | Atom | a | ) |
Definition at line 605 of file colormaps.c.
References StdCmap::atom, StdCmap::maps, StdCmap::next, and Scr.
Referenced by HandlePropertyNotify().
| void UninstallRootColormap | ( | void | ) |
Definition at line 213 of file colormaps.c.
References dpy, InstallColormaps(), Scr, and UninstallRootColormapQScanner().
Referenced by AddWindow(), EndResize(), HandleButtonPress(), HandleButtonRelease(), HandleEnterNotify(), movewindow(), and PopDownMenu().
|
static |
Definition at line 192 of file colormaps.c.
Referenced by UninstallRootColormap().
|
extern |
Definition at line 90 of file event_core.c.
Referenced by HandleColormapNotify(), HandleEvents(), and InstallColormaps().