wmclockmon: update change-log
[dockapps.git] / wmcalc / wmcalc_f.h
blob1da6ed116408233185b2a6483d44228e749524fc
1 /* File: wmcalc_f.h
2 * Author: Edward H. Flora <ehflora@access1.net>
3 * Version: 0.2
5 * Description:
6 * This file contains the function prototypes for functional
7 * components of the wmcalc program.
9 * Change History:
10 * Date Modification
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
14 * events
15 * 10/25/00 Original file creation, extracted from wmcalc.h
18 #ifndef WMCALC_F_H
19 #define WMCALC_F_H
21 #include <stdio.h>
22 #include "wmcalc_x.h"
23 #include "wmcalc_t.h"
25 void ExecFunc(int val); /* function to run app N as found in conf file */
26 void redraw(void);
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 */
43 void clearcalc(void);
44 void clearnum(void);
45 void addnums(void);
46 void subtnums(void);
47 void multnums(void);
48 void divnums(void);
49 void chgsignnum(void);
50 void sqrtnum(void);
51 void sqrnum(void);
52 void charkey(char ch);
53 void equalfunc(void);
54 void stormem(int mem_loc);
55 void clrallmem(void);
56 void startcalc(void);
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); */
80 #endif