Subversion Repositories Kolibri OS

Rev

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

Rev 551 Rev 4079
Line 751... Line 751...
751
    mov  ecx,100*65536+168         ; [y start] *65536 + [y size]
751
    mov  ecx,100*65536+168         ; [y start] *65536 + [y size]
752
    mov  edx,0x04ffffff            ; color of work area RRGGBB
752
    mov  edx,0x04ffffff            ; color of work area RRGGBB
753
    mov  esi,0x8099bbff            ; color of grab bar  RRGGBB,8->color glide
753
    mov  esi,0x8099bbff            ; color of grab bar  RRGGBB,8->color glide
754
    mov  edi,0x0099bbee            ; color of frames    RRGGBB
754
    mov  edi,0x0099bbee            ; color of frames    RRGGBB
755
    mcall
755
    mcall
756
                                   ; WINDOW LABEL
756
                                   ; WINDOW TITLE
757
    mov  eax,4                     ; function 4 : write text to window
-
 
758
    mov  ebx,8*65536+8             ; [x start] *65536 + [y start]
-
 
759
    mov  ecx,0x1000ffff            ; color of text RRGGBB
-
 
760
    mov  edx,labelt                ; pointer to text beginning
-
 
761
    mov  esi,labellen-labelt       ; text length
-
 
762
    mcall
757
    mcall
-
 
758
	mov eax,71
-
 
759
	mov ebx,1
-
 
760
	mov ecx,labelt
-
 
761
	int 40h
Line 763... Line 762...
763
 
762
 
764
    mov  eax,13                    ;bar
763
    mov  eax,13                    ;bar
765
    mov  ebx,8 shl 16 + 204
764
    mov  ebx,8 shl 16 + 204
766
    mov  ecx,28 shl 16 + 84
765
    mov  ecx,28 shl 16 + 84
Line 1293... Line 1292...
1293
 
1292
 
1294
no_cda: db 'Audio CD not found'
1293
no_cda: db 'Audio CD not found'
Line 1295... Line 1294...
1295
no_cda_len:
1294
no_cda_len:
1296
 
1295
 
1297
labelt:
1296
labelt:
Line 1298... Line 1297...
1298
   db   'CD player'
1297
   db   'CD player',0
1299
labellen:
1298
labellen:
1300
 
1299