r3161: update to 3.6.0
authorKevin M. Rosenberg <kevin@rosenberg.net>
Thu, 24 Oct 2002 20:09:55 +0000 (20:09 +0000)
committerKevin M. Rosenberg <kevin@rosenberg.net>
Thu, 24 Oct 2002 20:09:55 +0000 (20:09 +0000)
src/backgroundsupr.cpp
src/backgroundsupr.h
src/graph3dview.cpp
tools/Makefile.am
tools/ctsimtext.cpp

index 8107a9e0b1b280d67091c2eb391f5be2c690eb74..98f81e6969c51be4eff13776768ac36cd774908b 100644 (file)
@@ -9,7 +9,7 @@
 **  This is part of the CTSim program
 **  Copyright (C) 1983-2001 Kevin Rosenberg
 **
-**  $Id: backgroundsupr.cpp,v 1.19 2001/03/11 06:34:37 kevin Exp $
+**  $Id: backgroundsupr.cpp,v 1.20 2002/10/24 20:09:55 kevin Exp $
 **
 **  This program is free software; you can redistribute it and/or modify
 **  it under the terms of the GNU General Public License (version 2) as
@@ -54,7 +54,7 @@ END_EVENT_TABLE()
 
 
 
-BackgroundSupervisor::BackgroundSupervisor (SupervisorThread* pMyThread, wxFrame* pParentFrame, BackgroundProcessingDocument* pDocument, const char* const pszProcessTitle, int iTotalUnits)
+BackgroundSupervisor::BackgroundSupervisor (SupervisorThread* pMyThread, wxWindow* pParentFrame, BackgroundProcessingDocument* pDocument, const char* const pszProcessTitle, int iTotalUnits)
     : wxEvtHandler(), m_pMyThread(pMyThread), m_pParentFrame(pParentFrame), m_pDocument(pDocument), m_strProcessTitle(pszProcessTitle), 
     m_iTotalUnits(iTotalUnits), m_iNumThreads(0), m_bDone(false), m_bFail(false), m_bCancelled(false), m_iRunning(0),
     m_pTimer(NULL), m_bWorkersDeleted(false), m_bBackgroundManagerAdded(false)
index d4daa3ed314095f307e1d18e2488c9e91fde67d6..e362e4061c670f2bb924b9d919a97a6f5b82dab0 100644 (file)
@@ -9,7 +9,7 @@
 **  This is part of the CTSim program
 **  Copyright (C) 1983-2001 Kevin Rosenberg
 **
-**  $Id: backgroundsupr.h,v 1.11 2001/03/09 21:31:51 kevin Exp $
+**  $Id: backgroundsupr.h,v 1.12 2002/10/24 20:09:55 kevin Exp $
 **
 **  This program is free software; you can redistribute it and/or modify
 **  it under the terms of the GNU General Public License (version 2) as
@@ -55,7 +55,7 @@ private:
   DECLARE_DYNAMIC_CLASS(BackgroundSupervisor)
 
   SupervisorThread* m_pMyThread;
-  wxFrame* m_pParentFrame;
+  wxWindow* m_pParentFrame;
   BackgroundProcessingDocument* m_pDocument;
   const std::string m_strProcessTitle;
   
@@ -88,7 +88,7 @@ public:
     MSG_WORKER_THREAD_FAIL = 7507,   // sent by workers when they fail
   };
 
