summaryrefslogtreecommitdiff
path: root/cad/magic/patches/patch-netmenu_nmInt.h
blob: ddc210b10bf0b8bcab2d097a71d68e3f4a70290a (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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
$NetBSD: patch-netmenu_nmInt.h,v 1.1 2013/03/03 01:11:11 joerg Exp $

--- netmenu/nmInt.h.orig	2006-04-10 22:03:14.000000000 +0000
+++ netmenu/nmInt.h
@@ -24,6 +24,8 @@
 #define _NMINT_H
 
 #include "windows/windows.h"
+#include "textio/txcommands.h"
+#include "tiles/tile.h"
 
 /* The declarations below define the elements displayed in the
  * net-list menu.  There are three kinds of things:
@@ -108,26 +110,30 @@ extern void NMAddPoint();
 extern void NMDeletePoint();
 extern void NMClearPoints();
 extern void NMUpdatePoints();
-extern int NMRedrawPoints();
 
-extern int NMRedrawCell();
 extern void NMShowCell();
 extern void NMUnsetCell();
 extern void NMShowUnderBox();
-extern int NMShowRoutedNet();
 extern void NMShowLabel();
 
-extern int NMRipup();
 extern int NMRipupList();
-extern int NMExtract();
 extern void NMSelectNet();
 
 extern bool NMCheckWritten();
-extern int NMWriteAll();
 
 extern void NMUndo();
 extern void NMUndoInit();
 
+void NMcommand(MagWindow *w, TxCommand *cmd);
+void NMredisplay(MagWindow *w, Rect *rootArea, Rect *clipArea);
+void NMDeleteTerm(char *name);
+void NMWriteAll(void);
+void NMRedrawPoints(MagWindow *window, Plane *plane);
+void NMRedrawCell(MagWindow *window, Plane *plane);
+void NMShowRoutedNet(char *netName);
+void NMRipup(void);
+void NMExtract(void);
+
 /* Various global variables (within this module): */
 
 extern char * NMCurNetName;
$NetBSD: patch-netmenu_nmInt.h,v 1.1 2013/03/03 01:11:11 joerg Exp $

--- netmenu/nmInt.h.orig	2006-04-10 22:03:14.000000000 +0000
+++ netmenu/nmInt.h
@@ -24,6 +24,8 @@
 #define _NMINT_H
 
 #include "windows/windows.h"
+#include "textio/txcommands.h"
+#include "tiles/tile.h"
 
 /* The declarations below define the elements displayed in the
  * net-list menu.  There are three kinds of things:
@@ -108,26 +110,30 @@ extern void NMAddPoint();
 extern void NMDeletePoint();
 extern void NMClearPoints();
 extern void NMUpdatePoints();
-extern int NMRedrawPoints();
 
-extern int NMRedrawCell();
 extern void NMShowCell();
 extern void NMUnsetCell();
 extern void NMShowUnderBox();
-extern int NMShowRoutedNet();
 extern void NMShowLabel();
 
-extern int NMRipup();
 extern int NMRipupList();
-extern int NMExtract();
 extern void NMSelectNet();
 
 extern bool NMCheckWritten();
-extern int NMWriteAll();
 
 extern void NMUndo();
 extern void NMUndoInit();
 
+void NMcommand(MagWindow *w, TxCommand *cmd);
+void NMredisplay(MagWindow *w, Rect *rootArea, Rect *clipArea);
+void NMDeleteTerm(char *name);
+void NMWriteAll(void);
+void NMRedrawPoints(MagWindow *window, Plane *plane);
+void NMRedrawCell(MagWindow *window, Plane *plane);
+void NMShowRoutedNet(char *netName);
+void NMRipup(void);
+void NMExtract(void);
+
 /* Various global variables (within this module): */
 
 extern char * NMCurNetName;