Subversion Repositories Kolibri OS

Rev

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

Rev 2561 Rev 2580
Line 67... Line 67...
67
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
67
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Line 68... Line 68...
68
 
68
 
69
include 'macros.inc'
69
include 'macros.inc'
Line 70... Line 70...
70
include 'struct.inc'
70
include 'struct.inc'
Line 71... Line 71...
71
 
71
 
Line 72... Line 72...
72
$Revision: 2561 $
72
$Revision: 2580 $
Line 3330... Line 3330...
3330
 
3330
 
3331
        pop     eax
3331
        pop     eax
3332
;--------------------------------------
3332
;--------------------------------------
3333
align 4
3333
align 4
3334
mouse_not_active:
-
 
3335
        xor     eax, eax
-
 
3336
        xchg    al, [REDRAW_BACKGROUND]
3334
mouse_not_active:
3337
        test    al, al      ; background update ?
3335
        cmp     byte[REDRAW_BACKGROUND], 0         ; background update ?
Line 3338... Line 3336...
3338
        jz      nobackgr
3336
        jz      nobackgr
3339
 
3337
 
3340
        cmp     [background_defined], 0
3338
        cmp     [background_defined], 0
Line 3353... Line 3351...
3353
        add     eax, [draw_data+32 + RECT.bottom]
3351
        add     eax, [draw_data+32 + RECT.bottom]
3354
        mov     [BG_Rect_Y_top_bottom], eax ; [top]*65536 + [bottom]
3352
        mov     [BG_Rect_Y_top_bottom], eax ; [top]*65536 + [bottom]
3355
        pop     eax
3353
        pop     eax
Line 3356... Line 3354...
3356
 
3354
 
-
 
3355
        call    drawbackground
3357
        call    drawbackground
3356
;        DEBUGF  1, "K : drawbackground\n"
3358
;--------- set event 5 start ----------
3357
;--------- set event 5 start ----------
3359
        push    ecx edi
3358
        push    ecx edi
3360
        xor     edi, edi
3359
        xor     edi, edi
3361
        mov     ecx, [TASK_COUNT]
3360
        mov     ecx, [TASK_COUNT]
Line 3367... Line 3366...
3367
        loop    set_bgr_event
3366
        loop    set_bgr_event
3368
        pop     edi ecx
3367
        pop     edi ecx
3369
; call change_task - because the application must have time to call f.15.8
3368
; call change_task - because the application must have time to call f.15.8
3370
        call    change_task
3369
        call    change_task
3371
;--------- set event 5 stop -----------
3370
;--------- set event 5 stop -----------
3372
        xor     eax, eax
-
 
3373
        xchg    al, [REDRAW_BACKGROUND]
-
 
3374
        test    al, al                             ; got new update request?
3371
        dec     byte[REDRAW_BACKGROUND]    ; got new update request?
3375
        jnz     @b
3372
        jnz     @b
Line 3376... Line 3373...
3376
 
3373
 
3377
        mov     [draw_data+32 + RECT.left], eax
3374
        mov     [draw_data+32 + RECT.left], eax
3378
        mov     [draw_data+32 + RECT.top], eax
3375
        mov     [draw_data+32 + RECT.top], eax