Mercurial > dwindows
annotate dw.def @ 293:315812516608
Changes to the key press handling, if the character is zero check the
virtual key code. The virtual key code parameter will always be valid.
Also print the character in hex so it can be seen in the test program.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Tue, 25 Mar 2003 23:44:57 +0000 |
parents | df0665ba147f |
children | 77105fe19c1f |
rev | line source |
---|---|
3 | 1 LIBRARY DW INITINSTANCE TERMINSTANCE |
2 | |
3 PROTMODE | |
4 | |
5 DESCRIPTION 'Dynamic Windows for OS/2' | |
6 | |
7 CODE LOADONCALL | |
8 DATA NONSHARED LOADONCALL | |
9 | |
10 EXPORTS | |
11 dw_init @10 | |
12 dw_main @11 | |
13 dw_exit @12 | |
14 dw_beep @13 | |
15 dw_messagebox @14 | |
16 dw_yesno @15 | |
17 dw_environment_query @16 | |
18 dw_exec @17 | |
19 dw_browse @18 | |
20 dw_file_browse @19 | |
21 dw_user_dir @20 | |
22 dw_flush @21 | |
23 dw_free @22 | |
37
360bc6a5f1c9
Sync with latest Dynamic Windows code.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
34
diff
changeset
|
24 dw_main_sleep @23 |
203
e0beea487e8f
Added the basics for scrollbar thumb size on OS/2, and dw_main_iteration()
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
195
diff
changeset
|
25 dw_main_iteration @24 |
27
e8e81bc68024
Fixed stupid link386 bug when parsing the .def file.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
24
diff
changeset
|
26 |
3 | 27 dw_box_new @40 |
28 dw_groupbox_new @41 | |
29 dw_box_pack_start @42 | |
30 dw_box_pack_end @43 | |
14
176cee043f1b
Lots of Windows and Unix bug fixes.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
12
diff
changeset
|
31 dw_mdi_new @46 |
3 | 32 |
33 dw_window_new @50 | |
34 dw_window_show @51 | |
35 dw_window_hide @52 | |
36 dw_window_destroy @53 | |
37 dw_window_set_font @54 | |
38 dw_window_set_color @55 | |
39 dw_window_set_pos @56 | |
40 dw_window_set_usize @57 | |
41 dw_window_set_pos_size @58 | |
42 dw_window_get_pos_size @59 | |
43 dw_window_set_style @60 | |
44 dw_window_set_icon @61 | |
45 dw_window_set_bitmap @62 | |
46 dw_window_get_text @63 | |
47 dw_window_set_text @64 | |
48 dw_window_disable @65 | |
49 dw_window_enable @66 | |
50 dw_window_capture @67 | |
51 dw_window_release @68 | |
52 dw_window_reparent @69 | |
53 dw_window_function @70 | |
54 dw_window_from_id @71 | |
55 dw_window_set_border @72 | |
14
176cee043f1b
Lots of Windows and Unix bug fixes.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
12
diff
changeset
|
56 dw_window_minimize @73 |
22
6a246b3bb14f
Added tree widgets, fixed some delete event processing, fixed a layout bug
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
14
diff
changeset
|
57 dw_window_pointer @74 |
34
b03b24bb95f8
Added dw_window_default() to set the default focus widget in a dialog.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
33
diff
changeset
|
58 dw_window_default @75 |
40
88c9c7410c22
Lots of fixes and new functions on all platforms.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
37
diff
changeset
|
59 dw_window_raise @76 |
88c9c7410c22
Lots of fixes and new functions on all platforms.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
37
diff
changeset
|
60 dw_window_lower @77 |
88c9c7410c22
Lots of fixes and new functions on all platforms.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
37
diff
changeset
|
61 dw_window_click_default @78 |
54
c4e1139d9872
Added new tree functions, and fixed a memory leak as well as use of
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
49
diff
changeset
|
62 dw_window_redraw @79 |
3 | 63 |
64 dw_bitmap_new @80 | |
65 | |
66 dw_button_new @90 | |
67 dw_bitmapbutton_new @91 | |
278
df0665ba147f
Initial code for dw_bitmapbutton_new_from_file and added filename parameter
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
257
diff
changeset
|
68 dw_bitmapbutton_new_from_file @92 |
3 | 69 |
70 dw_text_new @100 | |
7
005fa766e8c2
Updates to latest build.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
71 dw_status_text_new @101 |
3 | 72 |
73 dw_entryfield_new @110 | |
74 dw_entryfield_password_new @111 | |
75 | |
76 dw_combobox_new @120 | |
77 | |
78 dw_radiobutton_new @130 | |
79 | |
80 dw_listbox_new @140 | |
81 dw_listbox_append @141 | |
82 dw_listbox_clear @142 | |
83 dw_listbox_count @143 | |
84 dw_listbox_set_top @144 | |
85 dw_listbox_select @145 | |
86 dw_listbox_delete @146 | |
87 dw_listbox_query_text @147 | |
88 dw_listbox_set_text @148 | |
89 dw_listbox_selected @149 | |
90 dw_listbox_selected_multi @150 | |
91 | |
33
72675de7d229
Renamed slider class to percent class. Implemented my own percent widget
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
32
diff
changeset
|
92 dw_percent_new @160 |
72675de7d229
Renamed slider class to percent class. Implemented my own percent widget
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
32
diff
changeset
|
93 dw_percent_query_range @161 |
72675de7d229
Renamed slider class to percent class. Implemented my own percent widget
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
32
diff
changeset
|
94 dw_percent_set_pos @162 |
3 | 95 |
96 dw_mle_new @170 | |
97 dw_mle_import @171 | |
98 dw_mle_export @172 | |
99 dw_mle_query @173 | |
100 dw_mle_delete @174 | |
101 dw_mle_clear @175 | |
102 dw_mle_freeze @176 | |
103 dw_mle_thaw @177 | |
104 dw_mle_set @178 | |
105 dw_mle_set_visible @179 | |
106 dw_mle_search @180 | |
12
26e2130135b9
Many Win32 and GTK fixes.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
7
diff
changeset
|
107 dw_mle_set_editable @181 |
26e2130135b9
Many Win32 and GTK fixes.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
7
diff
changeset
|
108 dw_mle_set_word_wrap @182 |
3 | 109 |
110 dw_spinbutton_new @190 | |
111 dw_spinbutton_set_pos @191 | |
112 dw_spinbutton_set_limits @192 | |
113 dw_entryfield_set_limit @193 | |
114 dw_spinbutton_query @194 | |
115 | |
116 dw_checkbox_new @200 | |
117 dw_checkbox_query @201 | |
118 dw_checkbox_set @202 | |
119 | |
120 dw_icon_load @210 | |
121 dw_icon_free @211 | |
257
9ea4ac9a097f
Added dw_icon_load_from_file() on OS/2 and Windows. Added a stub on Unix
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
241
diff
changeset
|
122 dw_icon_load_from_file @212 |
3 | 123 |
124 dw_container_new @220 | |
125 dw_container_setup @221 | |
126 dw_container_alloc @222 | |
127 dw_container_set_item @223 | |
128 dw_container_set_row_title @224 | |
129 dw_container_insert @225 | |
130 dw_container_clear @226 | |
131 dw_container_set_view @227 | |
132 dw_container_query_start @228 | |
133 dw_container_query_next @229 | |
22
6a246b3bb14f
Added tree widgets, fixed some delete event processing, fixed a layout bug
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
14
diff
changeset
|
134 dw_container_delete @230 |
6a246b3bb14f
Added tree widgets, fixed some delete event processing, fixed a layout bug
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
14
diff
changeset
|
135 dw_container_scroll @231 |
6a246b3bb14f
Added tree widgets, fixed some delete event processing, fixed a layout bug
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
14
diff
changeset
|
136 dw_container_set_column_width @232 |
69
9510897c0b03
Added new container functions, and implemented some missing functionality.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
63
diff
changeset
|
137 dw_container_cursor @233 |
9510897c0b03
Added new container functions, and implemented some missing functionality.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
63
diff
changeset
|
138 dw_container_optimize @234 |
167
0b3debaa9c6c
Added new container functions, and fixed resource leaks.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
157
diff
changeset
|
139 dw_container_delete_row @235 |
0b3debaa9c6c
Added new container functions, and fixed resource leaks.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
157
diff
changeset
|
140 dw_container_change_item @236 |
3 | 141 |
142 dw_filesystem_setup @240 | |
143 dw_filesystem_set_item @241 | |
144 dw_filesystem_set_file @242 | |
145 | |
146 dw_screen_width @250 | |
147 dw_screen_height @251 | |
148 | |
149 dw_color_depth @260 | |
150 dw_color_foreground_set @261 | |
151 dw_color_background_set @262 | |
152 | |
153 dw_notebook_new @270 | |
154 dw_notebook_page_new @271 | |
155 dw_notebook_page_destroy @272 | |
156 dw_notebook_page_set_text @273 | |
157 dw_notebook_page_set_status_text @274 | |
158 dw_notebook_page_set @275 | |
159 dw_notebook_page_query @276 | |
160 dw_notebook_pack @277 | |
161 | |
162 dw_menu_new @280 | |
163 dw_menubar_new @281 | |
164 dw_menu_append_item @282 | |
165 dw_menu_item_set_check @283 | |
166 dw_menu_popup @284 | |
167 dw_menu_destroy @285 | |
168 | |
169 dw_pointer_query_pos @290 | |
170 dw_pointer_set_pos @291 | |
171 | |
172 dw_mutex_new @300 | |
173 dw_mutex_close @301 | |
174 dw_mutex_lock @302 | |
175 dw_mutex_unlock @303 | |
176 | |
177 dw_event_new @310 | |
178 dw_event_reset @311 | |
179 dw_event_post @312 | |
180 dw_event_wait @313 | |
181 dw_event_close @314 | |
182 | |
183 dw_thread_new @320 | |
184 dw_thread_end @321 | |
185 dw_thread_id @322 | |
186 | |
187 dw_render_new @330 | |
188 dw_draw_point @331 | |
189 dw_draw_line @332 | |
190 dw_draw_rect @333 | |
191 dw_draw_text @334 | |
192 | |
193 dw_pixmap_bitblt @340 | |
194 dw_pixmap_new @341 | |
195 dw_pixmap_grab @342 | |
196 dw_pixmap_destroy @343 | |
241
00d2b1bcf036
Added dw_pixmap_new_from_file().
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
203
diff
changeset
|
197 dw_pixmap_new_from_file @344 |
27
e8e81bc68024
Fixed stupid link386 bug when parsing the .def file.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
24
diff
changeset
|
198 |
3 | 199 dw_dialog_new @350 |
200 dw_dialog_dismiss @351 | |
201 dw_dialog_wait @352 | |
202 | |
203 dw_signal_connect @360 | |
204 dw_signal_disconnect_by_window @361 | |
205 dw_signal_disconnect_by_data @362 | |
206 dw_signal_disconnect_by_name @363 | |
195
b023d363fc09
Added scrollbar and timer support on OS/2 and GTK.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
167
diff
changeset
|
207 |
b023d363fc09
Added scrollbar and timer support on OS/2 and GTK.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
167
diff
changeset
|
208 dw_timer_connect @365 |
b023d363fc09
Added scrollbar and timer support on OS/2 and GTK.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
167
diff
changeset
|
209 dw_timer_disconnect @366 |
3 | 210 |
22
6a246b3bb14f
Added tree widgets, fixed some delete event processing, fixed a layout bug
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
14
diff
changeset
|
211 dw_tree_new @370 |
27
e8e81bc68024
Fixed stupid link386 bug when parsing the .def file.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
24
diff
changeset
|
212 dw_tree_insert @371 |
32
f3bf96c2786d
Added missing exports, added new tree functions and signals, fixed Win32
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
27
diff
changeset
|
213 dw_tree_clear @372 |
f3bf96c2786d
Added missing exports, added new tree functions and signals, fixed Win32
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
27
diff
changeset
|
214 dw_tree_delete @373 |
54
c4e1139d9872
Added new tree functions, and fixed a memory leak as well as use of
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
49
diff
changeset
|
215 dw_tree_set @374 |
c4e1139d9872
Added new tree functions, and fixed a memory leak as well as use of
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
49
diff
changeset
|
216 dw_tree_expand @375 |
c4e1139d9872
Added new tree functions, and fixed a memory leak as well as use of
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
49
diff
changeset
|
217 dw_tree_collapse @376 |
c4e1139d9872
Added new tree functions, and fixed a memory leak as well as use of
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
49
diff
changeset
|
218 dw_tree_item_select @377 |
c4e1139d9872
Added new tree functions, and fixed a memory leak as well as use of
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
49
diff
changeset
|
219 dw_tree_set_data @378 |
63
a6801a2260af
Synched up with the latest dynamic windows, has new slider support and
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
54
diff
changeset
|
220 dw_tree_insert_after @379 |
32
f3bf96c2786d
Added missing exports, added new tree functions and signals, fixed Win32
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
27
diff
changeset
|
221 |
49
bf42d08d72d7
Added font text extent querying code, and made it so winmain.c can be used
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
40
diff
changeset
|
222 dw_font_text_extents @380 |
bf42d08d72d7
Added font text extent querying code, and made it so winmain.c can be used
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
40
diff
changeset
|
223 |
63
a6801a2260af
Synched up with the latest dynamic windows, has new slider support and
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
54
diff
changeset
|
224 dw_slider_new @390 |
a6801a2260af
Synched up with the latest dynamic windows, has new slider support and
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
54
diff
changeset
|
225 dw_slider_query_pos @391 |
a6801a2260af
Synched up with the latest dynamic windows, has new slider support and
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
54
diff
changeset
|
226 dw_slider_set_pos @392 |
a6801a2260af
Synched up with the latest dynamic windows, has new slider support and
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
54
diff
changeset
|
227 |
90
eeb98f881663
Committed the dw_window_set/get_data() changes from the FX tree.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
69
diff
changeset
|
228 dw_window_set_data @400 |
eeb98f881663
Committed the dw_window_set/get_data() changes from the FX tree.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
69
diff
changeset
|
229 dw_window_get_data @401 |
117
d785ee5adf02
Initial rewrite of the splitbar code on OS/2. Actually moving of the
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
90
diff
changeset
|
230 |
d785ee5adf02
Initial rewrite of the splitbar code on OS/2. Actually moving of the
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
90
diff
changeset
|
231 dw_splitbar_new @410 |
d785ee5adf02
Initial rewrite of the splitbar code on OS/2. Actually moving of the
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
90
diff
changeset
|
232 dw_splitbar_set @411 |
d785ee5adf02
Initial rewrite of the splitbar code on OS/2. Actually moving of the
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
90
diff
changeset
|
233 dw_splitbar_get @412 |
157
a07dd2e819f3
Added module support.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
117
diff
changeset
|
234 |
a07dd2e819f3
Added module support.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
117
diff
changeset
|
235 dw_module_load @420 |
a07dd2e819f3
Added module support.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
117
diff
changeset
|
236 dw_module_symbol @421 |
a07dd2e819f3
Added module support.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
117
diff
changeset
|
237 dw_module_close @422 |
a07dd2e819f3
Added module support.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
117
diff
changeset
|
238 |
195
b023d363fc09
Added scrollbar and timer support on OS/2 and GTK.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
167
diff
changeset
|
239 dw_scrollbar_new @430 |
b023d363fc09
Added scrollbar and timer support on OS/2 and GTK.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
167
diff
changeset
|
240 dw_scrollbar_query_pos @431 |
b023d363fc09
Added scrollbar and timer support on OS/2 and GTK.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
167
diff
changeset
|
241 dw_scrollbar_set_pos @432 |
b023d363fc09
Added scrollbar and timer support on OS/2 and GTK.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
167
diff
changeset
|
242 dw_scrollbar_set_range @433 |
b023d363fc09
Added scrollbar and timer support on OS/2 and GTK.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
167
diff
changeset
|
243 |