Subversion Repositories Kolibri OS

Rev

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

Rev 8093 Rev 8858
Line 1... Line 1...
1
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2
;;                                                              ;;
2
;;                                                              ;;
3
;; Copyright (C) KolibriOS team 2004-2020. All rights reserved. ;;
3
;; Copyright (C) KolibriOS team 2004-2021. 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: 8093 $
8
$Revision: 8858 $
9
 
9
 
10
align 4 ;3A08
10
align 4 ;3A08
11
build_interrupt_table:
11
build_interrupt_table:
Line 552... Line 552...
552
        jmp     bnewba2
552
        jmp     bnewba2
553
  bnmba:
553
  bnmba:
Line 554... Line 554...
554
 
554
 
555
        pusha   ; save window coordinates for window restoring
555
        pusha   ; save window coordinates for window restoring
556
        cld
556
        cld
557
        shl     esi, 5
557
        shl     esi, BSF sizeof.WDATA
558
        add     esi, window_data
558
        add     esi, window_data
559
        mov     eax, [esi+WDATA.box.left]
559
        mov     eax, [esi+WDATA.box.left]
560
        mov     [draw_limits.left], eax
560
        mov     [draw_limits.left], eax
561
        add     eax, [esi+WDATA.box.width]
561
        add     eax, [esi+WDATA.box.width]
Line 564... Line 564...
564
        mov     [draw_limits.top], eax
564
        mov     [draw_limits.top], eax
565
        add     eax, [esi+WDATA.box.height]
565
        add     eax, [esi+WDATA.box.height]
566
        mov     [draw_limits.bottom], eax
566
        mov     [draw_limits.bottom], eax
Line 567... Line 567...
567
 
567
 
568
        xor     eax, eax
568
        xor     eax, eax
569
        mov     [esi+WDATA.box.left], eax
569
        mov     edi, esi
570
        mov     [esi+WDATA.box.width], eax
570
        mov     ecx, sizeof.WDATA/4
571
        mov     [esi+WDATA.box.top], eax
-
 
572
        mov     [esi+WDATA.box.height], eax
-
 
573
        mov     [esi+WDATA.cl_workarea], eax
-
 
574
        mov     [esi+WDATA.cl_titlebar], eax
-
 
575
        mov     [esi+WDATA.cl_frames], eax
-
 
-
 
571
        rep stosd
576
        mov     dword [esi+WDATA.z_modif], eax; clear all flags: z_modif, wstate, redraw, wdrawn
572
 
577
        lea     edi, [esi-window_data+draw_data]
573
        lea     edi, [esi-window_data+draw_data]
578
        mov     ecx, 32/4
574
        mov     ecx, sizeof.WDATA/4
579
        rep stosd
575
        rep stosd
Line 580... Line 576...
580
        popa
576
        popa
581
 
577