Subversion Repositories Kolibri OS

Rev

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

Rev 2279 Rev 5763
Line 1631... Line 1631...
1631
	mov	esi,0x6688dd	; button color RRGGBB
1631
	mov	esi,0x6688dd	; button color RRGGBB
1632
	int	0x40
1632
	int	0x40
1633
	; ROTARY  LABEL
1633
	; ROTARY  LABEL
1634
	mov	eax,4		; function 4 : write text to window
1634
	mov	eax,4		; function 4 : write text to window
1635
	mov	ebx,(SIZE_X+12)*65536+28   ; [x start] *65536 + [y start]
1635
	mov	ebx,(SIZE_X+12)*65536+28   ; [x start] *65536 + [y start]
1636
	mov	ecx,0x20ddeeff	; font 1 & color ( 0xF0RRGGBB )
1636
	mov	ecx,0x00ddeeff	; font 1 & color ( 0xF0RRGGBB )
1637
	mov	edx,labelrot	  ; pointer to text beginning
1637
	mov	edx,labelrot	  ; pointer to text beginning
1638
	mov	esi,labelrotend-labelrot     ; text length
1638
	mov	esi,labelrotend-labelrot     ; text length
1639
	int	0x40
1639
	int	0x40
Line 1640... Line 1640...
1640
 
1640
 
Line 1646... Line 1646...
1646
	mov	esi,0x6688dd	; button color RRGGBB
1646
	mov	esi,0x6688dd	; button color RRGGBB
1647
	int	0x40
1647
	int	0x40
1648
	 ; DRAW MODE LABEL
1648
	 ; DRAW MODE LABEL
1649
	mov	eax,4		; function 4 : write text to window
1649
	mov	eax,4		; function 4 : write text to window
1650
	mov	ebx,(SIZE_X+12)*65536+28+15   ; [x start] *65536 + [y start]
1650
	mov	ebx,(SIZE_X+12)*65536+28+15   ; [x start] *65536 + [y start]
1651
	mov	ecx,0x20ddeeff	; font 1 & color ( 0xF0RRGGBB )
1651
	mov	ecx,0x00ddeeff	; font 1 & color ( 0xF0RRGGBB )
1652
	mov	edx,labeldrmod	    ; pointer to text beginning
1652
	mov	edx,labeldrmod	    ; pointer to text beginning
1653
	mov	esi,labeldrmodend-labeldrmod	 ; text length
1653
	mov	esi,labeldrmodend-labeldrmod	 ; text length
1654
	int	0x40
1654
	int	0x40
Line 1655... Line 1655...
1655
 
1655
 
Line 1661... Line 1661...
1661
	mov	esi,0x6688dd	; button color RRGGBB
1661
	mov	esi,0x6688dd	; button color RRGGBB
1662
	int	0x40
1662
	int	0x40
1663
	 ; SPEED MODE LABEL
1663
	 ; SPEED MODE LABEL
1664
	mov	eax,4		; function 4 : write text to window
1664
	mov	eax,4		; function 4 : write text to window
1665
	mov	ebx,(SIZE_X+12)*65536+(28+15*2)   ; [x start] *65536 + [y start]
1665
	mov	ebx,(SIZE_X+12)*65536+(28+15*2)   ; [x start] *65536 + [y start]
1666
	mov	ecx,0x20ddeeff	; font 1 & color ( 0xF0RRGGBB )
1666
	mov	ecx,0x00ddeeff	; font 1 & color ( 0xF0RRGGBB )
1667
	mov	edx,labelspeedmod      ; pointer to text beginning
1667
	mov	edx,labelspeedmod      ; pointer to text beginning
1668
	mov	esi,labelspeedmodend-labelspeedmod     ; text length
1668
	mov	esi,labelspeedmodend-labelspeedmod     ; text length
1669
	int	0x40
1669
	int	0x40
Line 1670... Line 1670...
1670
 
1670
 
Line 1676... Line 1676...
1676
	mov	esi,0x6688dd	; button color RRGGBB
