Subversion Repositories Kolibri OS

Rev

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

Rev 1524 Rev 1525
Line 483... Line 483...
483
    mcall 9, procinfo2, -1
483
    mcall 9, procinfo2, -1
484
    mov  edx, -1
484
    mov  edx, -1
485
    mov  esi, -1
485
    mov  esi, -1
Line 486... Line 486...
486
    
486
    
487
    mov  eax, [procinfo2.box.width]
487
    mov  eax, [procinfo2.box.width]
488
    cmp  eax, 140
488
    cmp  eax, [window_width]
489
     je  @f
489
     je  @f
-
 
490
    mov  [is_scroll_bar_needed],    0
490
    mov  [is_scroll_bar_needed],    0
491
    cmp  eax, 140
491
     jg  @f
492
     jnl @f
492
    mov  edx, 140
493
    mov  eax, 140
-
 
494
  @@:
-
 
495
    mov  edx, eax
Line 493... Line 496...
493
  @@:
496
    mov  [window_width],    eax
494
 
497
 
495
    mov  eax, [procinfo2.box.height]
498
    mov  eax, [procinfo2.box.height]
496
    cmp  eax, 80
499
    cmp  eax, [window_height]
-
 
500
     je  @f
497
     je  @f
501
    mov  [is_scroll_bar_needed],    0
498
    mov  [is_scroll_bar_needed],    0
502
    cmp  eax, 80
499
     jg  @f
503
     jnl @f
-
 
504
    mov  eax, 80
-
 
505
  @@:
Line 500... Line 506...
500
    mov  esi, 80
506
    mov  esi, eax
Line 501... Line 507...
501
  @@:
507
    mov  [window_height],   eax
502
 
508
 
Line 719... Line 725...
719
 
725
 
720
; ¨­â¥àä¥©á ¯à®£à ¬¬ë ¬­®£®ï§ëç­ë©
726
; ¨­â¥àä¥©á ¯à®£à ¬¬ë ¬­®£®ï§ëç­ë©
Line 721... Line 727...
721
;  ‚ë ¬®¦¥â¥ § ¤ âì ï§ëª ¢ MACROS.INC (lang fix ï§ëª)
727
;  ‚ë ¬®¦¥â¥ § ¤ âì ï§ëª ¢ MACROS.INC (lang fix ï§ëª)
722
 
-
 
723
window_title:           db      'RtfRead v1.034',0
728
 
-
 
729
window_title:           db      'RtfRead v1.034',0
-
 
730
is_scroll_bar_needed    dd      0x0
724
buf_cmd_lin             dd      0x0
731
window_width            dd      0x0
725
is_scroll_bar_needed    dd      0x0
732
window_height           dd      0x0
Line 726... Line 733...
726
;---------------------------------------------------------------------
733
;---------------------------------------------------------------------
727
l_libs_start:
734
l_libs_start: