Subversion Repositories Kolibri OS

Rev

Rev 5831 | Rev 6087 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5831 Rev 5911
Line 151... Line 151...
151
		cld
151
		cld
152
		.cycle_0:
152
		.cycle_0:
153
		stdcall str_instr, ebx,[edit3.text]
153
		stdcall str_instr, ebx,[edit3.text]
154
		test al,al
154
		test al,al
155
		jnz .end_add
155
		jnz .end_add
156
			stdcall dword[tl_node_add], ebx, (0 shl 16), tree3
156
			stdcall dword[tl_node_add], tree3, (0 shl 16), ebx 
157
			stdcall dword[tl_cur_next], tree3
157
			stdcall dword[tl_cur_next], tree3
158
		.end_add:
158
		.end_add:
159
		add ebx,MAX_COLOR_WORD_LEN+8 ;sizeof.TexColViv
159
		add ebx,MAX_COLOR_WORD_LEN+8 ;sizeof.TexColViv
160
		loop .cycle_0
160
		loop .cycle_0
Line 164... Line 164...
164
	@@:
164
	@@:
165
	cmp ah,4
165
	cmp ah,4
166
	jne @f
166
	jne @f
167
		;ª®¯¨à®¢ âì ¢ ¡ãä¥à
167
		;ª®¯¨à®¢ âì ¢ ¡ãä¥à
168
		stdcall [tl_node_get_data],tree3
168
		stdcall [tl_node_get_data],tree3
169
		pop esi
-
 
170
		or esi,esi
169
		or eax,eax
171
		jz .no_select_0
170
		jz .no_select_0
-
 
171
			mov esi,eax
172
			mov edi,[tedit0.buffer]
172
			mov edi,[tedit0.buffer]
173
			mov dword[edi],MAX_COLOR_WORD_LEN
173
			mov dword[edi],MAX_COLOR_WORD_LEN
174
			mov dword[edi+4],0 ;text data
174
			mov dword[edi+4],0 ;text data
175
			mov dword[edi+8],1 ;code 866
175
			mov dword[edi+8],1 ;code 866
176
			add edi,12 ;system buffer header size
176
			add edi,12 ;system buffer header size
Line 197... Line 197...
197
editboxes_end:
197
editboxes_end:
Line 198... Line 198...
198
 
198
 
Line 199... Line 199...
199
string1 rb MAX_COLOR_WORD_LEN
199
string1 rb MAX_COLOR_WORD_LEN
200
 
-
 
201
align 4
-
 
202
w_scr_t3:
-
 
203
.size_x     dw 16 ;+0
-
 
204
rb 2+2+2
-
 
205
.btn_high   dd 15 ;+8
-
 
206
.type	    dd 1  ;+12
-
 
207
.max_area   dd 100  ;+16
-
 
208
rb 4+4
200
 
209
.bckg_col   dd 0xeeeeee ;+28
-
 
210
.frnt_col   dd 0xbbddff ;+32
-
 
211
.line_col   dd 0  ;+36
-
 
212
rb 4+2+2
-
 
213
.run_x:
-
 
214
rb 2+2+2+2+4+4+4+4+4+4
-
 
215
.all_redraw dd 0 ;+80
-
 
216
.ar_offset  dd 1 ;+84
201
align 4