1676
	mov	esi,0x6688dd	; button color RRGGBB
1677
	int	0x40
1677
	int	0x40
1678
	 ; SCALE- MODE LABEL
1678
	 ; SCALE- MODE LABEL
1679
	mov	eax,4		; function 4 : write text to window
1679
	mov	eax,4		; function 4 : write text to window
1680
	mov	ebx,(SIZE_X+12)*65536+(28+15*3)   ; [x start] *65536 + [y start]
1680
	mov	ebx,(SIZE_X+12)*65536+(28+15*3)   ; [x start] *65536 + [y start]
1681
	mov	ecx,0x20ddeeff	; font 1 & color ( 0xF0RRGGBB )
1681
	mov	ecx,0x00ddeeff	; font 1 & color ( 0xF0RRGGBB )
1682
	mov	edx,labelzoomout      ; pointer to text beginning
1682
	mov	edx,labelzoomout      ; pointer to text beginning
1683
	mov	esi,labelzoomoutend-labelzoomout     ; text length
1683
	mov	esi,labelzoomoutend-labelzoomout     ; text length
1684
	int	0x40
1684
	int	0x40
Line 1685... Line 1685...
1685
 
1685
 
Line 1691... Line 1691...
1691
	mov	esi,0x6688dd	; button color RRGGBB
1691
	mov	esi,0x6688dd	; button color RRGGBB
1692
	int	0x40
1692
	int	0x40
1693
	 ; SCALE+ MODE LABEL
1693
	 ; SCALE+ MODE LABEL
1694
	mov	eax,4		; function 4 : write text to window
1694
	mov	eax,4		; function 4 : write text to window
1695
	mov	ebx,(SIZE_X+12)*65536+(28+15*4)   ; [x start] *65536 + [y start]
1695
	mov	ebx,(SIZE_X+12)*65536+(28+15*4)   ; [x start] *65536 + [y start]
1696
	mov	ecx,0x20ddeeff	; font 1 & color ( 0xF0RRGGBB )
1696
	mov	ecx,0x00ddeeff	; font 1 & color ( 0xF0RRGGBB )
1697
	mov	edx,labelzoomin      ; pointer to text beginning
1697
	mov	edx,labelzoomin      ; pointer to text beginning
1698
	mov	esi,labelzoominend-labelzoomin	   ; text length
1698
	mov	esi,labelzoominend-labelzoomin	   ; text length
1699
	int	0x40
1699
	int	0x40
1700
	; ADD VECTOR LABEL
1700
	; ADD VECTOR LABEL
1701
	mov	eax,4		; function 4 : write text to window
1701
	mov	eax,4		; function 4 : write text to window
1702
	mov	ebx,(SIZE_X+12)*65536+(28+15*5)   ; [x start] *65536 + [y start]
1702
	mov	ebx,(SIZE_X+12)*65536+(28+15*5)   ; [x start] *65536 + [y start]
1703
	mov	ecx,0x20ddeeff	; font 1 & color ( 0xF0RRGGBB )
1703
	mov	ecx,0x00ddeeff	; font 1 & color ( 0xF0RRGGBB )
1704
	mov	edx,labelvector      ; pointer to text beginning
1704
	mov	edx,labelvector      ; pointer to text beginning
1705
	mov	esi,labelvectorend-labelvector	   ; text length
1705
	mov	esi,labelvectorend-labelvector	   ; text length
1706
	int	0x40
1706
	int	0x40
1707
	 ; VECTOR Y- BUTTON
1707
	 ; VECTOR Y- BUTTON
1708
	mov	eax,8		; function 8 : define and draw button
1708
	mov	eax,8		; function 8 : define and draw button
Line 1712... Line 1712...
1712
	mov	esi,0x6688dd	; button color RRGGBB
1712
	mov	esi,0x6688dd	; button color RRGGBB
1713
	int	0x40
1713
	int	0x40
1714
	;VECTOR Y- LABEL
1714
	;VECTOR Y- LABEL
