Subversion Repositories Kolibri OS

Rev

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

Rev 3901 Rev 4196
Line 469... Line 469...
469
 
469
 
Line 470... Line 470...
470
draw_clock:
470
draw_clock:
471
 
471
 
472
    mcall 3
472
    mcall 3
Line 473... Line 473...
473
    mov  ecx,eax
473
    mov  ecx,eax
474
    mcall 47,0x00020100, ,195*65536+287,0x50000000,COL_WINDOW_BG
474
    mcall 47,0x00020100, ,195*65536+301,0x50CCCCCC,COL_TOOLBAR_BG
475
 
475
 
Line 498... Line 498...
498
	GetSkinHeight
498
	GetSkinHeight
499
	mov ecx, eax
499
	mov ecx, eax
500
	shl ecx, 16
500
	shl ecx, 16
501
	add ecx, 43
501
	add ecx, 43
502
	mcall 13,B_WBAR_X, ,COL_TOOLBAR_BG ; draw toolbar background
502
	mcall 13,B_WBAR_X, ,COL_TOOLBAR_BG ; draw toolbar background
-
 
503
	mcall 13,B_WBAR_X,BT_WBAR_Y,COL_TOOLBAR_BG ; draw toolbar background
-
 
504
 
503
    call draw_week
505
    call draw_week
504
    mcall 8,193*65536+8,272*65536+10,72,COL_DATE_BUTTONS
506
    mcall 8,193*65536+8,287*65536+10,72,COL_TOOLBAR_BG
505
    mov  ebx,202*65536+8
507
    mov  ebx,202*65536+8
506
    inc  edx ;73
508
    inc  edx ;73
507
    mcall
509
    mcall
508
    mov  ebx,193*65536+8
510
    mov  ebx,193*65536+8
509
    mov  ecx,298*65536+10
511
    mov  ecx,311*65536+10
510
    inc  edx ;74
512
    inc  edx ;74
511
    mcall
513
    mcall
512
    mov  ebx,202*65536+8
514
    mov  ebx,202*65536+8
513
    inc  edx ;75
515
    inc  edx ;75
514
    mcall
516
    mcall
515
    mov  ebx,215*65536+8
517
    mov  ebx,215*65536+8
516
    mov  ecx,272*65536+10
518
    mov  ecx,287*65536+10
517
    inc  edx ;76
519
    inc  edx ;76
518
    mcall
520
    mcall
519
    mov  ebx,224*65536+8
521
    mov  ebx,224*65536+8
520
    inc  edx ;77
522
    inc  edx ;77
521
    mcall
523
    mcall
522
    mov  ebx,215*65536+8
524
    mov  ebx,215*65536+8
523
    mov  ecx,298*65536+10
525
    mov  ecx,311*65536+10
524
    inc  edx ;78
526
    inc  edx ;78
525
    mcall
527
    mcall
526
    mov  ebx,224*65536+8
528
    mov  ebx,224*65536+8
527
    inc  edx ;79
529
    inc  edx ;79
528
    mcall
530
    mcall
529
    mov  ebx,237*65536+21
531
    ;mov  ebx,237*65536+21
530
    mov  ecx,273*65536+35
532
    ;mov  ecx,281*65536+35
531
    inc  edx ;80
533
    ;inc  edx ;80
532
    or   edx,0x40000000
534
    ;or   edx,0x40CCFF44
533
    mcall
535
    ;mcall
534
    mov  ebx,25*65536+110
536
    mov  ebx,25*65536+110
535
    mov  ecx,285*65536+22
537
    mov  ecx,293*65536+22
536
    mov  esi,COL_DATE_BUTTONS
538
    mov  esi,COL_TOOLBAR_BG
537
    mov  edx,81
539
    mov  edx,81
538
    mcall
540
    mcall
Line 539... Line 541...
539
 
541
 
540
    mov  esi,COL_MONTH_YEAR_B   ; new style
542
    mov  esi,COL_MONTH_YEAR_B   ; new style
Line 558... Line 560...
558
    inc  edx
560
    inc  edx
559
    mcall
561
    mcall
560
    call draw_days
562
    call draw_days
Line 561... Line 563...
561
 
563
 
562
	; draw text in window
564
	; draw text in window
563
    mcall 4,157*65536+287,0x80000000,sys_text
565
    mcall 4,157*65536+302,0x80CCCCCC,sys_text
564
    mcall  ,211*65536+287,,separator
566
    mcall  ,211*65536+301,,separator
565
    mcall  ,233*65536+287
567
    mcall  ,233*65536+301
566
    mcall  ,185*65536+274, ,plus
568
    mcall  ,185*65536+289, ,plus
567
    mcall  ,185*65536+300, ,minus
569
    mcall  ,185*65536+313, ,minus
Line 568... Line 570...
568
    mcall  , 35*65536+292,0x00000000,set_date_t,15 ;set date text
570
    mcall  , 35*65536+300,0x00CCCCCC,set_date_t,15 ;set date text
569
 
571
 
570
 
572