File: wmcalc_c.h

package info (click to toggle)
wmcalc 0.7-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 536 kB
  • sloc: ansic: 1,539; sh: 1,232; makefile: 16
file content (36 lines) | stat: -rw-r--r-- 939 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/*  File:     wmcalc_c.h
 *  Author:   Edward H. Flora <ehflora@access1.net>
 *  Version:  0.2
 *
 *  Description:
 *  This file contains the constants settings for the wmcalc program,
 *  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"
#define CONFIGGLOBAL  CONF"/wmcalc.conf"

#define LMASK         100
#define MMASK         200
#define RMASK         300

#define CALCDONE      20        /* Anything >= 10 should work */
#define DISPSIZE      10        /* Number of characters in display */
#define NUM_BUTTONS   21
#define NUM_MEM_CELLS 10

#define APP_WIDTH     64
#define APP_HEIGHT    64

#define NO_BUTTON     -1

#endif