Subversion Repositories Kolibri OS

Rev

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

Rev 1311 Rev 1362
Line 9... Line 9...
9
;;  Distributed under GPL. See file COPYING for details.        ;;
9
;;  Distributed under GPL. See file COPYING for details.        ;;
10
;;  Copyright 2003 Ville Turjanmaa                              ;;
10
;;  Copyright 2003 Ville Turjanmaa                              ;;
11
;;                                                              ;;
11
;;                                                              ;;
12
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
12
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Line 13... Line 13...
13
 
13
 
Line 14... Line 14...
14
$Revision: 1311 $
14
$Revision: 1362 $
15
 
15
 
16
 
16
 
Line 595... Line 595...
595
    pusha     ; save window coordinates for window restoring
595
    pusha     ; save window coordinates for window restoring
596
    cld
596
    cld
597
    shl   esi,5
597
    shl   esi,5
598
    add   esi,window_data
598
    add   esi,window_data
599
    mov   eax,[esi+WDATA.box.left]
599
    mov   eax,[esi+WDATA.box.left]
600
    mov   [dlx],eax
600
    mov   [draw_limits.left],eax
601
    add   eax,[esi+WDATA.box.width]
601
    add   eax,[esi+WDATA.box.width]
602
    mov   [dlxe],eax
602
    mov   [draw_limits.right],eax
603
    mov   eax,[esi+WDATA.box.top]
603
    mov   eax,[esi+WDATA.box.top]
604
    mov   [dly],eax
604
    mov   [draw_limits.top],eax
605
    add   eax,[esi+WDATA.box.height]
605
    add   eax,[esi+WDATA.box.height]
606
    mov   [dlye],eax
606
    mov   [draw_limits.bottom],eax
Line 607... Line 607...
607
 
607
 
608
    xor   eax, eax
608
    xor   eax, eax
609
    mov   [esi+WDATA.box.left],eax
609
    mov   [esi+WDATA.box.left],eax
610
    mov   [esi+WDATA.box.width],eax
610
    mov   [esi+WDATA.box.width],eax
Line 805... Line 805...
805
    jmp  .xd0
805
    jmp  .xd0
806
.xd1:
806
.xd1:
807
;    call  systest
807
;    call  systest
808
    sti  ; .. and life goes on
808
    sti  ; .. and life goes on
Line 809... Line 809...
809
 
809
 
810
    mov   eax, [dlx]
810
    mov   eax, [draw_limits.left]
811
    mov   ebx, [dly]
811
    mov   ebx, [draw_limits.top]
812
    mov   ecx, [dlxe]
812
    mov   ecx, [draw_limits.right]
813
    mov   edx, [dlye]
813
    mov   edx, [draw_limits.bottom]
814
    call  calculatescreen
814
    call  calculatescreen
815
    xor   eax, eax
815
    xor   eax, eax
816
    xor   esi, esi
816
    xor   esi, esi