Quellcode durchsuchen

* ClearViewPort fixed

florian vor 26 Jahren
Ursprung
Commit
8a700b7568
2 geänderte Dateien mit 13 neuen und 7 gelöschten Zeilen
  1. 8 5
      rtl/inc/graph/graph.inc
  2. 5 2
      rtl/inc/graph/modes.inc

+ 8 - 5
rtl/inc/graph/graph.inc

@@ -1152,10 +1152,10 @@ Begin
   GetLineSettings(LineSets);
   GetLineSettings(LineSets);
   { reset to normal line style...}
   { reset to normal line style...}
   SetLineStyle(SolidLn, 0, NormWidth);
   SetLineStyle(SolidLn, 0, NormWidth);
-
   { routines are relative here...}
   { routines are relative here...}
-  for J:=0 to ViewHeight - 1 do
-       HLine(0, ViewWidth - 1, J);
+  { ViewHeight is Height-1 !     }
+  for J:=0 to ViewHeight do
+       HLine(0, ViewWidth , J);
 
 
   { restore old settings...}
   { restore old settings...}
   SetLineStyle(LineSets.LineStyle, LineSets.Pattern, LineSets.Thickness);
   SetLineStyle(LineSets.LineStyle, LineSets.Pattern, LineSets.Thickness);
@@ -2314,7 +2314,10 @@ begin
 end;
 end;
 {
 {
   $Log$
   $Log$
-  Revision 1.28  2000-03-19 11:20:13  peter
+  Revision 1.29  2000-03-24 13:01:15  florian
+    * ClearViewPort fixed
+
+  Revision 1.28  2000/03/19 11:20:13  peter
     * graph unit include is now independent and the dependent part
     * graph unit include is now independent and the dependent part
       is now in graph.pp
       is now in graph.pp
     * ggigraph unit for linux added
     * ggigraph unit for linux added
@@ -2526,4 +2529,4 @@ end;
   Revision 1.16  1999/07/14 18:18:04  florian
   Revision 1.16  1999/07/14 18:18:04  florian
     * cosmetic changes
     * cosmetic changes
 
 
-}
+}

+ 5 - 2
rtl/inc/graph/modes.inc

@@ -362,7 +362,10 @@
 
 
 {
 {
 $Log$
 $Log$
-Revision 1.19  2000-01-07 16:41:39  daniel
+Revision 1.20  2000-03-24 13:01:15  florian
+  * ClearViewPort fixed
+
+Revision 1.19  2000/01/07 16:41:39  daniel
   * copyright 2000
   * copyright 2000
 
 
 Revision 1.18  2000/01/07 16:32:26  daniel
 Revision 1.18  2000/01/07 16:32:26  daniel
@@ -436,4 +439,4 @@ Revision 1.7  1999/07/12 13:27:14  jonas
     real mode (but unexplainable "data segnment too large" errors prevent
     real mode (but unexplainable "data segnment too large" errors prevent
     it from working under real mode anyway)
     it from working under real mode anyway)
 
 
-}
+}