Subversion Repositories Kolibri OS

Rev

Rev 5838 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5838 Rev 7996
Line 1618... Line 1618...
1618
endp
1618
endp
Line 1619... Line 1619...
1619
 
1619
 
1620
;---------------------------------------------------------------
1620
;---------------------------------------------------------------
1621
proc key.ctrl_plus ;///// ZOOM IN //////////////////////////////
1621
proc key.ctrl_plus ;///// ZOOM IN //////////////////////////////
1622
;---------------------------------------------------------------
1622
;---------------------------------------------------------------
1623
	cmp	[scale],7
1623
	cmp	[scale],0x17
1624
	jz	@f
1624
	jz	@f
1625
	inc	[scale]
1625
	inc	[scale]
1626
	add	[lineHeight],LINEH
1626
	add	[lineHeight], LINEH
1627
	add	[charWidth],6
1627
	add	[charWidth], 8
1628
	jmp	draw_editor
1628
	jmp	draw_editor
Line 1629... Line 1629...
1629
endp
1629
endp
1630
 
1630
 
1631
;---------------------------------------------------------------
1631
;---------------------------------------------------------------
1632
proc key.ctrl_minus ;///// ZOOM OUT ////////////////////////////
1632
proc key.ctrl_minus ;///// ZOOM OUT ////////////////////////////
1633
;---------------------------------------------------------------
1633
;---------------------------------------------------------------
1634
	cmp	[scale],0
1634
	cmp	[scale],0x10
1635
	jz	@f
1635
	jz	@f
1636
	dec	[scale]
1636
	dec	[scale]
1637
	sub	[lineHeight],LINEH
1637
	sub	[lineHeight], LINEH
1638
	sub	[charWidth],6
1638
	sub	[charWidth], 8
1639
	jmp	draw_editor
1639
	jmp	draw_editor
1640
@@:
1640
@@: