Mercurial > dwindows
annotate dw.def @ 500:fe12a72bfddf
Added a GlobalID which should allow code written on GTK or Windows to work
on OS/2 better. For controls that require the window ID be set, if one
isn't set it uses the GlobalID and increments this value. Currently,
controls that require this are: tree, container, listbox and scrollbar.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Fri, 12 Dec 2003 07:37:37 +0000 |
parents | 6aa93935d2c7 |
children | f3ed8dda02f8 |
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 | |
397
a154ab15c0ed
Remove dw_yesno
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
317
diff
changeset
|
16 |
3 | 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_query_start @228 | |
132 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
|
133 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
|
134 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
|
135 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
|
136 dw_container_cursor @233 |
9510897c0b03
Added new container functions, and implemented some missing functionality.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
63
diff
changeset
|
137 dw_container_optimize @234 |
167
0b3debaa9c6c
Added new container functions, and fixed resource leaks.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
157
diff
changeset
|
138 dw_container_delete_row @235 |
0b3debaa9c6c
Added new container functions, and fixed resource leaks.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
157
diff
changeset
|
139 dw_container_change_item @236 |
3 | 140 |
141 dw_filesystem_setup @240 | |
142 dw_filesystem_set_item @241 | |
143 dw_filesystem_set_file @242 | |
144 | |
145 dw_screen_width @250 | |
146 dw_screen_height @251 | |
147 | |
148 dw_color_depth @260 | |
149 dw_color_foreground_set @261 | |
150 dw_color_background_set @262 | |
151 | |
152 dw_notebook_new @270 | |
153 dw_notebook_page_new @271 | |
154 dw_notebook_page_destroy @272 | |
155 dw_notebook_page_set_text @273 | |
156 dw_notebook_page_set_status_text @274 | |
157 dw_notebook_page_set @275 | |
158 dw_notebook_page_query @276 | |
159 dw_notebook_pack @277 | |
160 | |
161 dw_menu_new @280 | |
162 dw_menubar_new @281 | |
163 dw_menu_append_item @282 | |
164 dw_menu_item_set_check @283 | |
165 dw_menu_popup @284 | |
166 dw_menu_destroy @285 | |
167 | |
168 dw_pointer_query_pos @290 | |
169 dw_pointer_set_pos @291 | |
170 | |
171 dw_mutex_new @300 | |
172 dw_mutex_close @301 | |
173 dw_mutex_lock @302 | |
174 dw_mutex_unlock @303 | |
175 | |
176 dw_event_new @310 | |
177 dw_event_reset @311 | |
178 dw_event_post @312 | |
179 dw_event_wait @313 | |
180 dw_event_close @314 | |
181 | |
182 dw_thread_new @320 | |
183 dw_thread_end @321 | |
184 dw_thread_id @322 | |
185 | |
186 dw_render_new @330 | |
187 dw_draw_point @331 | |
188 dw_draw_line @332 | |
189 dw_draw_rect @333 | |
190 dw_draw_text @334 | |
191 | |
192 dw_pixmap_bitblt @340 | |
193 dw_pixmap_new @341 | |
194 dw_pixmap_grab @342 | |
195 dw_pixmap_destroy @343 | |
241
00d2b1bcf036
Added dw_pixmap_new_from_file().
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
203
diff
changeset
|
196 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
|
197 |
3 | 198 dw_dialog_new @350 |
199 dw_dialog_dismiss @351 | |
200 dw_dialog_wait @352 | |
201 | |
202 dw_signal_connect @360 | |
203 dw_signal_disconnect_by_window @361 | |
204 dw_signal_disconnect_by_data @362 | |
205 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
|
206 |
b023d363fc09
Added scrollbar and timer support on OS/2 and GTK.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
167
diff
changeset
|
207 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
|
208 dw_timer_disconnect @366 |
3 | 209 |
22
6a246b3bb14f
Added tree widgets, fixed some delete event processing, fixed a layout bug
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
14
diff
changeset
|
210 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
|
211 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
|
212 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
|
213 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
|
214 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
|
215 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
|
216 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
|
217 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
|
218 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
|
219 dw_tree_insert_after @379 |
317
83edbd751da9
Added dw_tree_get_data() to get a tree item's data.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
310
diff
changeset
|
220 dw_tree_get_data @380 |
481
97c2c560f829
Implemented the new tree functions and signal on Windows and exported the
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
397
diff
changeset
|
221 dw_tree_get_title @381 |
97c2c560f829
Implemented the new tree functions and signal on Windows and exported the
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
397
diff
changeset
|
222 dw_tree_get_parent @382 |
32
f3bf96c2786d
Added missing exports, added new tree functions and signals, fixed Win32
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
27
diff
changeset
|
223 |
317
83edbd751da9
Added dw_tree_get_data() to get a tree item's data.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
310
diff
changeset
|
224 dw_font_text_extents @385 |
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
|
225 |
63
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_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
|
227 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
|
228 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
|
229 |
90
eeb98f881663
Committed the dw_window_set/get_data() changes from the FX tree.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
69
diff
changeset
|
230 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
|
231 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
|
232 |
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_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
|
234 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
|
235 dw_splitbar_get @412 |
157
a07dd2e819f3
Added module support.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
117
diff
changeset
|
236 |
a07dd2e819f3
Added module support.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
117
diff
changeset
|
237 dw_module_load @420 |
a07dd2e819f3
Added module support.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
117
diff
changeset
|
238 dw_module_symbol @421 |
a07dd2e819f3
Added module support.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
117
diff
changeset
|
239 dw_module_close @422 |
a07dd2e819f3
Added module support.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
117
diff
changeset
|
240 |
195
b023d363fc09
Added scrollbar and timer support on OS/2 and GTK.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
167
diff
changeset
|
241 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
|
242 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
|
243 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
|
244 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
|
245 |
488
6aa93935d2c7
Export the new functions.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
481
diff
changeset
|
246 dw_taskbar_insert @440 |
6aa93935d2c7
Export the new functions.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
481
diff
changeset
|
247 dw_taskbar_delete @441 |
6aa93935d2c7
Export the new functions.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
481
diff
changeset
|
248 |