2 * Author: Edward H. Flora <ehflora@access1.net>
6 * This file contains the function prototypes for functional
7 * components of the wmcalc program.
11 * 01/17/01 Updated whichKey() function to take a KeySym
12 * 11/09/00 Removed function clrmem() as this was merged into clrallmem()
13 * Also add function whichKey, in wmcalc.c to handle Keyboard
15 * 10/25/00 Original file creation, extracted from wmcalc.h
25 void ExecFunc(int val
); // function to run app N as found in conf file
27 void getPixmaps(void);
28 int whichButton(int x
, int y
); // determine which button has been pressed
29 int whichKey(KeySym keysym
); // determine which key has been pressed
30 int flush_expose(Window w
);
31 void show_usage(void); // show usage message to stderr
32 char *readln(FILE *fp
); // read line from file, return pointer to it
33 void defineButtonRegions(void); // Define boundaries for each button
34 void displaystr(void);
35 void displaychar(char ch
, int location
);
36 ButtonArea
getboundaries(char ch
);
37 int read_config(void);
38 int write_config(void);
39 void error_handler(int err_code
, char *err_string
);
41 /* Calculator Specific functions */
49 void chgsignnum(void);
52 void charkey(char ch
);
54 void stormem(int mem_loc
);
57 void recallmem(int mem_loc
);
59 /* Future functions yet to be implemented */
61 //void scinotation(void);
62 //void clearmem(void);
63 //void userdef201(void);
64 //void userdef205(void);
65 //void userdef206(void);
66 //void userdef210(void);
67 //void userdef211(void);
68 //void userdef215(void);
69 //void userdef218(void);
70 //void userdef220(void);
71 //void userdef301(void);
72 //void userdef305(void);
73 //void userdef306(void);
74 //void userdef310(void);
75 //void userdef315(void);
76 //void userdef318(void);
77 //void userdef320(void);