1715
	mov	eax,4		; function 4 : write text to window
1715
	mov	eax,4		; function 4 : write text to window
1716
	mov	ebx,(SIZE_X+12+20)*65536+(28+15*6)   ; [x start] *65536 + [y start]
1716
	mov	ebx,(SIZE_X+12+20)*65536+(28+15*6)   ; [x start] *65536 + [y start]
1717
	mov	ecx,0x20ddeeff	; font 1 & color ( 0xF0RRGGBB )
1717
	mov	ecx,0x00ddeeff	; font 1 & color ( 0xF0RRGGBB )
1718
	mov	edx,labelyminus      ; pointer to text beginning
1718
	mov	edx,labelyminus      ; pointer to text beginning
1719
	mov	esi,labelyminusend-labelyminus	   ; text length
1719
	mov	esi,labelyminusend-labelyminus	   ; text length
1720
	int	0x40
1720
	int	0x40
1721
	; VECTOR Z+ BUTTON
1721
	; VECTOR Z+ BUTTON
1722
	mov	eax,8		; function 8 : define and draw button
1722
	mov	eax,8		; function 8 : define and draw button
Line 1726... Line 1726...
1726
	mov	esi,0x6688dd	; button color RRGGBB
1726
	mov	esi,0x6688dd	; button color RRGGBB
1727
	int	0x40
1727
	int	0x40
1728
	;VECTOR Z+ LABEL
1728
	;VECTOR Z+ LABEL
1729
	mov	eax,4		; function 4 : write text to window
1729
	mov	eax,4		; function 4 : write text to window
1730
	mov	ebx,(SIZE_X+12+41)*65536+(28+15*6)   ; [x start] *65536 + [y start]
1730
	mov	ebx,(SIZE_X+12+41)*65536+(28+15*6)   ; [x start] *65536 + [y start]
1731
	mov	ecx,0x20ddeeff	; font 1 & color ( 0xF0RRGGBB )
1731
	mov	ecx,0x00ddeeff	; font 1 & color ( 0xF0RRGGBB )
1732
	mov	edx,labelzplus	    ; pointer to text beginning
1732
	mov	edx,labelzplus	    ; pointer to text beginning
1733
	mov	esi,labelzplusend-labelzplus	 ; text length
1733
	mov	esi,labelzplusend-labelzplus	 ; text length
1734
	int	0x40
1734
	int	0x40
1735
	; VECTOR x- BUTTON
1735
	; VECTOR x- BUTTON
1736
	mov	eax,8		; function 8 : define and draw button
1736
	mov	eax,8		; function 8 : define and draw button
Line 1740... Line 1740...
1740
	mov	esi,0x6688dd	; button color RRGGBB
1740
	mov	esi,0x6688dd	; button color RRGGBB
1741
	int	0x40
1741
	int	0x40
1742
	;VECTOR x- LABEL
1742
	;VECTOR x- LABEL
1743
	mov	eax,4		; function 4 : write text to window
1743
	mov	eax,4		; function 4 : write text to window
1744
	mov	ebx,(SIZE_X+12)*65536+(28+15*7)   ; [x start] *65536 + [y start]
1744
	mov	ebx,(SIZE_X+12)*65536+(28+15*7)   ; [x start] *65536 + [y start]
1745
	mov	ecx,0x20ddeeff	; font 1 & color ( 0xF0RRGGBB )
1745
	mov	ecx,0x00ddeeff	; font 1 & color ( 0xF0RRGGBB )
1746
	mov	edx,labelxminus      ; pointer to text beginning
1746
	mov	edx,labelxminus      ; pointer to text beginning
1747
	mov	esi,labelxminusend-labelxminus	   ; text length
1747
	mov	esi,labelxminusend-labelxminus	   ; text length
1748
	int	0x40
1748
	int	0x40
1749
	; VECTOR x+ BUTTON
1749
	; VECTOR x+ BUTTON
1750
	mov	eax,8		; function 8 : define and draw button
1750
	mov	eax,8		; function 8 : define and draw button
