Subversion Repositories Kolibri OS

Rev

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

Rev 4623 Rev 4659
Line 119... Line 119...
119
; Draw userlist if active window is a channel
119
; Draw userlist if active window is a channel
120
        mov     edi, [window_active]
120
        mov     edi, [window_active]
121
        cmp     [edi + window.type], WINDOWTYPE_CHANNEL
121
        cmp     [edi + window.type], WINDOWTYPE_CHANNEL
122
        jne     .not_channel
122
        jne     .not_channel
Line -... Line 123...
-
 
123
 
123
 
124
        mov     [scroll1.all_redraw], 1
-
 
125
        call    draw_channel_list
124
        ; draw a vertical separator line
126
 
-
 
127
; draw a vertical separator line when there is no scrollbar
-
 
128
        cmp     [scroll2.all_redraw], 1
-
 
129
        jne     .not_channel
125
        ; TODO: dont draw this if we draw textbox scrollbar ??
130
 
126
        mov     ebx, [xsize]
131
        mov     ebx, [xsize]
127
        sub     ebx, USERLIST_WIDTH + SCROLLBAR_WIDTH + 3
132
        sub     ebx, USERLIST_WIDTH + SCROLLBAR_WIDTH + 3
128
        push    bx
133
        push    bx
129
        shl     ebx, 16
134
        shl     ebx, 16
130
        pop     bx
135
        pop     bx
131
        mov     ecx, [ysize]
136
        mov     ecx, [ysize]
132
        add     ecx, TOP_Y SHL 16 -(BOTTOM_Y) ;;;;
137
        add     ecx, TOP_Y shl 16 - (BOTTOM_Y)
133
        mov     edx, [colors.work_graph]
138
        mov     edx, [colors.work_graph]
134
        mcall   38
-
 
135
 
-
 
136
        mov     [scroll1.all_redraw], 1
-
 
137
        call    draw_channel_list
139
        mcall   38
Line 138... Line 140...
138
  .not_channel:
140
  .not_channel:
139
 
141
 
140
; draw editbox
142
; draw editbox