Rev 7036 | Rev 7577 | Go to most recent revision | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 7036 | Rev 7576 | ||
---|---|---|---|
1 | ;***************************************************************************** |
1 | ;***************************************************************************** |
2 | ; Box_Lib - library of graphical components |
2 | ; Box_Lib - library of graphical components |
3 | ; Copyright (C) KolibriOS team 2008-2016. All rights reserved. |
3 | ; Copyright (C) KolibriOS team 2008-2016. All rights reserved. |
4 | ; |
4 | ; |
5 | ; Authors: |
5 | ; Authors: |
6 | ; Alexey Teplov aka |
6 | ; Alexey Teplov aka |
7 | ; Marat Zakiyanov aka Mario79, aka Mario |
7 | ; Marat Zakiyanov aka Mario79, aka Mario |
8 | ; Evtikhov Maxim aka Maxxxx32 |
8 | ; Evtikhov Maxim aka Maxxxx32 |
9 | ; Eugene Grechnikov aka Diamond |
9 | ; Eugene Grechnikov aka Diamond |
10 | ; hidnplayr |
10 | ; hidnplayr |
11 | ; Igor Afanasiev aka IgorA |
11 | ; Igor Afanasiev aka IgorA |
12 | ;***************************************************************************** |
12 | ;***************************************************************************** |
13 | 13 | ||
14 | format MS COFF |
14 | format MS COFF |
15 | 15 | ||
16 | public EXPORTS |
16 | public EXPORTS |
17 | 17 | ||
18 | section '.flat' code readable align 16 |
18 | section '.flat' code readable align 16 |
19 | include '../../../../macros.inc' |
19 | include '../../../../macros.inc' |
20 | include '../../../../proc32.inc' |
20 | include '../../../../proc32.inc' |
21 | include '../../../../KOSfuncs.inc' |
21 | include '../../../../KOSfuncs.inc' |
22 | include 'bl_sys.mac' |
22 | include 'bl_sys.mac' |
23 | include 'box_lib.mac' ;macro which should make life easier :) |
23 | include 'box_lib.mac' ;macro which should make life easier :) |
24 | ;include '../../../../debug.inc' |
24 | ;include '../../../../debug.inc' |
25 | 25 | ||
26 | ;----------------------------------------------------------------------------- |
26 | ;----------------------------------------------------------------------------- |
27 | mem.alloc dd ? ;ôóíêöèÿ äëÿ âûäåëåíèÿ ïàìÿòè |
27 | mem.alloc dd ? ;ôóíêöèÿ äëÿ âûäåëåíèÿ ïàìÿòè |
28 | mem.free dd ? ;ôóíêöèÿ äëÿ îñâîáîæäåíèÿ ïàìÿòè |
28 | mem.free dd ? ;ôóíêöèÿ äëÿ îñâîáîæäåíèÿ ïàìÿòè |
29 | mem.realloc dd ? ;ôóíêöèÿ äëÿ ïåðåðàñïðåäåëåíèÿ ïàìÿòè |
29 | mem.realloc dd ? ;ôóíêöèÿ äëÿ ïåðåðàñïðåäåëåíèÿ ïàìÿòè |
30 | dll.load dd ? |
30 | dll.load dd ? |
31 | 31 | ||
32 | ;---------------------------------------------------- |
32 | ;---------------------------------------------------- |
33 | ;EditBox |
33 | ;EditBox |
34 | include 'editbox.asm' ;editbox |
34 | include 'editbox.asm' ;editbox |
35 | 35 | ||
36 | ;---------------------------------------------------- |
36 | ;---------------------------------------------------- |
37 | ;CheckBox |
37 | ;CheckBox |
38 | include 'checkbox.asm' ;checkbox |
38 | include 'checkbox.asm' ;checkbox |
39 | 39 | ||
40 | ;-------------------------------------------------- |
40 | ;-------------------------------------------------- |
41 | ;radiobutton Group |
41 | ;radiobutton Group |
42 | include 'optionbox.asm' ;optionbox |
42 | include 'optionbox.asm' ;optionbox |
43 | 43 | ||
44 | ;-------------------------------------------------- |
44 | ;-------------------------------------------------- |
45 | ;scrollbar Group |
45 | ;scrollbar Group |
46 | ;-------------------------------------------------- |
46 | ;-------------------------------------------------- |
47 | align 16 |
47 | align 16 |
48 | use_scroll_bar |
48 | use_scroll_bar |
49 | align 16 |
49 | align 16 |
50 | use_scroll_bar_vertical |
50 | use_scroll_bar_vertical |
51 | align 16 |
51 | align 16 |
52 | use_scroll_bar_horizontal |
52 | use_scroll_bar_horizontal |
53 | 53 | ||
54 | ;-------------------------------------------------- |
54 | ;-------------------------------------------------- |
55 | ;dinamic button Group |
55 | ;dinamic button Group |
56 | ;-------------------------------------------------- |
56 | ;-------------------------------------------------- |
57 | align 16 |
57 | align 16 |
58 | use_dinamic_button |
58 | use_dinamic_button |
59 | 59 | ||
60 | ;-------------------------------------------------- |
60 | ;-------------------------------------------------- |
61 | ;menubar Group |
61 | ;menubar Group |
62 | ;-------------------------------------------------- |
62 | ;-------------------------------------------------- |
63 | align 16 |
63 | align 16 |
64 | use_menu_bar |
64 | use_menu_bar |
65 | 65 | ||
66 | ;-------------------------------------------------- |
66 | ;-------------------------------------------------- |
67 | ;filebrowser Group |
67 | ;filebrowser Group |
68 | ;-------------------------------------------------- |
68 | ;-------------------------------------------------- |
69 | align 16 |
69 | align 16 |
70 | use_file_browser |
70 | use_file_browser |
71 | 71 | ||
72 | ;-------------------------------------------------- |
72 | ;-------------------------------------------------- |
73 | ;tree list |
73 | ;tree list |
74 | include 'tree_list.asm' ;tree_list, list_box |
74 | include 'tree_list.asm' ;tree_list, list_box |
75 | 75 | ||
76 | ;-------------------------------------------------- |
76 | ;-------------------------------------------------- |
77 | ;PathShow Group |
77 | ;PathShow Group |
78 | ;-------------------------------------------------- |
78 | ;-------------------------------------------------- |
79 | align 16 |
79 | align 16 |
80 | use_path_show |
80 | use_path_show |
81 | 81 | ||
82 | ;-------------------------------------------------- |
82 | ;-------------------------------------------------- |
83 | ;text editor |
83 | ;text editor |
84 | include 't_edit.asm' ;text_editor |
84 | include 't_edit.asm' ;text_editor |
85 | 85 | ||
86 | ;-------------------------------------------------- |
86 | ;-------------------------------------------------- |
87 | ;Frame Group |
87 | ;Frame Group |
88 | ;-------------------------------------------------- |
88 | ;-------------------------------------------------- |
89 | align 16 |
89 | align 16 |
90 | use_frame |
90 | use_frame |
91 | ;-------------------------------------------------- |
91 | ;-------------------------------------------------- |
92 | ;ProgressBar |
92 | ;ProgressBar |
93 | ;-------------------------------------------------- |
93 | ;-------------------------------------------------- |
94 | use_progressbar |
94 | use_progressbar |
95 | 95 | ||
96 | ;-------------------------------------------------- |
96 | ;-------------------------------------------------- |
97 | include 'tooltip.asm' ;tooltip |
97 | include 'tooltip.asm' ;tooltip |
98 | 98 | ||
99 | ;input: |
99 | ;input: |
100 | ; eax = óêàçàòåëü íà ôóíêöèþ âûäåëåíèÿ ïàìÿòè |
100 | ; eax = óêàçàòåëü íà ôóíêöèþ âûäåëåíèÿ ïàìÿòè |
101 | ; ebx = ... îñâîáîæäåíèÿ ïàìÿòè |
101 | ; ebx = ... îñâîáîæäåíèÿ ïàìÿòè |
102 | ; ecx = ... ïåðåðàñïðåäåëåíèÿ ïàìÿòè |
102 | ; ecx = ... ïåðåðàñïðåäåëåíèÿ ïàìÿòè |
103 | ; edx = ... çàãðóçêè áèáëèîòåêè (ïîêà íå èñïîëüçóåòñÿ) |
103 | ; edx = ... çàãðóçêè áèáëèîòåêè (ïîêà íå èñïîëüçóåòñÿ) |
104 | align 16 |
104 | align 16 |
105 | lib_init: |
105 | lib_init: |
106 | mov [mem.alloc], eax |
106 | mov [mem.alloc], eax |
107 | mov [mem.free], ebx |
107 | mov [mem.free], ebx |
108 | mov [mem.realloc], ecx |
108 | mov [mem.realloc], ecx |
109 | mov [dll.load], edx |
109 | mov [dll.load], edx |
110 | ret |
110 | ret |
111 | 111 | ||
112 | 112 | ||
113 | align 4 |
113 | align 4 |
114 | proc draw_edge uses eax ebx ecx edx edi esi, box_l:dword, box_t:dword, box_w:dword, box_h:dword,\ |
114 | proc draw_edge uses eax ebx ecx edx edi esi, box_l:dword, box_t:dword, box_w:dword, box_h:dword,\ |
115 | col_0:dword, col_1:dword, col_2:dword |
115 | col_0:dword, col_1:dword, col_2:dword |
116 | 116 | ||
117 | mov esi,dword[col_1] |
117 | mov esi,dword[col_1] |
118 | and esi,111111101111111011111110b |
118 | and esi,111111101111111011111110b |
119 | 119 | ||
120 | mov eax,SF_DRAW_RECT |
120 | mov eax,SF_DRAW_RECT |
121 | ;bottom line |
121 | ;bottom line |
122 | mov edx,dword[col_2] |
122 | mov edx,dword[col_2] |
123 | mov ebx,dword[box_l] |
123 | mov ebx,dword[box_l] |
124 | shl ebx,16 |
124 | shl ebx,16 |
125 | add ebx,dword[box_w] |
125 | add ebx,dword[box_w] |
126 | inc ebx ;äëÿ çàëèâêè äèàãîíàëüíûõ ïèêñåëåé |
126 | inc ebx ;äëÿ çàëèâêè äèàãîíàëüíûõ ïèêñåëåé |
127 | mov ecx,dword[box_t] |
127 | mov ecx,dword[box_t] |
128 | add ecx,dword[box_h] |
128 | add ecx,dword[box_h] |
129 | shl ecx,16 |
129 | shl ecx,16 |
130 | inc ecx |
130 | inc ecx |
131 | 131 | ||
132 | mov edi,3 ;for cycle |
132 | mov edi,3 ;for cycle |
133 | @@: |
133 | @@: |
134 | ;calculate colors |
134 | ;calculate colors |
135 | and edx,111111101111111011111110b |
135 | and edx,111111101111111011111110b |
136 | add edx,esi |
136 | add edx,esi |
137 | shr edx,1 |
137 | shr edx,1 |
138 | ;line move up and ->...<- |
138 | ;line move up and ->...<- |
139 | sub ecx,1 shl 16 ;move up |
139 | sub ecx,1 shl 16 ;move up |
140 | add ebx,1 shl 16 ;->... |
140 | add ebx,1 shl 16 ;->... |
141 | sub ebx,2 ;...<- |
141 | sub ebx,2 ;...<- |
142 | ;draw line |
142 | ;draw line |
143 | int 0x40 |
143 | int 0x40 |
144 | dec edi |
144 | dec edi |
145 | jnz @b |
145 | jnz @b |
146 | 146 | ||
147 | ;right line |
147 | ;right line |
148 | mov edx,dword[col_2] |
148 | mov edx,dword[col_2] |
149 | mov ebx,dword[box_l] |
149 | mov ebx,dword[box_l] |
150 | add ebx,dword[box_w] |
150 | add ebx,dword[box_w] |
151 | shl ebx,16 |
151 | shl ebx,16 |
152 | inc ebx |
152 | inc ebx |
153 | mov ecx,dword[box_t] |
153 | mov ecx,dword[box_t] |
154 | shl ecx,16 |
154 | shl ecx,16 |
155 | add ecx,dword[box_h] |
155 | add ecx,dword[box_h] |
156 | 156 | ||
157 | mov edi,3 ;for cycle |
157 | mov edi,3 ;for cycle |
158 | @@: |
158 | @@: |
159 | ;calculate colors |
159 | ;calculate colors |
160 | and edx,111111101111111011111110b |
160 | and edx,111111101111111011111110b |
161 | add edx,esi |
161 | add edx,esi |
162 | shr edx,1 |
162 | shr edx,1 |
163 | ;line move left and ... |
163 | ;line move left and ... |
164 | sub ebx,1 shl 16 ;move left |
164 | sub ebx,1 shl 16 ;move left |
165 | add ecx,1 shl 16 |
165 | add ecx,1 shl 16 |
166 | sub ecx,2 |
166 | sub ecx,2 |
167 | ;draw line |
167 | ;draw line |
168 | int 0x40 |
168 | int 0x40 |
169 | dec edi |
169 | dec edi |
170 | jnz @b |
170 | jnz @b |
171 | 171 | ||
172 | ;top line |
172 | ;top line |
173 | mov edx,dword[col_0] |
173 | mov edx,dword[col_0] |
174 | mov ebx,dword[box_l] |
174 | mov ebx,dword[box_l] |
175 | shl ebx,16 |
175 | shl ebx,16 |
176 | add ebx,dword[box_w] |
176 | add ebx,dword[box_w] |
177 | mov ecx,dword[box_t] |
177 | mov ecx,dword[box_t] |
178 | shl ecx,16 |
178 | shl ecx,16 |
179 | inc ecx |
179 | inc ecx |
180 | 180 | ||
181 | mov edi,3 ;for cycle |
181 | mov edi,3 ;for cycle |
182 | @@: |
182 | @@: |
183 | ;calculate colors |
183 | ;calculate colors |
184 | and edx,111111101111111011111110b |
184 | and edx,111111101111111011111110b |
185 | add edx,esi |
185 | add edx,esi |
186 | shr edx,1 |
186 | shr edx,1 |
187 | ;line move down and ->...<- |
187 | ;line move down and ->...<- |
188 | add ecx,1 shl 16 ;move down |
188 | add ecx,1 shl 16 ;move down |
189 | add ebx,1 shl 16 ;->... |
189 | add ebx,1 shl 16 ;->... |
190 | sub ebx,2 ;...<- |
190 | sub ebx,2 ;...<- |
191 | ;draw line |
191 | ;draw line |
192 | int 0x40 |
192 | int 0x40 |
193 | dec edi |
193 | dec edi |
194 | jnz @b |
194 | jnz @b |
195 | 195 | ||
196 | ;left line |
196 | ;left line |
197 | mov edx,dword[col_0] |
197 | mov edx,dword[col_0] |
198 | mov ebx,dword[box_l] |
198 | mov ebx,dword[box_l] |
199 | shl ebx,16 |
199 | shl ebx,16 |
200 | inc ebx |
200 | inc ebx |
201 | mov ecx,dword[box_t] |
201 | mov ecx,dword[box_t] |
202 | shl ecx,16 |
202 | shl ecx,16 |
203 | add ecx,dword[box_h] |
203 | add ecx,dword[box_h] |
204 | 204 | ||
205 | mov edi,3 ;for cycle |
205 | mov edi,3 ;for cycle |
206 | @@: |
206 | @@: |
207 | ;calculate colors |
207 | ;calculate colors |
208 | and edx,111111101111111011111110b |
208 | and edx,111111101111111011111110b |
209 | add edx,esi |
209 | add edx,esi |
210 | shr edx,1 |
210 | shr edx,1 |
211 | ;line move left and ... |
211 | ;line move left and ... |
212 | add ebx,1 shl 16 ;move left |
212 | add ebx,1 shl 16 ;move left |
213 | add ecx,1 shl 16 |
213 | add ecx,1 shl 16 |
214 | sub ecx,2 |
214 | sub ecx,2 |
215 | ;draw line |
215 | ;draw line |
216 | int 0x40 |
216 | int 0x40 |
217 | dec edi |
217 | dec edi |
218 | jnz @b |
218 | jnz @b |
219 | 219 | ||
220 | ret |
220 | ret |
221 | endp |
221 | endp |
222 | 222 | ||
223 | 223 | ||
224 | align 16 |
224 | align 16 |
225 | EXPORTS: |
225 | EXPORTS: |
226 | 226 | ||
227 | 227 | ||
228 | dd sz_init, lib_init |
228 | dd sz_init, lib_init |
229 | dd sz_version, 0x00000001 |
229 | dd sz_version, 0x00000001 |
230 | 230 | ||
231 | dd sz_edit_box, edit_box |
231 | dd sz_edit_box, edit_box |
232 | dd sz_edit_box_key, edit_box_key |
232 | dd sz_edit_box_key, edit_box_key |
233 | dd sz_edit_box_mouse, edit_box_mouse |
233 | dd sz_edit_box_mouse, edit_box_mouse |
234 | dd sz_edit_box_set_text, edit_box_set_text |
234 | dd sz_edit_box_set_text, edit_box_set_text |
235 | dd szVersion_ed, 0x00000001 |
235 | dd szVersion_ed, 0x00000001 |
236 | 236 | ||
237 | dd sz_init_checkbox2, init_checkbox2 |
237 | dd sz_init_checkbox2, init_checkbox2 |
238 | dd sz_check_box_draw2, check_box_draw2 |
238 | dd sz_check_box_draw2, check_box_draw2 |
239 | dd sz_check_box_mouse2, check_box_mouse2 |
239 | dd sz_check_box_mouse2, check_box_mouse2 |
240 | dd szVersion_ch2, 0x00000002 |
240 | dd szVersion_ch2, 0x00000002 |
241 | 241 | ||
242 | dd sz_option_box_draw, option_box_draw |
242 | dd sz_option_box_draw, option_box_draw |
243 | dd sz_option_box_mouse, option_box_mouse |
243 | dd sz_option_box_mouse, option_box_mouse |
244 | dd szVersion_op, 0x00000001 |
244 | dd szVersion_op, 0x00000001 |
245 | 245 | ||
246 | dd sz_Scrollbar_ver_draw, scroll_bar_vertical.draw |
246 | dd sz_Scrollbar_ver_draw, scroll_bar_vertical.draw |
247 | dd sz_Scrollbar_ver_mouse, scroll_bar_vertical.mouse |
247 | dd sz_Scrollbar_ver_mouse, scroll_bar_vertical.mouse |
248 | dd sz_Scrollbar_hor_draw, scroll_bar_horizontal.draw |
248 | dd sz_Scrollbar_hor_draw, scroll_bar_horizontal.draw |
249 | dd sz_Scrollbar_hor_mouse, scroll_bar_horizontal.mouse |
249 | dd sz_Scrollbar_hor_mouse, scroll_bar_horizontal.mouse |
250 | dd szVersion_scrollbar, 0x00010001 |
250 | dd szVersion_scrollbar, 0x00010001 |
251 | 251 | ||
252 | dd sz_Dbutton_draw, dinamic_button.draw |
252 | dd sz_Dbutton_draw, dinamic_button.draw |
253 | dd sz_Dbutton_mouse, dinamic_button.mouse |
253 | dd sz_Dbutton_mouse, dinamic_button.mouse |
254 | dd szVersion_dbutton, 0x00010001 |
254 | dd szVersion_dbutton, 0x00010001 |
255 | 255 | ||
256 | dd sz_Menu_bar_draw, menu_bar.draw |
256 | dd sz_Menu_bar_draw, menu_bar.draw |
257 | dd sz_Menu_bar_mouse, menu_bar.mouse |
257 | dd sz_Menu_bar_mouse, menu_bar.mouse |
258 | dd sz_Menu_bar_activate, menu_bar.activate |
258 | dd sz_Menu_bar_activate, menu_bar.activate |
259 | dd szVersion_menu_bar, 0x00010002 |
259 | dd szVersion_menu_bar, 0x00010002 |
260 | 260 | ||
261 | dd sz_FileBrowser_draw, fb_draw_panel |
261 | dd sz_FileBrowser_draw, fb_draw_panel |
262 | dd sz_FileBrowser_mouse, fb_mouse |
262 | dd sz_FileBrowser_mouse, fb_mouse |
263 | dd sz_FileBrowser_key, fb_key |
263 | dd sz_FileBrowser_key, fb_key |
264 | dd szVersion_FileBrowser, 0x00010001 |
264 | dd szVersion_FileBrowser, 0x00010001 |
265 | 265 | ||
266 | dd sz_tl_data_init, tl_data_init |
266 | dd sz_tl_data_init, tl_data_init |
267 | dd sz_tl_data_clear, tl_data_clear |
267 | dd sz_tl_data_clear, tl_data_clear |
268 | dd sz_tl_info_clear, tl_info_clear |
268 | dd sz_tl_info_clear, tl_info_clear |
269 | dd sz_tl_key, tl_key |
269 | dd sz_tl_key, tl_key |
270 | dd sz_tl_mouse, tl_mouse |
270 | dd sz_tl_mouse, tl_mouse |
271 | dd sz_tl_draw, tl_draw |
271 | dd sz_tl_draw, tl_draw |
272 | dd sz_tl_info_undo, tl_info_undo |
272 | dd sz_tl_info_undo, tl_info_undo |
273 | dd sz_tl_info_redo, tl_info_redo |
273 | dd sz_tl_info_redo, tl_info_redo |
274 | dd sz_tl_node_add, tl_node_add |
274 | dd sz_tl_node_add, tl_node_add |
275 | dd sz_tl_node_set_data, tl_node_set_data |
275 | dd sz_tl_node_set_data, tl_node_set_data |
276 | dd sz_tl_node_get_data, tl_node_get_data |
276 | dd sz_tl_node_get_data, tl_node_get_data |
277 | dd sz_tl_node_delete, tl_node_delete |
277 | dd sz_tl_node_delete, tl_node_delete |
278 | dd sz_tl_cur_beg, tl_cur_beg |
278 | dd sz_tl_cur_beg, tl_cur_beg |
279 | dd sz_tl_cur_next, tl_cur_next |
279 | dd sz_tl_cur_next, tl_cur_next |
280 | dd sz_tl_cur_perv, tl_cur_perv |
280 | dd sz_tl_cur_perv, tl_cur_perv |
281 | dd sz_tl_node_close_open, tl_node_close_open |
281 | dd sz_tl_node_close_open, tl_node_close_open |
282 | dd sz_tl_node_lev_inc, tl_node_lev_inc |
282 | dd sz_tl_node_lev_inc, tl_node_lev_inc |
283 | dd sz_tl_node_lev_dec, tl_node_lev_dec |
283 | dd sz_tl_node_lev_dec, tl_node_lev_dec |
284 | dd sz_tl_node_move_up, tl_node_move_up |
284 | dd sz_tl_node_move_up, tl_node_move_up |
285 | dd sz_tl_node_move_down, tl_node_move_down |
285 | dd sz_tl_node_move_down, tl_node_move_down |
286 | dd sz_tl_node_poi_get_info, tl_node_poi_get_info |
286 | dd sz_tl_node_poi_get_info, tl_node_poi_get_info |
287 | dd sz_tl_node_poi_get_next_info, tl_node_poi_get_next_info |
287 | dd sz_tl_node_poi_get_next_info, tl_node_poi_get_next_info |
288 | dd sz_tl_node_poi_get_data, tl_node_poi_get_data |
288 | dd sz_tl_node_poi_get_data, tl_node_poi_get_data |
289 | dd sz_tl_save_mem, tl_save_mem |
289 | dd sz_tl_save_mem, tl_save_mem |
290 | dd sz_tl_load_mem, tl_load_mem |
290 | dd sz_tl_load_mem, tl_load_mem |
291 | dd sz_tl_get_mem_size, tl_get_mem_size |
291 | dd sz_tl_get_mem_size, tl_get_mem_size |
292 | dd sz_tl_version_tree_list, 0x00000001 |
292 | dd sz_tl_version_tree_list, 0x00000001 |
293 | 293 | ||
294 | dd sz_PathShow_prepare, path_show.prepare |
294 | dd sz_PathShow_prepare, path_show.prepare |
295 | dd sz_PathShow_draw, path_show.draw |
295 | dd sz_PathShow_draw, path_show.draw |
296 | dd szVersion_path_show, 0x00010001 |
296 | dd szVersion_path_show, 0x00010001 |
297 | 297 | ||
298 | dd sz_ted_but_sumb_upper, ted_but_sumb_upper |
298 | dd sz_ted_but_sumb_upper, ted_but_sumb_upper |
299 | dd sz_ted_but_sumb_lover, ted_but_sumb_lover |
299 | dd sz_ted_but_sumb_lover, ted_but_sumb_lover |
300 | dd sz_ted_but_convert_by_table, ted_but_convert_by_table |
300 | dd sz_ted_but_convert_by_table, ted_but_convert_by_table |
301 | dd sz_ted_can_save, ted_can_save |
301 | dd sz_ted_can_save, ted_can_save |
302 | dd sz_ted_clear, ted_clear |
302 | dd sz_ted_clear, ted_clear |
303 | dd sz_ted_delete, ted_delete |
303 | dd sz_ted_delete, ted_delete |
304 | dd sz_ted_draw, ted_draw |
304 | dd sz_ted_draw, ted_draw |
305 | dd sz_ted_init, ted_init |
305 | dd sz_ted_init, ted_init |
306 | dd sz_ted_init_scroll_bars, ted_init_scroll_bars |
306 | dd sz_ted_init_scroll_bars, ted_init_scroll_bars |
307 | dd sz_ted_init_syntax_file, ted_init_syntax_file |
307 | dd sz_ted_init_syntax_file, ted_init_syntax_file |
308 | dd sz_ted_is_select, ted_is_select |
308 | dd sz_ted_is_select, ted_is_select |
309 | dd sz_ted_key, ted_key |
309 | dd sz_ted_key, ted_key |
310 | dd sz_ted_mouse, ted_mouse |
310 | dd sz_ted_mouse, ted_mouse |
311 | dd sz_ted_open_file, ted_open_file |
311 | dd sz_ted_open_file, ted_open_file |
312 | dd sz_ted_save_file, ted_save_file |
312 | dd sz_ted_save_file, ted_save_file |
313 | dd sz_ted_text_add, ted_text_add |
313 | dd sz_ted_text_add, ted_text_add |
314 | dd sz_ted_but_select_word, ted_but_select_word |
314 | dd sz_ted_but_select_word, ted_but_select_word |
315 | dd sz_ted_but_cut, ted_but_cut |
315 | dd sz_ted_but_cut, ted_but_cut |
316 | dd sz_ted_but_copy, ted_but_copy |
316 | dd sz_ted_but_copy, ted_but_copy |
317 | dd sz_ted_but_paste, ted_but_paste |
317 | dd sz_ted_but_paste, ted_but_paste |
318 | dd sz_ted_but_undo, ted_but_undo |
318 | dd sz_ted_but_undo, ted_but_undo |
319 | dd sz_ted_but_redo, ted_but_redo |
319 | dd sz_ted_but_redo, ted_but_redo |
320 | dd sz_ted_but_reverse, ted_but_reverse |
320 | dd sz_ted_but_reverse, ted_but_reverse |
- | 321 | dd sz_ted_but_find, ted_but_find |
|
321 | dd sz_ted_but_find_next, ted_but_find_next |
322 | dd sz_ted_but_find_next, ted_but_find_next |
- | 323 | dd sz_ted_but_replace, ted_but_replace |
|
322 | dd sz_ted_text_colored, ted_text_colored |
324 | dd sz_ted_text_colored, ted_text_colored |
323 | dd sz_ted_version, 0x00000005 |
325 | dd sz_ted_version, 0x00000005 |
324 | 326 | ||
325 | dd sz_Frame_draw, frame.draw |
327 | dd sz_Frame_draw, frame.draw |
326 | dd szVersion_frame, 0x00010001 |
328 | dd szVersion_frame, 0x00010001 |
327 | 329 | ||
328 | dd sz_progressbar_draw, progressbar_draw |
330 | dd sz_progressbar_draw, progressbar_draw |
329 | dd sz_progressbar_progress, progressbar_progress |
331 | dd sz_progressbar_progress, progressbar_progress |
330 | 332 | ||
331 | dd sz_tooltip_init, tooltip_init |
333 | dd sz_tooltip_init, tooltip_init |
332 | dd sz_tooltip_delete, tooltip_delete |
334 | dd sz_tooltip_delete, tooltip_delete |
333 | dd sz_tooltip_test_show, tooltip_test_show |
335 | dd sz_tooltip_test_show, tooltip_test_show |
334 | dd sz_tooltip_mouse, tooltip_mouse |
336 | dd sz_tooltip_mouse, tooltip_mouse |
335 | dd sz_get_font_size, get_font_size |
337 | dd sz_get_font_size, get_font_size |
336 | 338 | ||
337 | dd 0,0 |
339 | dd 0,0 |
338 | 340 | ||
339 | 341 | ||
340 | sz_init db 'lib_init',0 |
342 | sz_init db 'lib_init',0 |
341 | sz_version db 'version',0 |
343 | sz_version db 'version',0 |
342 | 344 | ||
343 | sz_edit_box db 'edit_box',0 |
345 | sz_edit_box db 'edit_box',0 |
344 | sz_edit_box_key db 'edit_box_key',0 |
346 | sz_edit_box_key db 'edit_box_key',0 |
345 | sz_edit_box_mouse db 'edit_box_mouse',0 |
347 | sz_edit_box_mouse db 'edit_box_mouse',0 |
346 | sz_edit_box_set_text db 'edit_box_set_text',0 |
348 | sz_edit_box_set_text db 'edit_box_set_text',0 |
347 | szVersion_ed db 'version_ed',0 |
349 | szVersion_ed db 'version_ed',0 |
348 | 350 | ||
349 | sz_init_checkbox2 db 'init_checkbox2',0 |
351 | sz_init_checkbox2 db 'init_checkbox2',0 |
350 | sz_check_box_draw2 db 'check_box_draw2',0 |
352 | sz_check_box_draw2 db 'check_box_draw2',0 |
351 | sz_check_box_mouse2 db 'check_box_mouse2',0 |
353 | sz_check_box_mouse2 db 'check_box_mouse2',0 |
352 | szVersion_ch2 db 'version_ch2',0 |
354 | szVersion_ch2 db 'version_ch2',0 |
353 | 355 | ||
354 | sz_option_box_draw db 'option_box_draw',0 |
356 | sz_option_box_draw db 'option_box_draw',0 |
355 | sz_option_box_mouse db 'option_box_mouse',0 |
357 | sz_option_box_mouse db 'option_box_mouse',0 |
356 | szVersion_op db 'version_op',0 |
358 | szVersion_op db 'version_op',0 |
357 | 359 | ||
358 | sz_Scrollbar_ver_draw db 'scrollbar_v_draw',0 |
360 | sz_Scrollbar_ver_draw db 'scrollbar_v_draw',0 |
359 | sz_Scrollbar_ver_mouse db 'scrollbar_v_mouse',0 |
361 | sz_Scrollbar_ver_mouse db 'scrollbar_v_mouse',0 |
360 | sz_Scrollbar_hor_draw db 'scrollbar_h_draw',0 |
362 | sz_Scrollbar_hor_draw db 'scrollbar_h_draw',0 |
361 | sz_Scrollbar_hor_mouse db 'scrollbar_h_mouse',0 |
363 | sz_Scrollbar_hor_mouse db 'scrollbar_h_mouse',0 |
362 | szVersion_scrollbar db 'version_scrollbar',0 |
364 | szVersion_scrollbar db 'version_scrollbar',0 |
363 | 365 | ||
364 | sz_Dbutton_draw db 'dbutton_draw',0 |
366 | sz_Dbutton_draw db 'dbutton_draw',0 |
365 | sz_Dbutton_mouse db 'dbutton_mouse',0 |
367 | sz_Dbutton_mouse db 'dbutton_mouse',0 |
366 | szVersion_dbutton db 'version_dbutton',0 |
368 | szVersion_dbutton db 'version_dbutton',0 |
367 | 369 | ||
368 | sz_Menu_bar_draw db 'menu_bar_draw',0 |
370 | sz_Menu_bar_draw db 'menu_bar_draw',0 |
369 | sz_Menu_bar_mouse db 'menu_bar_mouse',0 |
371 | sz_Menu_bar_mouse db 'menu_bar_mouse',0 |
370 | sz_Menu_bar_activate db 'menu_bar_activate',0 |
372 | sz_Menu_bar_activate db 'menu_bar_activate',0 |
371 | szVersion_menu_bar db 'version_menu_bar',0 |
373 | szVersion_menu_bar db 'version_menu_bar',0 |
372 | 374 | ||
373 | sz_FileBrowser_draw db 'FileBrowser_draw',0 |
375 | sz_FileBrowser_draw db 'FileBrowser_draw',0 |
374 | sz_FileBrowser_mouse db 'FileBrowser_mouse',0 |
376 | sz_FileBrowser_mouse db 'FileBrowser_mouse',0 |
375 | sz_FileBrowser_key db 'FileBrowser_key',0 |
377 | sz_FileBrowser_key db 'FileBrowser_key',0 |
376 | szVersion_FileBrowser db 'version_FileBrowser',0 |
378 | szVersion_FileBrowser db 'version_FileBrowser',0 |
377 | 379 | ||
378 | sz_tl_data_init db 'tl_data_init',0 |
380 | sz_tl_data_init db 'tl_data_init',0 |
379 | sz_tl_data_clear db 'tl_data_clear',0 |
381 | sz_tl_data_clear db 'tl_data_clear',0 |
380 | sz_tl_info_clear db 'tl_info_clear',0 |
382 | sz_tl_info_clear db 'tl_info_clear',0 |
381 | sz_tl_key db 'tl_key',0 |
383 | sz_tl_key db 'tl_key',0 |
382 | sz_tl_mouse db 'tl_mouse',0 |
384 | sz_tl_mouse db 'tl_mouse',0 |
383 | sz_tl_draw db 'tl_draw',0 |
385 | sz_tl_draw db 'tl_draw',0 |
384 | sz_tl_info_undo db 'tl_info_undo',0 |
386 | sz_tl_info_undo db 'tl_info_undo',0 |
385 | sz_tl_info_redo db 'tl_info_redo',0 |
387 | sz_tl_info_redo db 'tl_info_redo',0 |
386 | sz_tl_node_add db 'tl_node_add',0 |
388 | sz_tl_node_add db 'tl_node_add',0 |
387 | sz_tl_node_set_data db 'tl_node_set_data',0 |
389 | sz_tl_node_set_data db 'tl_node_set_data',0 |
388 | sz_tl_node_get_data db 'tl_node_get_data',0 |
390 | sz_tl_node_get_data db 'tl_node_get_data',0 |
389 | sz_tl_node_delete db 'tl_node_delete',0 |
391 | sz_tl_node_delete db 'tl_node_delete',0 |
390 | sz_tl_cur_beg db 'tl_cur_beg',0 |
392 | sz_tl_cur_beg db 'tl_cur_beg',0 |
391 | sz_tl_cur_next db 'tl_cur_next',0 |
393 | sz_tl_cur_next db 'tl_cur_next',0 |
392 | sz_tl_cur_perv db 'tl_cur_perv',0 |
394 | sz_tl_cur_perv db 'tl_cur_perv',0 |
393 | sz_tl_node_close_open db 'tl_node_close_open',0 |
395 | sz_tl_node_close_open db 'tl_node_close_open',0 |
394 | sz_tl_node_lev_inc db 'tl_node_lev_inc',0 |
396 | sz_tl_node_lev_inc db 'tl_node_lev_inc',0 |
395 | sz_tl_node_lev_dec db 'tl_node_lev_dec',0 |
397 | sz_tl_node_lev_dec db 'tl_node_lev_dec',0 |
396 | sz_tl_node_move_up db 'tl_node_move_up',0 |
398 | sz_tl_node_move_up db 'tl_node_move_up',0 |
397 | sz_tl_node_move_down db 'tl_node_move_down',0 |
399 | sz_tl_node_move_down db 'tl_node_move_down',0 |
398 | sz_tl_node_poi_get_info db 'tl_node_poi_get_info',0 |
400 | sz_tl_node_poi_get_info db 'tl_node_poi_get_info',0 |
399 | sz_tl_node_poi_get_next_info db 'tl_node_poi_get_next_info',0 |
401 | sz_tl_node_poi_get_next_info db 'tl_node_poi_get_next_info',0 |
400 | sz_tl_node_poi_get_data db 'tl_node_poi_get_data',0 |
402 | sz_tl_node_poi_get_data db 'tl_node_poi_get_data',0 |
401 | sz_tl_save_mem db 'tl_save_mem',0 |
403 | sz_tl_save_mem db 'tl_save_mem',0 |
402 | sz_tl_load_mem db 'tl_load_mem',0 |
404 | sz_tl_load_mem db 'tl_load_mem',0 |
403 | sz_tl_get_mem_size db 'tl_get_mem_size',0 |
405 | sz_tl_get_mem_size db 'tl_get_mem_size',0 |
404 | sz_tl_version_tree_list db 'version_tree_list',0 |
406 | sz_tl_version_tree_list db 'version_tree_list',0 |
405 | 407 | ||
406 | sz_PathShow_prepare db 'PathShow_prepare',0 |
408 | sz_PathShow_prepare db 'PathShow_prepare',0 |
407 | sz_PathShow_draw db 'PathShow_draw',0 |
409 | sz_PathShow_draw db 'PathShow_draw',0 |
408 | szVersion_path_show db 'version_PathShow',0 |
410 | szVersion_path_show db 'version_PathShow',0 |
409 | 411 | ||
410 | sz_ted_but_sumb_upper db 'ted_but_sumb_upper',0 |
412 | sz_ted_but_sumb_upper db 'ted_but_sumb_upper',0 |
411 | sz_ted_but_sumb_lover db 'ted_but_sumb_lover',0 |
413 | sz_ted_but_sumb_lover db 'ted_but_sumb_lover',0 |
412 | sz_ted_but_convert_by_table db 'ted_but_convert_by_table',0 |
414 | sz_ted_but_convert_by_table db 'ted_but_convert_by_table',0 |
413 | sz_ted_can_save db 'ted_can_save',0 |
415 | sz_ted_can_save db 'ted_can_save',0 |
414 | sz_ted_clear db 'ted_clear',0 |
416 | sz_ted_clear db 'ted_clear',0 |
415 | sz_ted_delete db 'ted_delete',0 |
417 | sz_ted_delete db 'ted_delete',0 |
416 | sz_ted_draw db 'ted_draw',0 |
418 | sz_ted_draw db 'ted_draw',0 |
417 | sz_ted_init db 'ted_init',0 |
419 | sz_ted_init db 'ted_init',0 |
418 | sz_ted_init_scroll_bars db 'ted_init_scroll_bars',0 |
420 | sz_ted_init_scroll_bars db 'ted_init_scroll_bars',0 |
419 | sz_ted_init_syntax_file db 'ted_init_syntax_file',0 |
421 | sz_ted_init_syntax_file db 'ted_init_syntax_file',0 |
420 | sz_ted_is_select db 'ted_is_select',0 |
422 | sz_ted_is_select db 'ted_is_select',0 |
421 | sz_ted_key db 'ted_key',0 |
423 | sz_ted_key db 'ted_key',0 |
422 | sz_ted_mouse db 'ted_mouse',0 |
424 | sz_ted_mouse db 'ted_mouse',0 |
423 | sz_ted_open_file db 'ted_open_file',0 |
425 | sz_ted_open_file db 'ted_open_file',0 |
424 | sz_ted_save_file db 'ted_save_file',0 |
426 | sz_ted_save_file db 'ted_save_file',0 |
425 | sz_ted_text_add db 'ted_text_add',0 |
427 | sz_ted_text_add db 'ted_text_add',0 |
426 | sz_ted_but_select_word db 'ted_but_select_word',0 |
428 | sz_ted_but_select_word db 'ted_but_select_word',0 |
427 | sz_ted_but_cut db 'ted_but_cut',0 |
429 | sz_ted_but_cut db 'ted_but_cut',0 |
428 | sz_ted_but_copy db 'ted_but_copy',0 |
430 | sz_ted_but_copy db 'ted_but_copy',0 |
429 | sz_ted_but_paste db 'ted_but_paste',0 |
431 | sz_ted_but_paste db 'ted_but_paste',0 |
430 | sz_ted_but_undo db 'ted_but_undo',0 |
432 | sz_ted_but_undo db 'ted_but_undo',0 |
431 | sz_ted_but_redo db 'ted_but_redo',0 |
433 | sz_ted_but_redo db 'ted_but_redo',0 |
432 | sz_ted_but_reverse db 'ted_but_reverse',0 |
434 | sz_ted_but_reverse db 'ted_but_reverse',0 |
- | 435 | sz_ted_but_find db 'ted_but_find',0 |
|
433 | sz_ted_but_find_next db 'ted_but_find_next',0 |
436 | sz_ted_but_find_next db 'ted_but_find_next',0 |
- | 437 | sz_ted_but_replace db 'ted_but_replace',0 |
|
434 | sz_ted_text_colored db 'ted_text_colored',0 |
438 | sz_ted_text_colored db 'ted_text_colored',0 |
435 | sz_ted_version db 'version_text_edit',0 |
439 | sz_ted_version db 'version_text_edit',0 |
436 | 440 | ||
437 | sz_Frame_draw db 'frame_draw',0 |
441 | sz_Frame_draw db 'frame_draw',0 |
438 | szVersion_frame db 'version_frame',0 |
442 | szVersion_frame db 'version_frame',0 |
439 | 443 | ||
440 | sz_progressbar_draw db 'progressbar_draw', 0 |
444 | sz_progressbar_draw db 'progressbar_draw', 0 |
441 | sz_progressbar_progress db 'progressbar_progress', 0 |
445 | sz_progressbar_progress db 'progressbar_progress', 0 |
442 | 446 | ||
443 | sz_tooltip_init db 'tooltip_init', 0 |
447 | sz_tooltip_init db 'tooltip_init', 0 |
444 | sz_tooltip_delete db 'tooltip_delete', 0 |
448 | sz_tooltip_delete db 'tooltip_delete', 0 |
445 | sz_tooltip_test_show db 'tooltip_test_show', 0 |
449 | sz_tooltip_test_show db 'tooltip_test_show', 0 |
446 | sz_tooltip_mouse db 'tooltip_mouse', 0 |
450 | sz_tooltip_mouse db 'tooltip_mouse', 0 |
447 | sz_get_font_size db 'get_font_size', 0- |
451 | sz_get_font_size db 'get_font_size', 0- |
448 | >- |
452 | >- |
449 | >- |
453 | >- |
450 | >- |
454 | >- |
451 | > |
455 | > |