
// enums.js
// -------

EGlyph =
{
    zero:0,
    one:1,
    two:2,
    three:3,
    four:4,
    five:5,
    six:6,
    seven:7,
    eight:8,
    nine:9,
    blank:10,
    minus:11,
    error:12
}

EAngle = {
    deg:0,
    rad:1,
    gra:2,
    none:3 // For display purposes only
}

EButton = {
    none:0,
    one:1,
    two:2,
    three:3,
    four:4,
    five:5,
    six:6,
    seven:7,
    eight:8,
    nine:9,
    zero:10,
    point:11,    exp:12,      c:13,          ac:14,
    times:15,    divide:16,   plus:17,       minus:18,
    equals:19,   mplus:20,
    shift:21,    mode:22,     plusminus:23,
    eng:24,      log:25,      ln:26,         xtoy:27,
    neng:28,     tentox:29,   etox:30,       xtoooy:31,
    angle:32,    sin:33,      cos:34,        tan:35,
    nangle:36,   nsin:37,     ncos:38,       ntan:39,
    abc:40,      oox:41,      xsquared:42,   sroot:43,
    lbracket:44, rbracket:45, xfactorial:46, croot:47,
    rtop:48,     ptor:49,     xtoy:50,       xtom:51,
    min:52,      mr:53,       convl:54,      convr:55,
    special:56
}

EConstant =
{
    c:0, h:1, G:2, g:3, R:4, e:5, me:6, u:7, epsilon0:8, mu0:9, NA:10, k:11, Vm:12, pi:13
}

EMode =
{
    numberentry:0, shiftpressed:1, modepressed:2, error:3
}

ETarget =
{
    none:0, display:1, exp:2
}

EOp =
{
    display:0, add:1, subtract:2, multiply:3, divide:4
}

