summaryrefslogtreecommitdiff
path: root/math/grpn/patches/patch-al
blob: 673cc221200bc74f59a20cee23709993ca5ab1e7 (plain)
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
$NetBSD: patch-al,v 1.3 2011/06/09 17:01:39 drochner Exp $

--- button_def.c.orig	2011-05-10 16:58:46.000000000 +0000
+++ button_def.c
@@ -36,6 +36,16 @@ extern void cmodeCmdCB(GtkWidget *, gpoi
 extern void radixCmdCB(GtkWidget *, gpointer);
 
 FuncInfo invisible1[] = {
+   { "k", "k", "Boltzmann's constant (Joules/Kelvin).",
+      genericButtonCB, (void *)BoltzmannStack },
+   { "q", "q", "Electron Charge (coulomb).",
+      genericButtonCB, (void *)ChargeStack },
+   { "e0", "e0", "Free space permitivitty (Farads/meter).",
+      genericButtonCB, (void *)E0Stack },
+   { "mu0", "mu0", "Free space permeability (Henries/meter).",
+      genericButtonCB, (void *)Mu0Stack },
+   { "c", "c", "Free space speed of light (meters/second).",
+      genericButtonCB, (void *)LightSpeedStack },
    { "Modulo", "mod", "Remainder of division.",
       genericButtonCB, (void *)ModStack },
    { "Hex", "hex", "Hexidecimal display mode.",
@@ -155,7 +165,7 @@ struct RowInfo rowinf[] = {
    { 8, 8, num456 },
    { 8, 8, num123 },
    { 8, 8, num0 },
-   { 20, 0, invisible1 }
+   { 25, 0, invisible1 }
 };