Subversion Repositories Kolibri OS

Rev

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

Rev 195 Rev 318
Line 467... Line 467...
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]
471
    mov  esi, [sc.work]
-
 
472
    cmp  esi, 0xdfdfdf
-
 
473
    jb   nocorrect
-
 
474
    sub  esi, 0x1b1b1b
-
 
475
  nocorrect: 
472
    inc  dl
476
    inc  dl
473
    cmp  [edi + cur_sel], dl
477
    cmp  [edi + cur_sel], dl
474
    jne  .nohighlight
478
    jne  .nohighlight
475
    add  esi, 0x101010
479
    add  esi, 0x1a1a1a
476
  .nohighlight:
480
  .nohighlight:
477
    or	   edx, 0x20000000
481
    or	   edx, 0x20000000
478
    int  0x40
482
    int  0x40
479
    movzx edx, dl
483
    movzx edx, dl