Line 1754... Line 1754...
1754
	mov	esi,0x6688dd	; button color RRGGBB
1754
	mov	esi,0x6688dd	; button color RRGGBB
1755
	int	0x40
1755
	int	0x40
1756
	;VECTOR x+ LABEL
1756
	;VECTOR x+ LABEL
1757
	mov	eax,4		; function 4 : write text to window
1757
	mov	eax,4		; function 4 : write text to window
1758
	mov	ebx,(SIZE_X+12+41)*65536+(28+15*7)   ; [x start] *65536 + [y start]
1758
	mov	ebx,(SIZE_X+12+41)*65536+(28+15*7)   ; [x start] *65536 + [y start]
1759
	mov	ecx,0x20ddeeff	; font 1 & color ( 0xF0RRGGBB )
1759
	mov	ecx,0x00ddeeff	; font 1 & color ( 0xF0RRGGBB )
1760
	mov	edx,labelxplus	    ; pointer to text beginning
1760
	mov	edx,labelxplus	    ; pointer to text beginning
1761
	mov	esi,labelxplusend-labelxplus	 ; text length
1761
	mov	esi,labelxplusend-labelxplus	 ; text length
1762
	int	0x40
1762
	int	0x40
1763
	; VECTOR z- BUTTON
1763
	; VECTOR z- BUTTON
1764
	mov	eax,8		; function 8 : define and draw button
1764
	mov	eax,8		; function 8 : define and draw button
Line 1768... Line 1768...
1768
	mov	esi,0x6688dd	; button color RRGGBB
1768
	mov	esi,0x6688dd	; button color RRGGBB
1769
	int	0x40
1769
	int	0x40
1770
	;VECTOR z- LABEL
1770
	;VECTOR z- LABEL
1771
	mov	eax,4		; function 4 : write text to window
1771
	mov	eax,4		; function 4 : write text to window
1772
	mov	ebx,(SIZE_X+12)*65536+(28+15*8)   ; [x start] *65536 + [y start]
1772
	mov	ebx,(SIZE_X+12)*65536+(28+15*8)   ; [x start] *65536 + [y start]
1773
	mov	ecx,0x20ddeeff	; font 1 & color ( 0xF0RRGGBB )
1773
	mov	ecx,0x00ddeeff	; font 1 & color ( 0xF0RRGGBB )
1774
	mov	edx,labelzminus      ; pointer to text beginning
1774
	mov	edx,labelzminus      ; pointer to text beginning
1775
	mov	esi,labelzminusend-labelzminus	   ; text length
1775
	mov	esi,labelzminusend-labelzminus	   ; text length
1776
	int	0x40
1776
	int	0x40
1777
       ;VECTOR Y+ BUTTON
1777
       ;VECTOR Y+ BUTTON
1778
	mov	eax,8		; function 8 : define and draw button
1778
	mov	eax,8		; function 8 : define and draw button
Line 1782... Line 1782...
1782
	mov	esi,0x6688dd	; button color RRGGBB
1782
	mov	esi,0x6688dd	; button color RRGGBB
1783
	int	0x40
1783
	int	0x40
1784
	;VECTOR Y+ LABEL
1784
	;VECTOR Y+ LABEL
1785
	mov	eax,4		; function 4 : write text to window
1785
	mov	eax,4		; function 4 : write text to window
1786
	mov	ebx,(SIZE_X+12+20)*65536+(28+15*8)   ; [x start] *65536 + [y start]
1786
	mov	ebx,(SIZE_X+12+20)*65536+(28+15*8)   ; [x start] *65536 + [y start]
1787
	mov	ecx,0x20ddeeff	; font 1 & color ( 0xF0RRGGBB )
1787
	mov	ecx,0x00ddeeff	; font 1 & color ( 0xF0RRGGBB )
1788
	mov	edx,labelyplus	    ; pointer to text beginning
1788
	mov	edx,labelyplus	    ; pointer to text beginning
1789
	mov	esi,labelyplusend-labelyplus	 ; text length
