From 647985aea34c0d436e3b602aee84b64a24243bae Mon Sep 17 00:00:00 2001 From: "Marat Zakiyanov (Mario79)" Date: Fri, 1 Oct 2010 13:44:06 +0000 Subject: [PATCH] Animage correct draw window on the way - coming soon git-svn-id: svn://kolibrios.org@1637 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/media/animage/trunk/events_of_window.inc | 6 +++--- programs/media/animage/trunk/panel_engen.inc | 12 ++++++------ 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/programs/media/animage/trunk/events_of_window.inc b/programs/media/animage/trunk/events_of_window.inc index fab805bc2f..974b65bb44 100644 --- a/programs/media/animage/trunk/events_of_window.inc +++ b/programs/media/animage/trunk/events_of_window.inc @@ -63,9 +63,9 @@ drawwin: shl ecx,16 add ebx,[Window_SizeX] add ecx,[Window_SizeY] - mov edx,0x03aabbcc - mov esi,0x805080d0 - mov edi,0x005080d0 + mov edx,0x43aabbcc + xor esi,esi ;0x805080d0 + xor edi,edi ;0x005080d0 mcall call draw_panel diff --git a/programs/media/animage/trunk/panel_engen.inc b/programs/media/animage/trunk/panel_engen.inc index 5dab455626..19098f83b6 100644 --- a/programs/media/animage/trunk/panel_engen.inc +++ b/programs/media/animage/trunk/panel_engen.inc @@ -382,7 +382,7 @@ draw_panel: mov edx,15 mov esi,6 sub ecx,10 - call draw_volume_rectangle + call draw_volume_rectangle ; top menu - file and etc. ;mov eax,5 ;mov ebx,20 @@ -398,7 +398,7 @@ draw_panel: mov edx,50 mov esi,1 sub ecx,10 - call draw_volume_rectangle + call draw_volume_rectangle ; tools panel mov eax,5 mov ebx,20+15+1+50+1 @@ -407,7 +407,7 @@ draw_panel: mov esi,1 sub ecx,10+20 sub edx,20+15+1+50+1+5+20 - call draw_volume_rectangle + call draw_volume_rectangle ; picure area mov eax,5 mov ebx,[Window_SizeY] @@ -416,7 +416,7 @@ draw_panel: mov esi,3 sub ecx,30 sub ebx,25+10 - call draw_volume_rectangle + call draw_volume_rectangle ; horizontal scrollbar mov eax,[Window_SizeX] mov ebx,20+15+1+49+2 @@ -425,7 +425,7 @@ draw_panel: mov esi,3 sub eax,25+10 sub edx,20+15+1+49+5+20 - call draw_volume_rectangle + call draw_volume_rectangle ; vertical scrollbar mov eax,[Window_SizeX] mov ebx,[Window_SizeY] @@ -434,7 +434,7 @@ draw_panel: mov esi,6 sub eax,25+10 sub ebx,25+10 - call draw_volume_rectangle + call draw_volume_rectangle ; down and right small area ;mov eax,445 ;mov ebx,20+15+6