Explorar o código

move drawing from DrawForeground to DrawBackground

git-svn-id: https://svn.inf.ethz.ch/svn/lecturers/a2/trunk@6343 8c9fc860-2736-0410-a75d-ab315db34111
eth.metacore %!s(int64=9) %!d(string=hai) anos
pai
achega
ba4ed82a70
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      source/WMTextView.Mod

+ 2 - 2
source/WMTextView.Mod

@@ -2638,7 +2638,7 @@ TYPE
 			text.ReleaseRead;
 		END RenderAboveTextMarkers;
 
-		PROCEDURE DrawForeground*(canvas : WMGraphics.Canvas);
+		PROCEDURE DrawBackground*(canvas : WMGraphics.Canvas);
 		VAR la, lb, i, top, t, b : LONGINT; cliprect : WMRectangles.Rectangle; cstate : WMGraphics.CanvasState;
 		BEGIN
 			ASSERT(layout # NIL);
@@ -2691,7 +2691,7 @@ TYPE
 			RenderAboveTextMarkers(canvas);
 			text.ReleaseRead;
 			canvas.RestoreState(cstate);
-		END DrawForeground;
+		END DrawBackground;
 
 		PROCEDURE StoreLineEnter;
 		VAR pos, cl : LONGINT;