1789
	mov	esi,labelyplusend-labelyplus	 ; text length
1790
	int	0x40
1790
	int	0x40
1791
	; LEAD COLOR LABEL
1791
	; LEAD COLOR LABEL
1792
	mov	eax,4		; function 4 : write text to window
1792
	mov	eax,4		; function 4 : write text to window
1793
	mov	ebx,(SIZE_X+12)*65536+(28+15*9)   ; [x start] *65536 + [y start]
1793
	mov	ebx,(SIZE_X+12)*65536+(28+15*9)   ; [x start] *65536 + [y start]
1794
	mov	ecx,0x20ddeeff	; font 1 & color ( 0xF0RRGGBB )
1794
	mov	ecx,0x00ddeeff	; font 1 & color ( 0xF0RRGGBB )
1795
	mov	edx,labelmaincolor	; pointer to text beginning
1795
	mov	edx,labelmaincolor	; pointer to text beginning
1796
	mov	esi,labelmaincolorend-labelmaincolor	 ; text length
1796
	mov	esi,labelmaincolorend-labelmaincolor	 ; text length
1797
	int	0x40
1797
	int	0x40
Line 1798... Line 1798...
1798
 
1798
 
Line 1804... Line 1804...
1804
	mov	esi,0x6688dd	; button color RRGGBB
1804
	mov	esi,0x6688dd	; button color RRGGBB
1805
	int	0x40
1805
	int	0x40
1806
	;RED+  LABEL
1806
	;RED+  LABEL
1807
	mov	eax,4		; function 4 : write text to window
1807
	mov	eax,4		; function 4 : write text to window
1808
	mov	ebx,(SIZE_X+12)*65536+(28+15*10)   ; [x start] *65536 + [y start]
1808
	mov	ebx,(SIZE_X+12)*65536+(28+15*10)   ; [x start] *65536 + [y start]
1809
	mov	ecx,0x20ddeeff	; font 1 & color ( 0xF0RRGGBB )
1809
	mov	ecx,0x00ddeeff	; font 1 & color ( 0xF0RRGGBB )
1810
	mov	edx,labelredplus      ; pointer to text beginning
1810
	mov	edx,labelredplus      ; pointer to text beginning
1811
	mov	esi,labelredplusend-labelredplus     ; text length
1811
	mov	esi,labelredplusend-labelredplus     ; text length
1812
	int	0x40
1812
	int	0x40
1813
	;GREEN+ BUTTON
1813
	;GREEN+ BUTTON
1814
	mov	eax,8		; function 8 : define and draw button
1814
	mov	eax,8		; function 8 : define and draw button
Line 1818... Line 1818...
1818
	mov	esi,0x6688dd	; button color RRGGBB
1818
	mov	esi,0x6688dd	; button color RRGGBB
1819
	int	0x40
1819
	int	0x40
1820
	;GREEN+ LABEL
1820
	;GREEN+ LABEL
1821
	mov	eax,4		; function 4 : write text to window
1821
	mov	eax,4		; function 4 : write text to window
1822
	mov	ebx,(SIZE_X+12+20)*65536+(28+15*10)   ; [x start] *65536 + [y start]
1822
	mov	ebx,(SIZE_X+12+20)*65536+(28+15*10)   ; [x start] *65536 + [y start]
1823
	mov	ecx,0x20ddeeff	; font 1 & color ( 0xF0RRGGBB )
1823
	mov	ecx,0x00ddeeff	; font 1 & color ( 0xF0RRGGBB )
1824
	mov	edx,labelgreenplus	; pointer to text beginning
1824
	mov	edx,labelgreenplus	; pointer to text beginning
1825
	mov	esi,labelgreenplusend-labelgreenplus	 ; text length
1825
	mov	esi,labelgreenplusend-labelgreenplus	 ; text length
1826
	int	0x40
1826
	int	0x40
1827
	;BLUE+ BUTTON
1827
	;BLUE+ BUTTON
1828
	mov	eax,8		; function 8 : define and draw button
