Subversion Repositories Kolibri OS

Rev

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

Rev 4710 Rev 4824
Line 11... Line 11...
11
;;         GNU GENERAL PUBLIC LICENSE                              ;;
11
;;         GNU GENERAL PUBLIC LICENSE                              ;;
12
;;          Version 2, June 1991                                   ;;
12
;;          Version 2, June 1991                                   ;;
13
;;                                                                 ;;
13
;;                                                                 ;;
14
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
14
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Line 15... Line 15...
15
 
15
 
Line 16... Line 16...
16
version equ '0.22'
16
version equ '0.23'
17
 
17
 
18
; connection status
18
; connection status
19
STATUS_DISCONNECTED     = 0
19
STATUS_DISCONNECTED	= 0
20
STATUS_RESOLVING        = 1
20
STATUS_RESOLVING	= 1
Line 21... Line 21...
21
STATUS_CONNECTING       = 2
21
STATUS_CONNECTING	= 2
22
STATUS_CONNECTED        = 3
22
STATUS_CONNECTED	= 3
23
 
23
 
-
 
24
; window flags
Line 24... Line 25...
24
; window flags
25
FLAG_UPDATED		= 1 shl 0
25
FLAG_UPDATED            = 1 shl 0
26
FLAG_RECEIVING_NAMES	= 1 shl 1
26
FLAG_RECEIVING_NAMES    = 1 shl 1
27
FLAG_SCROLL_LOW 	= 1 shl 2
27
 
28
 
Line 410... Line 411...
410
        cmp     eax, [textbox_height]
411
	cmp	eax, [textbox_height]
411
        jbe     @f
412
	jbe	@f
412
        push    dword scroll2
413
	push	dword scroll2
413
        call    [scrollbar_mouse]
414
	call	[scrollbar_mouse]
414
        mov     edi, [window_active]
415
	mov	edi, [window_active]
-
 
416
	and	[edi+window.flags], not FLAG_SCROLL_LOW
415
        mov     edx, [scroll2.position]
417
	mov	edx, [scroll2.position]
-
 
418
	add	edx, [scroll2.cur_area]
-
 
419
	sub	edx, [scroll2.max_area]
-
 
420
	jne	@f
-
 
421
	or	[edi+window.flags], FLAG_SCROLL_LOW
-
 
422
  @@:	mov	edx, [scroll2.position]
416
        sub     edx, [edi + window.text_line_print]
423
	sub	edx, [edi + window.text_line_print]
417
        je      @f
424
	je	@f
418
        call    draw_channel_text.scroll_to_pos
425
	call	draw_channel_text.scroll_to_pos
419
  @@:
426
  @@: