wmclockmon: update change-log
[dockapps.git] / wmcalc / wmcalc_g.h
blob28943865e439f792d13935a83338dba196a01c99
1 /* File: wmcalc_g.h
2 * Author: Edward H. Flora <ehflora@access1.net>
3 * Version: 0.2
5 * Description:
6 * This file contains the global variables used by the wmcalc program.
8 * Change History:
9 * Date Modification
10 * 10/25/00 Original file creation, extracted from wmcalc.h
11 * 11/05/00 Added MemLock global array for locking values into Memory
12 * 11/05/00 Added Entries for "Locked" memory values in config CfgVarList
15 #ifndef WMCALC_G_H
16 #define WMCALC_G_H
18 #include "wmcalc_x.h"
19 #include "wmcalc_c.h"
22 /* X11 Globals */
23 Display *display;
24 int screen;
25 Window rootwin, win, iconwin;
26 GC gc;
27 int depth;
28 Pixel bg_pixel, fg_pixel;
30 XSizeHints xsizehints;
31 XWMHints *xwmhints;
32 XClassHint xclasshint;
33 char configfile[CONFIGFILEMAX];
34 char tempfile[CONFIGFILEMAX];
36 Pixmap pixmask;
38 ButtonArea dispchar;
39 XpmIcon template, visible, buttons, charmap;
42 /* Configuration File Information */
43 char *CfgVarList[MAX_LABEL] = {"Mem0",
44 "Mem1",
45 "Mem2",
46 "Mem3",
47 "Mem4",
48 "Mem5",
49 "Mem6",
50 "Mem7",
51 "Mem8",
52 "Mem9",
53 "MEM0",
54 "MEM1",
55 "MEM2",
56 "MEM3",
57 "MEM4",
58 "MEM5",
59 "MEM6",
60 "MEM7",
61 "MEM8",
62 "MEM9",
63 "ImagChar",
64 "CalcStart"};
66 char ImagChar = 'j';
67 char SysCalcCmd[CALC_CMD_SIZE] = "xcalc &";
70 double MemArray[NUM_MEM_CELLS];
71 int MemLock [NUM_MEM_CELLS];
73 #endif