1828
	mov	eax,8		; function 8 : define and draw button
Line 1832... Line 1832...
1832
	mov	esi,0x6688dd	; button color RRGGBB
1832
	mov	esi,0x6688dd	; button color RRGGBB
1833
	int	0x40
1833
	int	0x40
1834
	;BLUE+ LABEL
1834
	;BLUE+ LABEL
1835
	mov	eax,4		; function 4 : write text to window
1835
	mov	eax,4		; function 4 : write text to window
1836
	mov	ebx,(SIZE_X+12+41)*65536+(28+15*10)   ; [x start] *65536 + [y start]
1836
	mov	ebx,(SIZE_X+12+41)*65536+(28+15*10)   ; [x start] *65536 + [y start]
1837
	mov	ecx,0x20ddeeff	; font 1 & color ( 0xF0RRGGBB )
1837
	mov	ecx,0x00ddeeff	; font 1 & color ( 0xF0RRGGBB )
1838
	mov	edx,labelblueplus      ; pointer to text beginning
1838
	mov	edx,labelblueplus      ; pointer to text beginning
1839
	mov	esi,labelblueplusend-labelblueplus     ; text length
1839
	mov	esi,labelblueplusend-labelblueplus     ; text length
1840
	int	0x40
1840
	int	0x40
1841
	;RED- BUTTON
1841
	;RED- BUTTON
1842
	mov	eax,8		; function 8 : define and draw button
1842
	mov	eax,8		; function 8 : define and draw button
Line 1846... Line 1846...
1846
	mov	esi,0x6688dd	; button color RRGGBB
1846
	mov	esi,0x6688dd	; button color RRGGBB
1847
	int	0x40
1847
	int	0x40
1848
	;RED-  LABEL
1848
	;RED-  LABEL
1849
	mov	eax,4		; function 4 : write text to window
1849
	mov	eax,4		; function 4 : write text to window
1850
	mov	ebx,(SIZE_X+12)*65536+(28+15*11)   ; [x start] *65536 + [y start]
1850
	mov	ebx,(SIZE_X+12)*65536+(28+15*11)   ; [x start] *65536 + [y start]
1851
	mov	ecx,0x20ddeeff	; font 1 & color ( 0xF0RRGGBB )
1851
	mov	ecx,0x00ddeeff	; font 1 & color ( 0xF0RRGGBB )
1852
	mov	edx,labelredminus      ; pointer to text beginning
1852
	mov	edx,labelredminus      ; pointer to text beginning
1853
	mov	esi,labelredminusend-labelredminus     ; text length
1853
	mov	esi,labelredminusend-labelredminus     ; text length
1854
	int	0x40
1854
	int	0x40
1855
	;GREEN- BUTTON
1855
	;GREEN- BUTTON
1856
	mov	eax,8		; function 8 : define and draw button
1856
	mov	eax,8		; function 8 : define and draw button
Line 1860... Line 1860...
1860
	mov	esi,0x6688dd	; button color RRGGBB
1860
	mov	esi,0x6688dd	; button color RRGGBB
1861
	int	0x40
1861
	int	0x40
1862
	;GREEN- LABEL
1862
	;GREEN- LABEL
1863
	mov	eax,4		; function 4 : write text to window
1863
	mov	eax,4		; function 4 : write text to window
1864
	mov	ebx,(SIZE_X+12+20)*65536+(28+15*11)   ; [x start] *65536 + [y start]
1864
	mov	ebx,(SIZE_X+12+20)*65536+(28+15*11)   ; [x start] *65536 + [y start]
1865
	mov	ecx,0x20ddeeff	; font 1 & color ( 0xF0RRGGBB )
1865
	mov	ecx,0x00ddeeff	; font 1 & color ( 0xF0RRGGBB )
1866
	mov	edx,labelgreenminus	 ; pointer to text beginning
1866
	mov	edx,labelgreenminus	 ; pointer to text beginning
1867
	mov	esi,labelgreenminusend-labelgreenminus	   ; text length
