Subversion Repositories Kolibri OS

Rev

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

Rev 595 Rev 617
Line 1... Line 1...
1
;-----------------------------------------------------------------------------
1
;-----------------------------------------------------------------------------
2
func define_3d_button ;///////////////////////////////////////////////////////
2
proc define_3d_button ;///////////////////////////////////////////////////////
3
;-----------------------------------------------------------------------------
3
;-----------------------------------------------------------------------------
4
; ebx = 
4
; ebx = 
5
; ecx = 
5
; ecx = 
6
; esp+4*3 = id
6
; esp+4*3 = id
7
; esp+4*2 = text
7
; esp+4*2 = text
Line 24... Line 24...
24
	mov	bx,cx
24
	mov	bx,cx
25
	add	ebx,7*65536+4
25
	add	ebx,7*65536+4
26
	mcall	4,,[sc.work_text],[esp+4*8+4*2],[esp+4*8+4*1]
26
	mcall	4,,[sc.work_text],[esp+4*8+4*2],[esp+4*8+4*1]
27
	popad
27
	popad
28
	ret	4*3
28
	ret	4*3
29
endf
29
endp
Line 30... Line 30...
30
 
30
 
31
finddlg_handler:
31
finddlg_handler:
32
	cmp	al,1
32
	cmp	al,1
33
	je	.draw
33
	je	.draw
Line 639... Line 639...
639
  .found:
639
  .found:
640
	push	[copy_size] [copy_count] [copy_buf]
640
	push	[copy_size] [copy_count] [copy_buf]
Line 641... Line 641...
641
 
641
 
642
	movzx	eax,[tb_replace.length]
642
	movzx	eax,[tb_replace.length]
643
	add	eax,10
643
	add	eax,10
644
	call	mem.Alloc
644
	stdcall	mem.Alloc,eax
Line 645... Line 645...
645
	mov	[copy_buf],eax
645
	mov	[copy_buf],eax
646
 
646
 
647
	movzx	eax,[tb_replace.length]
647
	movzx	eax,[tb_replace.length]
Line 659... Line 659...
659
	mov	ebp,cur_editor
659
	mov	ebp,cur_editor
660
	call	init_sel_vars
660
	call	init_sel_vars
661
	call	key.ctrl_v
661
	call	key.ctrl_v
662
	pop	[cur_editor.SelStart.X]
662
	pop	[cur_editor.SelStart.X]
Line 663... Line 663...
663
 
663
 
664
	mov	eax,[copy_buf]
-
 
Line 665... Line 664...
665
	call	mem.Free
664
	stdcall	mem.Free,[copy_buf]
Line 666... Line 665...
666
 
665
 
667
	pop	[copy_buf] [copy_count] [copy_size]
666
	pop	[copy_buf] [copy_count] [copy_size]