-  BackgroundSupervisor (SupervisorThread* pMyThread, wxFrame* pParentFrame, BackgroundProcessingDocument* pDocument, const char* const pszProcessTitle, 
+  BackgroundSupervisor (SupervisorThread* pMyThread, wxWindow* pParentFrame, BackgroundProcessingDocument* pDocument, const char* const pszProcessTitle, 
     int iTotalUnits);
 
   BackgroundSupervisor ()
index 7d08275fb45e47a1775c98e7181bfce6cfc5ebfd..39d54c4a1e9c76780fe33d7cd6f8d6a0d39a59d9 100644 (file)
@@ -9,7 +9,7 @@
 **  This is part of the CTSim program
 **  Copyright (c) 1983-2001 Kevin Rosenberg
 **
-**  $Id: graph3dview.cpp,v 1.29 2002/06/27 03:19:23 kevin Exp $
+**  $Id: graph3dview.cpp,v 1.30 2002/10/24 20:09:55 kevin Exp $
 **
 **  This program is free software; you can redistribute it and/or modify
 **  it under the terms of the GNU General Public License (version 2) as
@@ -806,9 +806,10 @@ Graph3dFileView::CreateChildFrame (wxDocument *doc, wxView *view)
 
 
 
+// EVT_PAINT(Graph3dFileCanvas::OnPaint)
+
 BEGIN_EVENT_TABLE(Graph3dFileCanvas, wxGLCanvas)
 EVT_SIZE(Graph3dFileCanvas::OnSize)
-EVT_PAINT(Graph3dFileCanvas::OnPaint)
 EVT_CHAR(Graph3dFileCanvas::OnChar)
 EVT_MOUSE_EVENTS(Graph3dFileCanvas::OnMouseEvent)
 EVT_ERASE_BACKGROUND(Graph3dFileCanvas::OnEraseBackground)
index 1e4cc293ef2811ea1f84927843c95e4a550ff91d..963d8f32820ab12b91642b7bf7874d2074a9ab27 100644 (file)
@@ -21,14 +21,14 @@ install-exec-hook:
        ln -sf ctsimtext $(bindir)/pjrec
        ln -sf ctsimtext $(bindir)/pjHinterp
 
-ctsimtext_SOURCES = ctsimtext.cpp
+ctsimtext_SOURCES = ctsimtext.cpp if1.cpp if2.cpp ifinfo.cpp ifexport.cpp phm2if.cpp phm2pj.cpp pj2if.cpp pjinfo.cpp pjrec.cpp nographics.cpp phm2helix.cpp pjHinterp.cpp
 ctsimtext_LDADD=@ctlibs@
 ctsimtext_DEPENDENCIES=$(SOURCE_DEPEND)
 
 realclean:
        rm -f *.pgm *.if *~ *.pj
 
-ctsimtext_lam_SOURCES = ctsimtext.cpp
+ctsimtext_lam_SOURCES = ctsimtext.cpp if1.cpp if2.cpp ifinfo.cpp ifexport.cpp phm2if.cpp phm2pj.cpp pj2if.cpp pjinfo.cpp pjrec.cpp nographics.cpp mpiworld.cpp phm2helix.cpp pjHinterp.cpp
 ctsimtext_lam_LDADD=@ctlamlibs@
 
 if USE_LAM
index 2df7915f9e5f82dad5ec6d850db8ca96716bfab7..0b2b6a477f7c368b40cb7ec5c9e1e489d4215cec 100644 (file)
@@ -9,7 +9,7 @@
 **  This is part of the CTSim program
 **  Copyright (C) 1983-2000 Kevin Rosenberg
 **
-**  $Id: ctsimtext.cpp,v 1.22 2002/09/09 22:45:20 kevin Exp $
+**  $Id: ctsimtext.cpp,v 1.23 2002/10/24 20:09:55 kevin Exp $
 **
 **  This program is free software; you can redistribute it and/or modify
 **  it under the terms of the GNU General Public License (version 2) as
@@ -45,7 +45,7 @@ extern "C" {
 // If linked to ctsimtext, but executed as another name, eg pjrec, then program will use that
 // linked name as name of function.
 
-static const char* const g_szIdStr = "$Id: ctsimtext.cpp,v 1.22 2002/09/09 22:45:20 kevin Exp $";
+static const char* const g_szIdStr = "$Id: ctsimtext.cpp,v 1.23 2002/10/24 20:09:55 kevin Exp $";
 static const char* const s_szProgramName = "ctsimtext";
 static const char* const s_szProgramName2 = "ctsimtext.exe";
 static const char* const s_szProgramName3 = "ctsimtext-lam";
@@ -293,16 +293,3 @@ main (int argc, char* argv[])
   
   return retval;
 }
-
-#include "nographics.cpp"
-#include "if1.cpp"
-#include "if2.cpp"
-#include "ifinfo.cpp"
-#include "ifexport.cpp"
-#include "phm2if.cpp"
-#include "phm2pj.cpp"
-#include "pj2if.cpp"
-#include "pjinfo.cpp"
-#include "pjrec.cpp"
-#include "phm2helix.cpp"
-#include "pjHinterp.cpp"