Rev 8533 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 8533 | Rev 9610 | ||
---|---|---|---|
Line 291... | Line 291... | ||
291 | push esi |
291 | push esi |
292 | mov esi,tl_box_top |
292 | mov esi,tl_box_top |
293 | add esi,tl_box_height ;esi = coord bottom border |
293 | add esi,tl_box_height ;esi = coord bottom border |
294 | call tl_draw_null_cursor ;áâ¨à ¥¬ ªãàá®à |
294 | call tl_draw_null_cursor ;áâ¨à ¥¬ ªãàá®à |
295 | pop esi |
295 | pop esi |
296 | @@: |
- | |
297 | - | ||
298 | mov tl_cur_pos,eax |
296 | mov tl_cur_pos,eax |
- | 297 | @@: |
|
Line 299... | Line 298... | ||
299 | 298 | ||
300 | ; if '+' or '-' press |
299 | ; if '+' or '-' press |
301 | call tl_get_cur_node_index ;eax = node index |
300 | call tl_get_cur_node_index ;eax = node index |
302 | cmp eax,2 |
301 | cmp eax,2 |
Line 1408... | Line 1407... | ||
1408 | ;output: |
1407 | ;output: |
1409 | ; eax - pointer to node info |
1408 | ; eax - pointer to node info |
1410 | align 4 |
1409 | align 4 |
1411 | proc tl_node_poi_get_info uses ebx ecx edx edi, tlist:dword, node_ind:dword |
1410 | proc tl_node_poi_get_info uses ebx ecx edx edi, tlist:dword, node_ind:dword |
1412 | mov edi,[tlist] |
1411 | mov edi,[tlist] |
1413 | mov ebx,dword[node_ind] |
1412 | mov ebx,[node_ind] |
- | 1413 | inc ebx |
|
Line 1414... | Line 1414... | ||
1414 | 1414 | ||
1415 | ;cycle to nodes |
1415 | ;cycle to nodes |
1416 | mov edx,tl_data_nodes |
- | |
1417 | mov ecx,edx |
1416 | mov edx,tl_data_nodes |
1418 | add ecx,sizeof.TreeNode |
1417 | lea ecx,[edx+sizeof.TreeNode] |
1419 | @@: |
1418 | @@: |
1420 | call tl_iterat_next_all |
1419 | call tl_iterat_next |
1421 | cmp edx,ecx |
1420 | cmp edx,ecx |
1422 | jle @f |
1421 | jle @f |
1423 | dec ebx |
1422 | dec ebx |
1424 | cmp ebx,0 |
1423 | cmp ebx,0 |