|
CTWM
|
#include "ctwm.h"#include "screen.h"#include "gram.tab.h"#include "occupation.h"#include "vscreen.h"#include "drawing.h"Go to the source code of this file.
Macros | |
| #define | FBGC(gc, fix_fore, fix_back) |
Functions | |
| void | Draw3DBorder (Window w, int x, int y, int width, int height, int bw, ColorPair cp, ButtonState state, bool fill, bool forcebw) |
| void | PaintWsButton (PWBType which, VirtualScreen *vs, Window w, char *label, ColorPair cp, ButtonState state) |
| #define FBGC | ( | gc, | |
| fix_fore, | |||
| fix_back ) |
Definition at line 28 of file drawing.c.
Referenced by Draw3DBorder().
| void Draw3DBorder | ( | Window | w, |
| int | x, | ||
| int | y, | ||
| int | width, | ||
| int | height, | ||
| int | bw, | ||
| ColorPair | cp, | ||
| ButtonState | state, | ||
| bool | fill, | ||
| bool | forcebw ) |
Definition at line 34 of file drawing.c.
References ColorPair::back, dpy, FBGC, ColorPair::fore, on, Scr, ColorPair::shadc, ColorPair::shadd, x, and y.
Referenced by Create3DBarImage(), Create3DBoxImage(), Create3DCrossImage(), Create3DDotImage(), Create3DIconifyImage(), Create3DIconManagerIcon(), Create3DMenuAnimation(), Create3DMenuIcon(), Create3DMenuImage(), Create3DResizeAnimation(), Create3DResizeImage(), Create3DSunkenResizeImage(), Create3DVertBarImage(), Create3DZoomAnimation(), Create3DZoomImage(), DisplayPosition(), DisplaySize(), Draw3DCorner(), draw_info_window(), DrawIconManagerBorder(), Paint3DEntry(), PaintBorders(), PaintIcon(), PaintMenu(), PaintOccupyWindow(), PaintTitle(), PaintWorkSpaceManagerBorder(), PaintWsButton(), SetFocusVisualAttributes(), and WMapRedrawWindow().
| void PaintWsButton | ( | PWBType | which, |
| VirtualScreen * | vs, | ||
| Window | w, | ||
| char * | label, | ||
| ColorPair | cp, | ||
| ButtonState | state ) |
Definition at line 153 of file drawing.c.
References ColorPair::back, OccupyWindow::bheight, WorkSpaceWindow::bheight, OccupyWindow::bwidth, WorkSpaceWindow::bwidth, MyFont::descent, dpy, Draw3DBorder(), FB, OccupyWindow::font, MyFont::font_set, ColorPair::fore, OCCUPYBUTTON, OCCUPYWINDOW, off, on, OccupyWindow::owidth, Scr, STYLE_NORMAL, STYLE_STYLE1, STYLE_STYLE2, STYLE_STYLE3, WSPCWINDOW, and VirtualScreen::wsw.
Referenced by GotoWorkSpace(), OccupyHandleButtonEvent(), PaintOccupyWindow(), PaintWorkSpaceManager(), WMgrHandleExposeEvent(), and WMgrHandleKeyPressEvent().