@@ -33,14 +33,25 @@ Y-coordinate of the menu's top left corner
33
33
Pointer to the data of the selected menu entry
34
34
!end_xlist
35
35
36
+ If (!I)mn_scroll(!i) of MENU is set to 0 when menu_popup is called, a
37
+ non-scrollable popup menu will be displayed.
38
+
39
+ if (!I)mn_scroll(!i) of MENU is set to >0 when menu_popup is called, a
40
+ scrolling popup menu will be displayed; height of MN_SET determines
41
+ it's height in items (note that Atari's AES implements up/down arrows
42
+ within the popup for scrolling to maintain the same look and feel of
43
+ dropdown menus as they can be attached to menubar items, note that NAES
44
+ mimics this exact behavior). See also menu_settings.
45
+
46
+ As of (!nolink [AES]) version 4.1, if (!I)mn_scroll(!i) of MENU is set to -1
47
+ when menu_popup is called, a dropdown list box instead of a popup menu will be
48
+ displayed; this will have a scroll bar if eight entries or more exist.
49
+
36
50
!item [(!nolink [Return]) value:]
37
51
An error has arisen only if the value 0 is returned.
38
52
39
53
!item [Availability:]
40
54
This function is available only with (!nolink [AES]) versions 3.30 and above.
41
- As of (!nolink [AES]) version 4.1, if (!I)mn_scroll(!i) of MENU is set to -1
42
- when menu_popup is called, a dropdown list box instead of a popup menu will be
43
- displayed; this will have a scroll bar if eight entries or more exist.
44
55
45
56
The presence of this function can be ascertained by a call of
46
57
(!link [appl_getinfo][%apgi_9]) (opcode 9).
@@ -106,7 +117,7 @@ int_out !! int_out[0] !! Return value
106
117
(!begin_liste) [Beschreibung]
107
118
108
119
!item [Name:]
109
- ¯Menu (!nolink [Popup])® - bernimmt die Darstellung und Abarbeitung eines (!nolink [Popup])-Men s
120
+ ¯Menu (!nolink [Popup])® - (!uumlaut) bernimmt die Darstellung und Abarbeitung eines (!nolink [Popup])-Men(!uumlaut) s
110
121
111
122
!item [AES-Nummer:]
112
123
36
@@ -116,7 +127,7 @@ int16_t menu_popup ( MENU *me_menu, int16_t me_xpos,
116
127
int16_t me_ypos, MENU *me_mdata );
117
128
118
129
!item [Beschreibung:]
119
- Die Funktion bernimmt die Darstellung und Bearbeitung eines (!nolink [Popup])-Men s. Es
130
+ Die Funktion (!uumlaut) bernimmt die Darstellung und Bearbeitung eines (!nolink [Popup])-Men(!uumlaut) s. Es
120
131
gilt:
121
132
122
133
!begin_xlist !compressed [Parameter]
@@ -127,35 +138,51 @@ Bedeutung
127
138
!item [me_menu]
128
139
Zeiger auf die Struktur des (!link [Popups][MENU])
129
140
!item [me_xpos]
130
- x-Koordinate des Men s
141
+ x-Koordinate des Men(!uumlaut) s
131
142
!item [me_ypos]
132
- y-Koordinate des Men s
143
+ y-Koordinate des Men(!uumlaut) s
133
144
!item [me_mdata]
134
- Zeiger auf die Daten des selektierten Men eintrages.
145
+ Zeiger auf die Daten des selektierten Men(!uumlaut) eintrages.
135
146
!end_xlist
136
147
148
+ Wenn (!I)mn_scroll(!i) von MENU auf 0 gesetzt ist wenn menu_popup
149
+ aufgerufen wird, wird ein nicht scrollbares Popup-Men(!uumlaut) angezeigt.
150
+
151
+ Wenn (!I)mn_scroll(!i) von MENU auf >0 gesetzt ist wenn menu_popup
152
+ aufgerufen wird, wird ein scrollbares Popup-Men(!uumlaut) angezeigt; der Wert (!I)height(!i) von
153
+ MN_SET bestimmt seine H(!oumlaut)he in Elementen (beachten Sie, dass Ataris AES
154
+ Auf-/Ab-Pfeile innerhalb des Popups zum Scrollen implementiert, um das
155
+ gleiche Erscheinungsbild von Dropdown-Men(!uumlaut)s beizubehalten, wie sie an
156
+ Men(!uumlaut)leistenelemente angeh(!aumlaut)ngt werden k(!oumlaut)nnen; beachten Sie, dass NAES
157
+ genau dieses Verhalten nachahmt). Siehe auch menu_settings.
158
+
159
+ Ab (!nolink [AES]) Version 4.1 wird, wenn (!I)mn_scroll(!i) von MENU
160
+ auf -1 gesetzt ist wenn menu_popup aufgerufen wird, ein
161
+ Dropdown-Listenfeld statt eines Popup-Men(!uumlaut)s angezeigt; dieses verf(!uumlaut)gt
162
+ (!uumlaut)ber eine Bildlaufleiste, wenn acht oder mehr Eintr(!aumlaut)ge vorhanden sind.
163
+
137
164
!item [Ergebnis:]
138
165
Ein Fehler ist nur dann aufgetreten, wenn als Ergebnis der Wert 0
139
- zur ckgegeben wird.
166
+ zur(!uumlaut) ckgegeben wird.
140
167
141
- !item [Verf gbar:]
142
- This function is only available with AES versions 3.30 and
143
- above .
168
+ !item [Verf(!uumlaut) gbar:]
169
+ Diese Funktion ist nur verf(!uumlaut)gbar seit (!nolink [ AES]) Version 3.30 und
170
+ h(!oumlaut)her .
144
171
145
- Das Vorhandensein dieser Funktion kann ber einen Aufruf
172
+ Das Vorhandensein dieser Funktion kann (!uumlaut) ber einen Aufruf
146
173
von (!link [appl_getinfo][%apgi_9]) (Opcode 9) festgestellt werden.
147
174
148
175
!item [Gruppe:]
149
- (!link [Men s][Men funktionen])
176
+ (!link [Men(!uumlaut) s][Men(!uumlaut) funktionen])
150
177
151
178
!item [Querverweis:]
152
- (!link [Binding] [Bindings f r menu_popup]) ~ menu_settings ~ XMEN_MGR
179
+ (!link [Binding] [Bindings f(!uumlaut) r menu_popup]) ~ menu_settings ~ XMEN_MGR
153
180
154
181
(!ende_liste)
155
182
156
183
157
184
158
- !begin_node Bindings f r menu_popup
185
+ !begin_node Bindings f(!uumlaut) r menu_popup
159
186
!ignore_index
160
187
161
188
(!begin_liste) [GEM-Arrays]
@@ -183,10 +210,10 @@ int16_t menu_popup (MENU *me_menu, int16_t me_xpos,
183
210
Adresse !! Feldelement !! Belegung
184
211
!hline
185
212
control !! control[0] !! 36 # Opcode der Funktion
186
- control+2 !! control[1] !! 2 # Eintr„ ge in int_in
187
- control+4 !! control[2] !! 1 # Eintr„ ge in int_out
188
- control+6 !! control[3] !! 2 # Eintr„ ge in addr_in
189
- control+8 !! control[4] !! 0 # Eintr„ ge in addr_out
213
+ control+2 !! control[1] !! 2 # Eintr(!aumlaut) ge in int_in
214
+ control+4 !! control[2] !! 1 # Eintr(!aumlaut) ge in int_out
215
+ control+6 !! control[3] !! 2 # Eintr(!aumlaut) ge in addr_in
216
+ control+8 !! control[4] !! 0 # Eintr(!aumlaut) ge in addr_out
190
217
int_in !! int_in[0] !! me_xpos
191
218
int_in+2 !! int_in[1] !! me_ypos
192
219
addr_in !! addr_in[0] !! me_menu
0 commit comments