blob: 7770f1a6da41a4ced671ea1928f4a6fa31849ec7 (
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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
|
/*
* $Header: /home/dmarkle/xtrkcad-fork-cvs/xtrkcad/app/bin/acclkeys.h,v 1.6 2009-07-08 18:40:27 m_fischer Exp $
*/
/* XTrkCad - Model Railroad CAD
* Copyright (C) 2005 Dave Bullis
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
/*
* use 'sort +2 acclkeys.h' to check usage
*/
#ifndef ACCLKEYS_H
#define ACCLKEYS_H
/* commands */
#define ACCL_DESCRIBE (WCTL+'?')
#define ACCL_SELECT (WCTL+'e')
#define ACCL_STRAIGHT (WCTL+'g')
#define ACCL_CURVE1 (WCTL+'4')
#define ACCL_CURVE2 (WCTL+'5')
#define ACCL_CURVE3 (WCTL+'6')
#define ACCL_CURVE4 (WCTL+'7')
#define ACCL_CIRCLE1 (WCTL+'8')
#define ACCL_CIRCLE2 (WCTL+'9')
#define ACCL_CIRCLE3 (WCTL+'0')
#define ACCL_TURNOUT (WCTL+'t')
#define ACCL_TURNTABLE (WCTL+WSHIFT+'n')
#define ACCL_PARALLEL (WCTL+WSHIFT+'p')
#define ACCL_MOVE (WCTL+WSHIFT+'m')
#define ACCL_ROTATE (WCTL+WSHIFT+'r')
#define ACCL_FLIP (0)
#define ACCL_MOVEDESC (WCTL+WSHIFT+'z')
#define ACCL_MODIFY (WCTL+'m')
#define ACCL_JOIN (WCTL+'j')
#define ACCL_CONNECT (WCTL+WSHIFT+'j')
#define ACCL_HELIX (WCTL+WSHIFT+'h')
#define ACCL_SPLIT (WCTL+WSHIFT+'s')
#define ACCL_ELEVATION (WCTL+WSHIFT+'e')
#define ACCL_PROFILE (WCTL+WSHIFT+'f')
#define ACCL_DELETE (WCTL+'d')
#define ACCL_TUNNEL (WCTL+WSHIFT+'t')
#define ACCL_HNDLDTO (WCTL+WSHIFT+'i')
#define ACCL_TEXT (WCTL+WSHIFT+'x')
#define ACCL_DRAWLINE (WCTL+WSHIFT+'1')
#define ACCL_DRAWDIMLINE (WCTL+WSHIFT+'d')
#define ACCL_DRAWBENCH (WCTL+'b')
#define ACCL_DRAWTBLEDGE (WCTL+WSHIFT+'3')
#define ACCL_DRAWCURVE1 (WCTL+WSHIFT+'4')
#define ACCL_DRAWCURVE2 (WCTL+WSHIFT+'5')
#define ACCL_DRAWCURVE3 (WCTL+WSHIFT+'6')
#define ACCL_DRAWCURVE4 (WCTL+WSHIFT+'7')
#define ACCL_DRAWCIRCLE1 (WCTL+WSHIFT+'8')
#define ACCL_DRAWCIRCLE2 (WCTL+WSHIFT+'9')
#define ACCL_DRAWCIRCLE3 (WCTL+WSHIFT+'0')
#define ACCL_DRAWFILLCIRCLE1 (WALT+WCTL+'8')
#define ACCL_DRAWFILLCIRCLE2 (WALT+WCTL+'9')
#define ACCL_DRAWFILLCIRCLE3 (WALT+WCTL+'0')
#define ACCL_DRAWBOX (WCTL+WSHIFT+'[')
#define ACCL_DRAWFILLBOX (WALT+WCTL+'[')
#define ACCL_DRAWPOLYLINE (WCTL+WSHIFT+'2')
#define ACCL_DRAWPOLYGON (WALT+WCTL+'2')
#define ACCL_NOTE (WALT+WCTL+'n')
#define ACCL_STRUCTURE (WCTL+WSHIFT+'c')
#define ACCL_ABOVE (WCTL+WSHIFT+'b')
#define ACCL_BELOW (WCTL+WSHIFT+'w')
#define ACCL_RULER (0)
/* fileM */
#define ACCL_NEW (WCTL+'n')
#define ACCL_OPEN (WCTL+'o')
#define ACCL_SAVE (WCTL+'s')
#define ACCL_SAVEAS (WCTL+'a')
#define ACCL_REVERT (0)
#define ACCL_PARAMFILES (WALT+WCTL+'s')
#define ACCL_PRICELIST (WALT+WCTL+'q')
#define ACCL_PRINT (WCTL+'p')
#define ACCL_PRINTSETUP (0)
#define ACCL_PRINTBM (WCTL+WSHIFT+'q')
#define ACCL_PARTSLIST (WALT+WCTL+'l')
#define ACCL_NOTES (WALT+WCTL+'t')
#define ACCL_REGISTER (0)
/* editM */
#define ACCL_UNDO (WCTL+'z')
#define ACCL_REDO (WCTL+'r')
#define ACCL_COPY (WCTL+'c')
#define ACCL_CUT (WCTL+'x')
#define ACCL_PASTE (WCTL+'v')
#define ACCL_SELECTALL (WCTL+WSHIFT+'a')
#define ACCL_DESELECTALL (0)
#define ACCL_THIN (WCTL+'1')
#define ACCL_MEDIUM (WCTL+'2')
#define ACCL_THICK (WCTL+'3')
#define ACCL_EXPORT (WALT+WCTL+'x')
#define ACCL_IMPORT (WALT+WCTL+'i')
#define ACCL_EXPORTDXF (0)
#define ACCL_LOOSEN (WCTL+WSHIFT+'k')
#define ACCL_GROUP (WCTL+WSHIFT+'g')
#define ACCL_UNGROUP (WCTL+WSHIFT+'u')
#define ACCL_CUSTMGM (WALT+WCTL+'u')
#define ACCL_CARINV (WALT+WCTL+'v')
#define ACCL_LAYERS (WALT+WCTL+'y')
#define ACCL_SETCURLAYER (0)
#define ACCL_MOVCURLAYER (0)
#define ACCL_CLRELEV (0)
#define ACCL_CHGELEV (0)
/* viewM */
#define ACCL_REDRAW (WCTL+'l')
#define ACCL_REDRAWALL (WCTL+WSHIFT+'l')
#define ACCL_ZOOMIN (WCTL+'+')
#define ACCL_ZOOMOUT (WCTL+'-')
#define ACCL_SNAPSHOW (WCTL+']')
#define ACCL_SNAPENABLE (WCTL+'[')
/* optionsM */
#define ACCL_LAYOUTW (WALT+WCTL+'a')
#define ACCL_DISPLAYW (WALT+WCTL+'d')
#define ACCL_CMDOPTW (WALT+WCTL+'m')
#define ACCL_EASEW (WALT+WCTL+'e')
#define ACCL_FONTW (WALT+WCTL+'f')
#define ACCL_GRIDW (WALT+WCTL+'g')
#define ACCL_STICKY (WALT+WCTL+'k')
#define ACCL_PREFERENCES (WALT+WCTL+'p')
#define ACCL_COLORW (WALT+WCTL+'c')
/* macroM */
#define ACCL_RECORD (WALT+WCTL+'r')
#define ACCL_PLAYBACK (WALT+WCTL+'b')
#define ACCL_BRIDGE (0)
/* Blocks */
#define ACCL_BLOCK1 (WALT+WSHIFT+'b')
#define ACCL_BLOCK2 (WALT+WCTL+WSHIFT+'b')
#define ACCL_BLOCK3 (0)
/* Switch Motors */
#define ACCL_SWITCHMOTOR1 (WSHIFT+'s')
#define ACCL_SWITCHMOTOR2 (WALT+WSHIFT+'s')
#define ACCL_SWITCHMOTOR3 (0)
#endif
|