Subversion Repositories Kolibri OS

Rev

Rev 3478 | Rev 4601 | Go to most recent revision | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

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