Subversion Repositories Kolibri OS

Rev

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

Rev 6215 Rev 6216
Line 674... Line 674...
674
        inc     edx
674
        inc     edx
675
        cmp     edx, BTNSP_X
675
        cmp     edx, BTNSP_X
676
        jbe     newbutton
676
        jbe     newbutton
Line 677... Line 677...
677
 
677
 
678
        mcall   , <253, 36>, <55, 22>, 2, 0xF0969D        ; 'C'
-
 
679
        mcall   , <236,53>, , 3, [sc.work]        ; 'dec-bin-hex'
-
 
Line 680... Line 678...
680
		mov     esi, [sc.work_button]
678
        mcall   , <253, 36>, <55, 22>, 2, 0xF0969D  ; 'C'
681
 
679
 
682
 
680
 
Line 716... Line 714...
716
		DrawRectangle3D DISPLAY_X-1,DISPLAY_Y-1,DISPLAY_W+2,DISPLAY_H+2, [sc.work_3d_dark], [sc.work_3d_light]
714
		DrawRectangle3D DISPLAY_X-1,DISPLAY_Y-1,DISPLAY_W+2,DISPLAY_H+2, [sc.work_3d_dark], [sc.work_3d_light]
717
		DrawRectangle DISPLAY_X,DISPLAY_Y,DISPLAY_W,DISPLAY_H, [sc.work_graph]
715
		DrawRectangle DISPLAY_X,DISPLAY_Y,DISPLAY_W,DISPLAY_H, [sc.work_graph]
718
        mcall   38, < DISPLAY_X+1, DISPLAY_W+DISPLAY_X-1>, , 0xE0E0E0 ; internal shadow
716
        mcall   38, < DISPLAY_X+1, DISPLAY_W+DISPLAY_X-1>, , 0xE0E0E0 ; internal shadow
719
		mcall     , < DISPLAY_X+1,  DISPLAY_X+1>, ,          ; internal shadow
717
		mcall     , < DISPLAY_X+1,  DISPLAY_X+1>, ,          ; internal shadow
720
		mcall   13, < DISPLAY_X+2, DISPLAY_W-2>, , 0xFFFfff ; background
718
		mcall   13, < DISPLAY_X+2, DISPLAY_W-2>, , 0xFFFfff ; background
-
 
719
		mcall   8, <236,53>, , 3, [sc.work]        ; 'dec-bin-hex'
Line 721... Line 720...
721
		
720
		
722
        mov     ecx, [sc.work_text]
721
        mov     ecx, [sc.work_text]
723
        or      ecx, 0x40000000
722
        or      ecx, 0x40000000
Line 724... Line -...
724
        mcall   4, <135,6>,,calc,1,[sc.work]
-
 
725
 
723
        mcall   4, <135,6>,,calc,1,[sc.work]
726
        mov     ebx, 250 shl 16 + DISPLAY_Y+(DISPLAY_H-14)/2
724
		
727
        mov     edx, [display_type]
725
        mov     edx, [display_type]
728
        shl     edx, 2
726
        shl     edx, 2
729
        add     edx, display_type_text
727
        add     edx, display_type_text
730
        mov     esi, 3
728
        mov     esi, 3
731
        mov     edi, [sc.work]
729
		mov     ecx, [sc.work_text]
Line 732... Line 730...
732
		or      ecx, 0x10000000
730
		or      ecx, 0x10000000
733
        mcall
731
        mcall   4,<250,DISPLAY_Y+(DISPLAY_H-14)/2>
734
 
732