1867
	mov	esi,labelgreenminusend-labelgreenminus	   ; text length
1868
	int	0x40
1868
	int	0x40
1869
	;BLUE- BUTTON
1869
	;BLUE- BUTTON
1870
	mov	eax,8		; function 8 : define and draw button
1870
	mov	eax,8		; function 8 : define and draw button
Line 1874... Line 1874...
1874
	mov	esi,0x6688dd	; button color RRGGBB
1874
	mov	esi,0x6688dd	; button color RRGGBB
1875
	int	0x40
1875
	int	0x40
1876
	;BLUE- LABEL
1876
	;BLUE- LABEL
1877
	mov	eax,4		; function 4 : write text to window
1877
	mov	eax,4		; function 4 : write text to window
1878
	mov	ebx,(SIZE_X+12+41)*65536+(28+15*11)   ; [x start] *65536 + [y start]
1878
	mov	ebx,(SIZE_X+12+41)*65536+(28+15*11)   ; [x start] *65536 + [y start]
1879
	mov	ecx,0x20ddeeff	; font 1 & color ( 0xF0RRGGBB )
1879
	mov	ecx,0x00ddeeff	; font 1 & color ( 0xF0RRGGBB )
1880
	mov	edx,labelblueminus	; pointer to text beginning
1880
	mov	edx,labelblueminus	; pointer to text beginning
1881
	mov	esi,labelblueminusend-labelblueminus	 ; text length
1881
	mov	esi,labelblueminusend-labelblueminus	 ; text length
1882
	int	0x40
1882
	int	0x40
1883
	; Catmull  LABEL
1883
	; Catmull  LABEL
1884
	mov	eax,4		; function 4 : write text to window
1884
	mov	eax,4		; function 4 : write text to window
1885
	mov	ebx,(SIZE_X+12)*65536+(28+15*12)   ; [x start] *65536 + [y start]
1885
	mov	ebx,(SIZE_X+12)*65536+(28+15*12)   ; [x start] *65536 + [y start]
1886
	mov	ecx,0x20ddeeff	; font 1 & color ( 0xF0RRGGBB )
1886
	mov	ecx,0x00ddeeff	; font 1 & color ( 0xF0RRGGBB )
1887
	mov	edx,labelcatmullmod	 ; pointer to text beginning
1887
	mov	edx,labelcatmullmod	 ; pointer to text beginning
1888
	mov	esi,labelcatmullmodend-labelcatmullmod	   ; text length
1888
	mov	esi,labelcatmullmodend-labelcatmullmod	   ; text length
1889
	int	0x40
1889
	int	0x40
1890
	; on/off BUTTON
1890
	; on/off BUTTON
1891
	mov	eax,8		; function 8 : define and draw button
1891
	mov	eax,8		; function 8 : define and draw button
Line 1895... Line 1895...
1895
	mov	esi,0x6688dd	; button color RRGGBB
1895
	mov	esi,0x6688dd	; button color RRGGBB
1896
	int	0x40
1896
	int	0x40
1897
	 ; on/off LABEL
1897
	 ; on/off LABEL
1898
	mov	eax,4		; function 4 : write text to window
1898
	mov	eax,4		; function 4 : write text to window
1899
	mov	ebx,(SIZE_X+12)*65536+(28+15*13)   ; [x start] *65536 + [y start]
1899
	mov	ebx,(SIZE_X+12)*65536+(28+15*13)   ; [x start] *65536 + [y start]
1900
	mov	ecx,0x20ddeeff	; font 1 & color ( 0xF0RRGGBB )
1900
	mov	ecx,0x00ddeeff	; font 1 & color ( 0xF0RRGGBB )
1901
	mov	edx,labelonoff	    ; pointer to text beginning
1901
	mov	edx,labelonoff	    ; pointer to text beginning
1902
	mov	esi,labelonoffend-labelonoff	 ; text length
1902
	mov	esi,labelonoffend-labelonoff	 ; text length
1903
	int	0x40
1903
	int	0x40