Subversion Repositories Kolibri OS

Rev

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

Rev 1760 Rev 1861
Line 356... Line 356...
356
    add  eax, [g_e]
356
    add  eax, [g_e]
357
    add  eax, [g_e]
357
    add  eax, [g_e]
358
    add  eax, 5*2                                   ; skin width
358
    add  eax, 5*2                                   ; skin width
359
    mov  esi, eax
359
    mov  esi, eax
360
    test [proc_info.wnd_state], 0x01
360
    test [proc_info.wnd_state], 0x01
-
 
361
     jz  @f
361
    cmovnz  eax, [proc_info.box.width]
362
    mov  eax, [proc_info.box.width]
-
 
363
  @@:
362
    mov  [window_width],    eax
364
    mov  [window_width],    eax
Line 363... Line 365...
363
 
365
 
364
    sub  eax, [gw_mul_gs]
366
    sub  eax, [gw_mul_gs]
365
    sub  eax, 5*2
367
    sub  eax, 5*2
Line 374... Line 376...
374
    add  eax, [g_e]
376
    add  eax, [g_e]
375
    add  eax, 30
377
    add  eax, 30
376
    add  eax, 5                                      ; skin height (bottom part)
378
    add  eax, 5                                      ; skin height (bottom part)
377
    mov  edi, eax
379
    mov  edi, eax
378
    test [proc_info.wnd_state], 0x01
380
    test [proc_info.wnd_state], 0x01
-
 
381
     jz	 @f
379
    cmovnz  eax, [proc_info.box.height]
382
    mov  eax, [proc_info.box.height]
-
 
383
  @@:
380
    mov  [window_height],   eax
384
    mov  [window_height],   eax
Line 381... Line 385...
381
 
385
 
382
    sub  eax, [gh_mul_gs]
386
    sub  eax, [gh_mul_gs]
383
    sub  eax, ebx
387
    sub  eax, ebx