Subversion Repositories Kolibri OS

Rev

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

Rev 109 Rev 195
Line 466... Line 466...
466
  movzx  ecx, dl
466
  movzx  ecx, dl
467
    imul ecx, BTN_HEIGHT
467
    imul ecx, BTN_HEIGHT
468
    shl  ecx, 16
468
    shl  ecx, 16
469
    add  ecx, BTN_HEIGHT-1
469
    add  ecx, BTN_HEIGHT-1
470
;   edx = button identifier
470
;   edx = button identifier
471
    mov  esi, [sc.work_button]
471
    mov  esi, [sc.work]
472
    inc  dl
472
    inc  dl
473
    cmp  [edi + cur_sel], dl
473
    cmp  [edi + cur_sel], dl
474
    jne  .nohighlight
474
    jne  .nohighlight
475
    add  esi, 0x202020
475
    add  esi, 0x101010
476
  .nohighlight:
476
  .nohighlight:
477
    or	   edx, 0x20000000
477
    or	   edx, 0x20000000
478
    int  0x40
478
    int  0x40
479
    movzx edx, dl
479
    movzx edx, dl
Line 495... Line 495...
495
    cmp  byte [edx], 10
495
    cmp  byte [edx], 10
496
    jne  .findline
496
    jne  .findline
497
    dec  ecx
497
    dec  ecx
498
    jnz  .findline
498
    jnz  .findline
Line 499... Line 499...
499
 
499
 
500
    mov  ecx, [sc.work_button_text]
500
    mov  ecx, [sc.work_text]
501
    mov  eax, 4
501
    mov  eax, 4
502
    mov  esi, 21
502
    mov  esi, 21
Line 503... Line 503...
503
    int  0x40
503
    int  0x40