2015-01-10 16:59:41 +00:00
|
|
|
/* File: wmcalc_c.h
|
|
|
|
* Author: Edward H. Flora <ehflora@access1.net>
|
|
|
|
* Version: 0.2
|
|
|
|
*
|
|
|
|
* Description:
|
2015-01-10 16:59:48 +00:00
|
|
|
* This file contains the constants settings for the wmcalc program,
|
2015-01-10 16:59:41 +00:00
|
|
|
* except for the error constants, which are contained in the file wmcalc_err.h
|
|
|
|
*
|
|
|
|
* Change History:
|
|
|
|
* Date Modification
|
|
|
|
* 10/25/00 Original file creation, extracted from wmcalc.h
|
|
|
|
*/
|
|
|
|
#ifndef WMCALC_C_H
|
|
|
|
#define WMCALC_C_H
|
|
|
|
|
|
|
|
#define CONFIGFILEMAX 128
|
|
|
|
#define CALC_CMD_SIZE 128
|
|
|
|
#define CONFFILENAME "/.wmcalc"
|
|
|
|
#define CONFTEMPFILE "/tmp/wmcalc.tmp"
|
2015-01-10 16:59:52 +00:00
|
|
|
#define CONFIGGLOBAL CONF"/wmcalc.conf"
|
2015-01-10 16:59:41 +00:00
|
|
|
#define VER 0
|
2015-01-10 16:59:55 +00:00
|
|
|
#define REL 5
|
2015-01-10 16:59:41 +00:00
|
|
|
|
|
|
|
#define LMASK 100
|
|
|
|
#define MMASK 200
|
|
|
|
#define RMASK 300
|
|
|
|
|
2015-01-10 16:59:54 +00:00
|
|
|
#define CALCDONE 20 /* Anything >= 10 should work */
|
|
|
|
#define DISPSIZE 10 /* Number of characters in display */
|
2015-01-10 16:59:41 +00:00
|
|
|
#define NUM_BUTTONS 21
|
|
|
|
#define NUM_MEM_CELLS 10
|
|
|
|
|
|
|
|
#define APP_WIDTH 64
|
|
|
|
#define APP_HEIGHT 64
|
|
|
|
|
|
|
|
#define NO_BUTTON -1
|
|
|
|
|
|
|
|
#endif
|