Mistakes in controls are corrected: ProgressBar, Text, Image.

git-svn-id: svn://kolibrios.org@682 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
andrew_programmer
2007-12-16 15:02:15 +00:00
parent a3ee7f3740
commit 748fe8669e
5 changed files with 49 additions and 0 deletions

View File

@@ -117,6 +117,11 @@ progress_bar:
and [ProgressBar.type],deactivate_trap
cmp [ProgressBar.progress],dword 0.02
jae nofull_redraw
call draw_all_progress_bar
nofull_redraw:
call draw_progress
no_draw_progress_bar:
@@ -141,6 +146,12 @@ progress_bar:
exit_progress_bar:
mov edi,[PointerForProgressBar]
add edi,control_header_size
mov esi,dword ProgressBar
mov ecx,pb_control_data_size
rep movsb
ret 8
draw_all_progress_bar: