1 
2 /* TWmenu definitions */
3 #define TWNUMMENUS		52
4 #define AUTO_REDRAW_ON		1
5 #define AUTO_REDRAW_OFF		2
6 #define CLOSE_GRAPHICS		3
7 #define COLORS		4
8 #define CONTINUE_PGM		5
9 #define DUMP_GRAPHICS		6
10 #define FULLVIEW		7
11 #define REDRAW		8
12 #define TELL_POINT		9
13 #define TRANSLATE		10
14 #define ZOOM		11
15 #define CANCEL		0
16 #define ALIGN_MACRO_IN_X		12
17 #define ALIGN_MACRO_IN_Y		13
18 #define ALIGN_ROWS		14
19 #define EDIT_MACRO		16
20 #define EDIT_ROW		15
21 #define EDIT_TILE		17
22 #define KEEP_SHORT_ROW		18
23 #define DISCARD_SHORT_ROW		19
24 #define MEMORY_ON		51
25 #define MEMORY_OFF		52
26 #define MODIFY_CORE_AREA		20
27 #define MOVE_MACRO		21
28 #define NUMROWS		22
29 #define REDO		23
30 #define RESTORE_STATE		24
31 #define SAVE_STATE		25
32 #define UNDO		27
33 #define CANCEL		0
34 #define DIVIDE_TILE_LEFT_RIGHT		28
35 #define DIVIDE_TILE_UP_DOWN		29
36 #define LIMIT_MERGES		30
37 #define UNLIMIT_MERGES		31
38 #define MERGE_DOWNWARD		32
39 #define MERGE_LEFT		33
40 #define MERGE_RIGHT		34
41 #define MERGE_UPWARD		35
42 #define RESET_TILES		36
43 #define CANCEL		0
44 #define DRAW_LABELS		37
45 #define IGNORE_LABELS		38
46 #define DRAW_MACROS		39
47 #define IGNORE_MACROS		40
48 #define DRAW_ORIENT		49
49 #define IGNORE_ORIENT		50
50 #define DRAW_ROWS		41
51 #define IGNORE_ROWS		42
52 #define DRAW_TILES		43
53 #define IGNORE_TILES		44
54 #define CANCEL		0
55 #define FEED_PERCENTAGE		45
56 #define MIN_ROW_LENGTH		46
57 #define ROW_SEPARATION		47
58 #define SET_SPACING		48
59 #define CANCEL		0
60 
61 
62 static TWMENUBOX menuS[53] = {
63     "CONTROL",0,0,1,0,0,
64     "Auto Redraw On","Auto Redraw Off",1,0,1,2,
65     "Close Graphics",0,0,0,3,0,
66     "Colors",0,0,0,4,0,
67     "Continue Pgm",0,0,0,5,0,
68     "Dump Graphics",0,0,0,6,0,
69     "FullView",0,0,0,7,0,
70     "Redraw",0,0,0,8,0,
71     "Tell Point",0,0,0,9,0,
72     "Translate",0,0,0,10,0,
73     "Zoom",0,0,0,11,0,
74     "Cancel",0,0,0,0,0,
75     "EDIT",0,0,1,0,0,
76     "Align Macro in X",0,0,0,12,0,
77     "Align Macro in Y",0,0,0,13,0,
78     "Align Rows",0,0,0,14,0,
79     "Edit Macro",0,0,0,16,0,
80     "Edit Row",0,0,0,15,0,
81     "Edit Tile",0,0,0,17,0,
82     "Keep Short Row","Discard Short Row",0,0,18,19,
83     "Memory On","Memory Off",1,0,51,52,
84     "Modify Core Area",0,0,0,20,0,
85     "Move Macro",0,0,0,21,0,
86     "Numrows",0,0,0,22,0,
87     "Redo",0,0,0,23,0,
88     "Restore State",0,0,0,24,0,
89     "Save State",0,0,0,25,0,
90     "Undo",0,0,0,27,0,
91     "Cancel",0,0,0,0,0,
92     "MERGE",0,0,1,0,0,
93     "Divide Tile Left_Right",0,0,0,28,0,
94     "Divide Tile Up_Down",0,0,0,29,0,
95     "Limit Merges","Unlimit Merges",0,0,30,31,
96     "Merge Downward",0,0,0,32,0,
97     "Merge Left",0,0,0,33,0,
98     "Merge Right",0,0,0,34,0,
99     "Merge Upward",0,0,0,35,0,
100     "Reset Tiles",0,0,0,36,0,
101     "Cancel",0,0,0,0,0,
102     "DRAW ",0,0,1,0,0,
103     "Draw Labels","Ignore Labels",0,0,37,38,
104     "Draw Macros","Ignore Macros",1,0,39,40,
105     "Draw Orient","Ignore Orient",0,0,49,50,
106     "Draw Rows","Ignore Rows",1,0,41,42,
107     "Draw Tiles","Ignore Tiles",1,0,43,44,
108     "Cancel",0,0,0,0,0,
109     "PARAMETERS ",0,0,1,0,0,
110     "Feed Percentage",0,0,0,45,0,
111     "Min. Row Length",0,0,0,46,0,
112     "Row Separation",0,0,0,47,0,
113     "Set Spacing",0,0,0,48,0,
114     "Cancel",0,0,0,0,0,
115     0,0,0,0,0,0
116 } ;
117 
118