Subversion Repositories Kolibri OS

Rev

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

Rev 887 Rev 928
Line 3... Line 3...
3
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
3
;; Copyright (C) KolibriOS team 2004-2007. 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: 887 $
8
$Revision: 928 $
Line 9... Line 9...
9
 
9
 
Line 377... Line 377...
377
 
377
 
378
        cmp   dword[skin_data],'SKIN'
378
        cmp   dword[skin_data],'SKIN'
Line 379... Line 379...
379
        jne   no_skin_add_button
379
        jne   no_skin_add_button
380
 
380
 
381
;* close button
381
;* close button
382
        mov   edi,[BTN_ADDR]
382
        mov   edi,[btn_addr]
383
        movzx eax,word [edi]
383
        movzx eax,word [edi]
384
        cmp   eax,1000
384
        cmp   eax,1000
385
        jge   no_skin_add_button
385
        jge   no_skin_add_button
Line 416... Line 416...
416
        mov   ebx,[skin_btn_close.height]
416
        mov   ebx,[skin_btn_close.height]
417
        dec   ebx
417
        dec   ebx
418
        mov   [eax],bx
418
        mov   [eax],bx
Line 419... Line 419...
419
 
419
 
420
;* minimize button
420
;* minimize button
421
        mov   edi,[BTN_ADDR]
421
        mov   edi,[btn_addr]
422
        movzx eax,word [edi]
422
        movzx eax,word [edi]
423
        cmp   eax,1000
423
        cmp   eax,1000
424
        jge   no_skin_add_button
424
        jge   no_skin_add_button
425
        inc   eax
425
        inc   eax