Subversion Repositories Kolibri OS

Rev

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

Rev 3840 Rev 5684
Line 90... Line 90...
90
    add  ax,10
90
    add  ax,10
91
    cmp  ax,[left_panel_y_correct_size_y]
91
    cmp  ax,[left_panel_y_correct_size_y]
92
    jae  @f
92
    jae  @f
93
.add_1:
93
.add_1:
94
    add  [left_start_draw_cursor_line],10
94
    add  [left_start_draw_cursor_line],10
95
    call draw_left_panel_selection
95
    call draw_left_panel
96
    mov  [drawing_panel_folder],1
96
    mov  [drawing_panel_folder],1
-
 
97
	jmp  still
97
.all:
98
.all:
98
    sub  ecx,10 shl 16
99
    sub  ecx,10 shl 16
99
    mov  edx,0xffffff
100
    mov  edx,0xffffff
100
	mcall
101
	mcall
101
    mov  [not_clear_lines],1
102
    mov  [not_clear_lines],1
Line 140... Line 141...
140
    add  ax,10
141
    add  ax,10
141
    cmp  ax,[right_panel_y_correct_size_y]
142
    cmp  ax,[right_panel_y_correct_size_y]
142
    jae  @f
143
    jae  @f
143
.add_2:
144
.add_2:
144
    add  [right_start_draw_cursor_line],10
145
    add  [right_start_draw_cursor_line],10
145
    call draw_right_panel_selection
146
    call draw_right_panel
146
    mov  [drawing_panel_folder],2
147
    mov  [drawing_panel_folder],2
147
    jmp  key_80.all
148
    jmp  still
148
@@:
149
@@:
149
    mov  eax,[right_folder_block]
150
    mov  eax,[right_folder_block]
150
    sub  eax,[max_panel_line]
151
    sub  eax,[max_panel_line]
151
    test eax,0x80000000
152
    test eax,0x80000000
152
    jz	 @f
153
    jz	 @f
Line 171... Line 172...
171
    mov  ax,[left_start_draw_cursor_line]
172
    mov  ax,[left_start_draw_cursor_line]
172
    add  ax,[left_panel_y.start_y]
173
    add  ax,[left_panel_y.start_y]
173
    cmp  [left_panel_y.start_y],ax
174
    cmp  [left_panel_y.start_y],ax
174
    je	 @f
175
    je	 @f
175
    sub  [left_start_draw_cursor_line],10
176
    sub  [left_start_draw_cursor_line],10
176
    call draw_left_panel_selection
177
    call draw_left_panel
177
    mov  [drawing_panel_folder],1
178
    mov  [drawing_panel_folder],1
-
 
179
	jmp  still
178
.all:    
180
.all:    
179
    add  ecx,10 shl 16
181
    add  ecx,10 shl 16
180
    mov  edx,0xffffff
182
    mov  edx,0xffffff
181
	mcall
183
	mcall
182
    mov  [not_clear_lines],1
184
    mov  [not_clear_lines],1
Line 193... Line 195...
193
    mov  ax,[right_start_draw_cursor_line]
195
    mov  ax,[right_start_draw_cursor_line]
194
    add  ax,[right_panel_y.start_y]
196
    add  ax,[right_panel_y.start_y]
195
    cmp  [right_panel_y.start_y],ax
197
    cmp  [right_panel_y.start_y],ax
196
    je	 @f
198
    je	 @f
197
    sub  [right_start_draw_cursor_line],10
199
    sub  [right_start_draw_cursor_line],10
198
    call draw_right_panel_selection
200
    call draw_right_panel
199
    mov  [drawing_panel_folder],2
201
    mov  [drawing_panel_folder],2
200
    jmp  key_72.all
202
    jmp  still
201
@@:
203
@@:
202
    cmp  [right_start_draw_line],0
204
    cmp  [right_start_draw_line],0
203
    je	 still
205
    je	 still
204
    dec  [right_start_draw_line]
206
    dec  [right_start_draw_line]
205
    call draw_right_panel
207
    call draw_right_panel