Quellcode durchsuchen

* graph.pp: removed pieslice and sector from ToDo list
* closegraph: exits now immidiately if isgraphmode = false (caused
RTE 204 with VESA enabled if you set exitproc to call closegraph
and also called closegraph explicitely before exit, like bgidemo)

Jonas Maebe vor 26 Jahren
Ursprung
Commit
34f074549c
2 geänderte Dateien mit 19 neuen und 4 gelöschten Zeilen
  1. 12 1
      rtl/inc/graph/graph.inc
  2. 7 3
      rtl/inc/graph/graph.pp

+ 12 - 1
rtl/inc/graph/graph.inc

@@ -1630,6 +1630,11 @@ const CrtAddress: word = 0;
  {************************************************************************}
  procedure CloseGraph;
  Begin
+    If not isgraphmode then
+      begin
+        _graphresult := grnoinitgraph;
+        exit
+      end;
     if not assigned(RestoreVideoState) then
       RunError(216);
     RestoreVideoState;
@@ -2583,7 +2588,13 @@ const CrtAddress: word = 0;
 
 {
 $Log$
-Revision 1.12  1999-09-15 13:37:50  jonas
+Revision 1.13  1999-09-18 16:03:36  jonas
+  * graph.pp: removed pieslice and sector from ToDo list
+  * closegraph: exits now immidiately if isgraphmode = false (caused
+    RTE 204 with VESA enabled if you set exitproc to call closegraph
+    and also called closegraph explicitely before exit, like bgidemo)
+
+Revision 1.12  1999/09/15 13:37:50  jonas
   * small change to internalellipsedef to be TP compatible
   * fixed directputpixel for vga 320*200*256
 

+ 7 - 3
rtl/inc/graph/graph.pp

@@ -2868,8 +2868,6 @@ begin
 end.
 
 
-PieSlice
-Sector
 SetGraphBufSize
 SetBkColor
 DetectGraph
@@ -2879,7 +2877,13 @@ DetectGraph
 
 {
   $Log$
-  Revision 1.23  1999-09-17 13:58:31  jonas
+  Revision 1.24  1999-09-18 16:03:37  jonas
+    * graph.pp: removed pieslice and sector from ToDo list
+    * closegraph: exits now immidiately if isgraphmode = false (caused
+      RTE 204 with VESA enabled if you set exitproc to call closegraph
+      and also called closegraph explicitely before exit, like bgidemo)
+
+  Revision 1.23  1999/09/17 13:58:31  jonas
   * another fix for a case where internalellipsedefault went haywire
   * sector() and pieslice() fully implemented!
   * small change to prevent buffer overflow with floodfill