Subversion Repositories Kolibri OS

Rev

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

Rev 6044 Rev 8869
Line 3... Line 3...
3
;; Copyright (C) KolibriOS team 2004-2015. All rights reserved. ;;
3
;; Copyright (C) KolibriOS team 2004-2015. All rights reserved. ;;
4
;; Distributed under terms of the GNU General Public License    ;;
4
;; Distributed under terms of the GNU General Public License    ;;
5
;;                                                              ;;
5
;;                                                              ;;
6
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
6
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Line 7... Line 7...
7
 
7
 
Line 8... Line 8...
8
$Revision: 6044 $
8
$Revision: 8869 $
Line 9... Line 9...
9
 
9
 
Line 393... Line 393...
393
        inc     eax
393
        inc     eax
394
        mov     [edi], ax
394
        mov     [edi], ax
395
        shl     eax, 4
395
        shl     eax, 4
396
        add     eax, edi
396
        add     eax, edi
Line 397... Line 397...
397
 
397
 
398
        mov     bx, [CURRENT_TASK]
398
        mov     bx, word [current_slot_idx]
399
        mov     [eax], bx
399
        mov     [eax], bx
400
        mov     word [eax+2], 1     ; button id
400
        mov     word [eax+2], 1     ; button id
401
        xor     ebx, ebx
401
        xor     ebx, ebx
402
        cmp     [skin_btn_close.left], 0
402
        cmp     [skin_btn_close.left], 0
Line 424... Line 424...
424
        inc     eax
424
        inc     eax
425
        mov     [edi], ax
425
        mov     [edi], ax
426
        shl     eax, 4
426
        shl     eax, 4
427
        add     eax, edi
427
        add     eax, edi
Line 428... Line 428...
428
 
428
 
429
        mov     bx, [CURRENT_TASK]
429
        mov     bx, word [current_slot_idx]
430
        mov     [eax], bx
430
        mov     [eax], bx
431
        mov     word [eax+2], -1    ; button id
431
        mov     word [eax+2], -1    ; button id
432
        xor     ebx, ebx
432
        xor     ebx, ebx
433
        cmp     [skin_btn_minimize.left], 0
433
        cmp     [skin_btn_minimize.left], 0