From b9e5acef4ddac7f6e186aa08194799c5d47aa593 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Tue, 12 Jun 2001 10:14:58 +0000 Subject: [PATCH] Added geometry option to setup.h; added some missing make and project files git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- contrib/include/wx/plot/plot.h | 33 +++- contrib/samples/canvas/simple/SimpleVC.dsp | 175 +++++++++++++++++++++ contrib/samples/canvas/simple/SimpleVC.dsw | 29 ++++ contrib/samples/canvas/simple/makefile.b32 | 18 +++ contrib/samples/canvas/simple/makefile.g95 | 14 ++ contrib/samples/canvas/simple/makefile.vc | 14 ++ contrib/samples/canvas/test/TestVC.dsp | 175 +++++++++++++++++++++ contrib/samples/canvas/test/TestVC.dsw | 29 ++++ contrib/samples/canvas/test/makefile.b32 | 18 +++ contrib/samples/canvas/test/makefile.g95 | 14 ++ contrib/samples/canvas/test/makefile.vc | 14 ++ contrib/samples/canvas/test/test.rc | 3 + contrib/samples/plot/PlotVC.dsp | 175 +++++++++++++++++++++ contrib/samples/plot/PlotVC.dsw | 29 ++++ contrib/samples/plot/makefile.b32 | 18 +++ contrib/samples/plot/makefile.g95 | 14 ++ contrib/samples/plot/makefile.vc | 14 ++ contrib/src/canvas/CanvasVC.dsp | 102 ++++++++++++ contrib/src/canvas/CanvasVC.dsw | 29 ++++ contrib/src/canvas/makefile.b32 | 17 ++ contrib/src/canvas/makefile.g95 | 16 ++ contrib/src/canvas/makefile.vc | 159 +++++++++++++++++++ contrib/src/plot/PlotVC.dsp | 90 +++++++++++ contrib/src/plot/PlotVC.dsw | 29 ++++ contrib/src/plot/makefile.b32 | 17 ++ contrib/src/plot/makefile.g95 | 16 ++ contrib/src/plot/makefile.vc | 144 +++++++++++++++++ distrib/msw/contrib.rsp | 13 ++ distrib/msw/tardist | 1 + distrib/msw/vc.rsp | 12 +- distrib/msw/zipdistinno.bat | 4 +- include/wx/msw/setup0.h | 3 + src/wxvc.dsp | 8 +- src/wxvc_dll.dsp | 4 + 34 files changed, 1436 insertions(+), 14 deletions(-) create mode 100644 contrib/samples/canvas/simple/SimpleVC.dsp create mode 100644 contrib/samples/canvas/simple/SimpleVC.dsw create mode 100644 contrib/samples/canvas/simple/makefile.b32 create mode 100644 contrib/samples/canvas/simple/makefile.g95 create mode 100644 contrib/samples/canvas/simple/makefile.vc create mode 100644 contrib/samples/canvas/test/TestVC.dsp create mode 100644 contrib/samples/canvas/test/TestVC.dsw create mode 100644 contrib/samples/canvas/test/makefile.b32 create mode 100644 contrib/samples/canvas/test/makefile.g95 create mode 100644 contrib/samples/canvas/test/makefile.vc create mode 100644 contrib/samples/canvas/test/test.rc create mode 100644 contrib/samples/plot/PlotVC.dsp create mode 100644 contrib/samples/plot/PlotVC.dsw create mode 100644 contrib/samples/plot/makefile.b32 create mode 100644 contrib/samples/plot/makefile.g95 create mode 100644 contrib/samples/plot/makefile.vc create mode 100644 contrib/src/canvas/CanvasVC.dsp create mode 100644 contrib/src/canvas/CanvasVC.dsw create mode 100644 contrib/src/canvas/makefile.b32 create mode 100644 contrib/src/canvas/makefile.g95 create mode 100644 contrib/src/canvas/makefile.vc create mode 100644 contrib/src/plot/PlotVC.dsp create mode 100644 contrib/src/plot/PlotVC.dsw create mode 100644 contrib/src/plot/makefile.b32 create mode 100644 contrib/src/plot/makefile.g95 create mode 100644 contrib/src/plot/makefile.vc diff --git a/contrib/include/wx/plot/plot.h b/contrib/include/wx/plot/plot.h index d031f77dd6..4afcb1966f 100644 --- a/contrib/include/wx/plot/plot.h +++ b/contrib/include/wx/plot/plot.h @@ -35,7 +35,7 @@ class WXDLLEXPORT wxPlotYAxisArea; class WXDLLEXPORT wxPlotWindow; //----------------------------------------------------------------------------- -// classes +// consts //----------------------------------------------------------------------------- extern const int wxEVT_PLOT_SEL_CHANGING; @@ -60,9 +60,6 @@ extern const int wxEVT_PLOT_BEGIN_TITLE_EDIT; extern const int wxEVT_PLOT_END_TITLE_EDIT; extern const int wxEVT_PLOT_AREA_CREATE; -//----------------------------------------------------------------------------- -// consts -//----------------------------------------------------------------------------- #define wxPLOT_X_AXIS 0x0004 #define wxPLOT_Y_AXIS 0x0008 @@ -377,6 +374,8 @@ private: typedef void (wxEvtHandler::*wxPlotEventFunction)(wxPlotEvent&); +#if WXWIN_COMPATIBILITY_EVENT_TYPES + #define EVT_PLOT(id, fn) { wxEVT_PLOT_DOUBLECLICKED, id, -1, (wxObjectEventFunction) (wxEventFunction) (wxCommandEventFunction) (wxNotifyEventFunction) (wxPlotEventFunction) & fn, (wxObject *) NULL }, #define EVT_PLOT_SEL_CHANGING(id, fn) { wxEVT_PLOT_SEL_CHANGING, id, -1, (wxObjectEventFunction) (wxEventFunction) (wxCommandEventFunction) (wxNotifyEventFunction) (wxPlotEventFunction) & fn, (wxObject *) NULL }, #define EVT_PLOT_SEL_CHANGED(id, fn) { wxEVT_PLOT_SEL_CHANGED, id, -1, (wxObjectEventFunction) (wxEventFunction) (wxCommandEventFunction) (wxNotifyEventFunction) (wxPlotEventFunction) & fn, (wxObject *) NULL }, @@ -399,5 +398,31 @@ typedef void (wxEvtHandler::*wxPlotEventFunction)(wxPlotEvent&); #define EVT_PLOT_BEGIN_TITLE_EDIT(id, fn) { wxEVT_PLOT_BEGIN_TITLE_EDIT, id, -1, (wxObjectEventFunction) (wxEventFunction) (wxCommandEventFunction) (wxNotifyEventFunction) (wxPlotEventFunction) & fn, (wxObject *) NULL }, #define EVT_PLOT_END_TITLE_EDIT(id, fn) { wxEVT_PLOT_END_TITLE_EDIT, id, -1, (wxObjectEventFunction) (wxEventFunction) (wxCommandEventFunction) (wxNotifyEventFunction) (wxPlotEventFunction) & fn, (wxObject *) NULL }, +#else + +#define EVT_PLOT(id, fn) DECLARE_EVENT_TABLE_ENTRY(wxEVT_PLOT_DOUBLECLICKED, id, -1, (wxObjectEventFunction) (wxEventFunction) (wxCommandEventFunction) (wxNotifyEventFunction) (wxPlotEventFunction) & fn, (wxObject *) NULL ), +#define EVT_PLOT_SEL_CHANGING(id, fn) DECLARE_EVENT_TABLE_ENTRY(wxEVT_PLOT_SEL_CHANGING, id, -1, (wxObjectEventFunction) (wxEventFunction) (wxCommandEventFunction) (wxNotifyEventFunction) (wxPlotEventFunction) & fn, (wxObject *) NULL ), +#define EVT_PLOT_SEL_CHANGED(id, fn) DECLARE_EVENT_TABLE_ENTRY(wxEVT_PLOT_SEL_CHANGED, id, -1, (wxObjectEventFunction) (wxEventFunction) (wxCommandEventFunction) (wxNotifyEventFunction) (wxPlotEventFunction) & fn, (wxObject *) NULL ), +#define EVT_PLOT_CLICKED(id, fn) DECLARE_EVENT_TABLE_ENTRY(wxEVT_PLOT_CLICKED, id, -1, (wxObjectEventFunction) (wxEventFunction) (wxCommandEventFunction) (wxNotifyEventFunction) (wxPlotEventFunction) & fn, (wxObject *) NULL ), +#define EVT_PLOT_DOUBLECLICKED(id, fn) DECLARE_EVENT_TABLE_ENTRY(wxEVT_PLOT_DOUBLECLICKED, id, -1, (wxObjectEventFunction) (wxEventFunction) (wxCommandEventFunction) (wxNotifyEventFunction) (wxPlotEventFunction) & fn, (wxObject *) NULL ), +#define EVT_PLOT_ZOOM_IN(id, fn) DECLARE_EVENT_TABLE_ENTRY(wxEVT_PLOT_ZOOM_IN, id, -1, (wxObjectEventFunction) (wxEventFunction) (wxCommandEventFunction) (wxNotifyEventFunction) (wxPlotEventFunction) & fn, (wxObject *) NULL ), +#define EVT_PLOT_ZOOM_OUT(id, fn) DECLARE_EVENT_TABLE_ENTRY(wxEVT_PLOT_ZOOM_OUT, id, -1, (wxObjectEventFunction) (wxEventFunction) (wxCommandEventFunction) (wxNotifyEventFunction) (wxPlotEventFunction) & fn, (wxObject *) NULL ), +#define EVT_PLOT_VALUE_SEL_CREATING(id, fn) DECLARE_EVENT_TABLE_ENTRY(wxEVT_PLOT_VALUE_SEL_CREATING, id, -1, (wxObjectEventFunction) (wxEventFunction) (wxCommandEventFunction) (wxNotifyEventFunction) (wxPlotEventFunction) & fn, (wxObject *) NULL ), +#define EVT_PLOT_VALUE_SEL_CREATED(id, fn) DECLARE_EVENT_TABLE_ENTRY(wxEVT_PLOT_VALUE_SEL_CREATED, id, -1, (wxObjectEventFunction) (wxEventFunction) (wxCommandEventFunction) (wxNotifyEventFunction) (wxPlotEventFunction) & fn, (wxObject *) NULL ), +#define EVT_PLOT_VALUE_SEL_CHANGING(id, fn) DECLARE_EVENT_TABLE_ENTRY(wxEVT_PLOT_VALUE_SEL_CHANGING, id, -1, (wxObjectEventFunction) (wxEventFunction) (wxCommandEventFunction) (wxNotifyEventFunction) (wxPlotEventFunction) & fn, (wxObject *) NULL ), +#define EVT_PLOT_VALUE_SEL_CHANGED(id, fn) DECLARE_EVENT_TABLE_ENTRY(wxEVT_PLOT_VALUE_SEL_CHANGED, id, -1, (wxObjectEventFunction) (wxEventFunction) (wxCommandEventFunction) (wxNotifyEventFunction) (wxPlotEventFunction) & fn, (wxObject *) NULL ), +#define EVT_PLOT_AREA_SEL_CREATING(id, fn) DECLARE_EVENT_TABLE_ENTRY(wxEVT_PLOT_AREA_SEL_CREATING, id, -1, (wxObjectEventFunction) (wxEventFunction) (wxCommandEventFunction) (wxNotifyEventFunction) (wxPlotEventFunction) & fn, (wxObject *) NULL ), +#define EVT_PLOT_AREA_SEL_CREATED(id, fn) DECLARE_EVENT_TABLE_ENTRY(wxEVT_PLOT_AREA_SEL_CREATED, id, -1, (wxObjectEventFunction) (wxEventFunction) (wxCommandEventFunction) (wxNotifyEventFunction) (wxPlotEventFunction) & fn, (wxObject *) NULL ), +#define EVT_PLOT_AREA_SEL_CHANGING(id, fn) DECLARE_EVENT_TABLE_ENTRY(wxEVT_PLOT_AREA_SEL_CHANGING, id, -1, (wxObjectEventFunction) (wxEventFunction) (wxCommandEventFunction) (wxNotifyEventFunction) (wxPlotEventFunction) & fn, (wxObject *) NULL ), +#define EVT_PLOT_AREA_SEL_CHANGED(id, fn) DECLARE_EVENT_TABLE_ENTRY(wxEVT_PLOT_AREA_SEL_CHANGED, id, -1, (wxObjectEventFunction) (wxEventFunction) (wxCommandEventFunction) (wxNotifyEventFunction) (wxPlotEventFunction) & fn, (wxObject *) NULL ), +#define EVT_PLOT_BEGIN_X_LABEL_EDIT(id, fn) DECLARE_EVENT_TABLE_ENTRY(wxEVT_PLOT_BEGIN_X_LABEL_EDIT, id, -1, (wxObjectEventFunction) (wxEventFunction) (wxCommandEventFunction) (wxNotifyEventFunction) (wxPlotEventFunction) & fn, (wxObject *) NULL ), +#define EVT_PLOT_END_X_LABEL_EDIT(id, fn) DECLARE_EVENT_TABLE_ENTRY(wxEVT_PLOT_END_X_LABEL_EDIT, id, -1, (wxObjectEventFunction) (wxEventFunction) (wxCommandEventFunction) (wxNotifyEventFunction) (wxPlotEventFunction) & fn, (wxObject *) NULL ), +#define EVT_PLOT_BEGIN_Y_LABEL_EDIT(id, fn) DECLARE_EVENT_TABLE_ENTRY(wxEVT_PLOT_BEGIN_Y_LABEL_EDIT, id, -1, (wxObjectEventFunction) (wxEventFunction) (wxCommandEventFunction) (wxNotifyEventFunction) (wxPlotEventFunction) & fn, (wxObject *) NULL ), +#define EVT_PLOT_END_Y_LABEL_EDIT(id, fn) DECLARE_EVENT_TABLE_ENTRY(wxEVT_PLOT_END_Y_LABEL_EDIT, id, -1, (wxObjectEventFunction) (wxEventFunction) (wxCommandEventFunction) (wxNotifyEventFunction) (wxPlotEventFunction) & fn, (wxObject *) NULL ), +#define EVT_PLOT_BEGIN_TITLE_EDIT(id, fn) DECLARE_EVENT_TABLE_ENTRY(wxEVT_PLOT_BEGIN_TITLE_EDIT, id, -1, (wxObjectEventFunction) (wxEventFunction) (wxCommandEventFunction) (wxNotifyEventFunction) (wxPlotEventFunction) & fn, (wxObject *) NULL ), +#define EVT_PLOT_END_TITLE_EDIT(id, fn) DECLARE_EVENT_TABLE_ENTRY(wxEVT_PLOT_END_TITLE_EDIT, id, -1, (wxObjectEventFunction) (wxEventFunction) (wxCommandEventFunction) (wxNotifyEventFunction) (wxPlotEventFunction) & fn, (wxObject *) NULL ), + +#endif + #endif // _WX_PLOT_H_ diff --git a/contrib/samples/canvas/simple/SimpleVC.dsp b/contrib/samples/canvas/simple/SimpleVC.dsp new file mode 100644 index 0000000000..71898b6db8 --- /dev/null +++ b/contrib/samples/canvas/simple/SimpleVC.dsp @@ -0,0 +1,175 @@ +# Microsoft Developer Studio Project File - Name="SimpleVC" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Application" 0x0101 + +CFG=SimpleVC - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "SimpleVC.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "SimpleVC.mak" CFG="SimpleVC - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "SimpleVC - Win32 Release" (based on "Win32 (x86) Application") +!MESSAGE "SimpleVC - Win32 Debug" (based on "Win32 (x86) Application") +!MESSAGE "SimpleVC - Win32 Debug DLL" (based on "Win32 (x86) Application") +!MESSAGE "SimpleVC - Win32 Release DLL" (based on "Win32 (x86) Application") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +MTL=midl.exe +RSC=rc.exe + +!IF "$(CFG)" == "SimpleVC - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "Release" +# PROP Intermediate_Dir "Release" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GX /O1 /Ob2 /I "../../../../include" /I "../../../../contrib/include" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /FD /c +# SUBTRACT CPP /YX +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +# ADD BASE RSC /l 0x809 /d "NDEBUG" +# ADD RSC /l 0x809 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386 +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wx.lib png.lib zlib.lib jpeg.lib tiff.lib canvas.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /nodefaultlib:"msvcrtd.lib" /out:"Release/simple.exe" /libpath:"../../../../lib" + +!ELSEIF "$(CFG)" == "SimpleVC - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Debug" +# PROP Intermediate_Dir "Debug" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c +# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "../../../../include" /I "../../../../contrib/include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D DEBUG=1 /D "__WXDEBUG__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /FD /c +# SUBTRACT CPP /YX /Yc /Yu +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +# ADD BASE RSC /l 0x809 /d "_DEBUG" +# ADD RSC /l 0x809 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxd.lib pngd.lib zlibd.lib jpegd.lib tiffd.lib canvasd.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /nodefaultlib:"msvcrt.lib" /out:"Debug/simple.exe" /pdbtype:sept /libpath:"../../../../lib" + +!ELSEIF "$(CFG)" == "SimpleVC - Win32 Debug DLL" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "DebugDLL" +# PROP BASE Intermediate_Dir "DebugDLL" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "DebugDLL" +# PROP Intermediate_Dir "DebugDLL" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c +# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "../../../../include" /I "../../../../contrib/include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D DEBUG=1 /D "__WXDEBUG__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /D WXUSINGDLL=1 /Yu"wx/wxprec.h" /FD /c +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +# ADD BASE RSC /l 0x809 /d "_DEBUG" +# ADD RSC /l 0x809 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxdlld.lib canvasd.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /out:"DebugDLL/simple.exe" /pdbtype:sept /libpath:"../../../../lib" + +!ELSEIF "$(CFG)" == "SimpleVC - Win32 Release DLL" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "ReleaseDLL" +# PROP BASE Intermediate_Dir "ReleaseDLL" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "ReleaseDLL" +# PROP Intermediate_Dir "ReleaseDLL" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GX /O1 /Ob2 /I "../../../../include" /I "../../../../contrib/include" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /D WXUSINGDLL=1 /FD /c +# SUBTRACT CPP /YX +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +# ADD BASE RSC /l 0x809 /d "NDEBUG" +# ADD RSC /l 0x809 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386 +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxdll.lib canvas.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /out:"ReleaseDLL/simple.exe" /libpath:"../../../../lib" + +!ENDIF + +# Begin Target + +# Name "SimpleVC - Win32 Release" +# Name "SimpleVC - Win32 Debug" +# Name "SimpleVC - Win32 Debug DLL" +# Name "SimpleVC - Win32 Release DLL" +# Begin Source File + +SOURCE=.\simple.cpp + +!IF "$(CFG)" == "SimpleVC - Win32 Release" + +!ELSEIF "$(CFG)" == "SimpleVC - Win32 Debug" + +# SUBTRACT CPP /YX /Yc /Yu + +!ELSEIF "$(CFG)" == "SimpleVC - Win32 Debug DLL" + +# SUBTRACT CPP /YX /Yc /Yu + +!ELSEIF "$(CFG)" == "SimpleVC - Win32 Release DLL" + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\simple.rc +# ADD BASE RSC /l 0x809 +# ADD RSC /l 0x809 /i "..\..\include" +# End Source File +# End Target +# End Project diff --git a/contrib/samples/canvas/simple/SimpleVC.dsw b/contrib/samples/canvas/simple/SimpleVC.dsw new file mode 100644 index 0000000000..292e7d3bcc --- /dev/null +++ b/contrib/samples/canvas/simple/SimpleVC.dsw @@ -0,0 +1,29 @@ +Microsoft Developer Studio Workspace File, Format Version 6.00 +# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! + +############################################################################### + +Project: "SimpleVC"=.\SimpleVC.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Global: + +Package=<5> +{{{ +}}} + +Package=<3> +{{{ +}}} + +############################################################################### + diff --git a/contrib/samples/canvas/simple/makefile.b32 b/contrib/samples/canvas/simple/makefile.b32 new file mode 100644 index 0000000000..cf1a3c52fb --- /dev/null +++ b/contrib/samples/canvas/simple/makefile.b32 @@ -0,0 +1,18 @@ +# +# File: makefile.b32 +# Author: Julian Smart +# Created: 1999 +# Updated: +# Copyright: +# +# Makefile : Builds sample for 32-bit BC++ + +WXDIR = $(WXWIN) + +TARGET=simple + +EXTRALIBS=$(WXDIR)\lib\canvas.lib +OBJECTS = $(TARGET).obj + +!include $(WXDIR)\src\makeprog.b32 + diff --git a/contrib/samples/canvas/simple/makefile.g95 b/contrib/samples/canvas/simple/makefile.g95 new file mode 100644 index 0000000000..cfdeb5417c --- /dev/null +++ b/contrib/samples/canvas/simple/makefile.g95 @@ -0,0 +1,14 @@ +# File: makefile.g95 for Plot demo +# Author: Julian Smart +# Created: 2001-06-12 +# Updated: + +WXDIR = ../../../.. + +TARGET = simple +OBJECTS = $(TARGET).o +EXTRAINC = -I$(WXDIR)/contrib/include +EXTRALIBS = -lcanvas + +include $(WXDIR)/src/makeprog.g95 + diff --git a/contrib/samples/canvas/simple/makefile.vc b/contrib/samples/canvas/simple/makefile.vc new file mode 100644 index 0000000000..cec2a51dd6 --- /dev/null +++ b/contrib/samples/canvas/simple/makefile.vc @@ -0,0 +1,14 @@ +# File: makefile.vc for Plot sample +# Author: Julian Smart +# Created: 2001-06-12 +# Updated: + +WXDIR = $(WXWIN) +PROGRAM = simple + +OBJECTS = $(PROGRAM).obj +EXTRALIBS = $(WXDIR)\lib\canvas$(LIBEXT).lib +EXTRAINC = -I$(WXDIR)\contrib\include + +!include $(WXDIR)\src\makeprog.vc + diff --git a/contrib/samples/canvas/test/TestVC.dsp b/contrib/samples/canvas/test/TestVC.dsp new file mode 100644 index 0000000000..cf8989918b --- /dev/null +++ b/contrib/samples/canvas/test/TestVC.dsp @@ -0,0 +1,175 @@ +# Microsoft Developer Studio Project File - Name="TestVC" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Application" 0x0101 + +CFG=TestVC - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "TestVC.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "TestVC.mak" CFG="TestVC - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "TestVC - Win32 Release" (based on "Win32 (x86) Application") +!MESSAGE "TestVC - Win32 Debug" (based on "Win32 (x86) Application") +!MESSAGE "TestVC - Win32 Debug DLL" (based on "Win32 (x86) Application") +!MESSAGE "TestVC - Win32 Release DLL" (based on "Win32 (x86) Application") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +MTL=midl.exe +RSC=rc.exe + +!IF "$(CFG)" == "TestVC - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "Release" +# PROP Intermediate_Dir "Release" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GX /O1 /Ob2 /I "../../../../include" /I "../../../../contrib/include" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /FD /c +# SUBTRACT CPP /YX +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +# ADD BASE RSC /l 0x809 /d "NDEBUG" +# ADD RSC /l 0x809 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386 +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wx.lib png.lib zlib.lib jpeg.lib tiff.lib canvas.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /nodefaultlib:"msvcrtd.lib" /out:"Release/test.exe" /libpath:"../../../../lib" + +!ELSEIF "$(CFG)" == "TestVC - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Debug" +# PROP Intermediate_Dir "Debug" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c +# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "../../../../include" /I "../../../../contrib/include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D DEBUG=1 /D "__WXDEBUG__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /FD /c +# SUBTRACT CPP /YX /Yc /Yu +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +# ADD BASE RSC /l 0x809 /d "_DEBUG" +# ADD RSC /l 0x809 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxd.lib pngd.lib zlibd.lib jpegd.lib tiffd.lib canvasd.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /nodefaultlib:"msvcrt.lib" /out:"Debug/test.exe" /pdbtype:sept /libpath:"../../../../lib" + +!ELSEIF "$(CFG)" == "TestVC - Win32 Debug DLL" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "DebugDLL" +# PROP BASE Intermediate_Dir "DebugDLL" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "DebugDLL" +# PROP Intermediate_Dir "DebugDLL" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c +# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "../../../../include" /I "../../../../contrib/include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D DEBUG=1 /D "__WXDEBUG__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /D WXUSINGDLL=1 /Yu"wx/wxprec.h" /FD /c +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +# ADD BASE RSC /l 0x809 /d "_DEBUG" +# ADD RSC /l 0x809 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxdlld.lib canvasd.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /out:"DebugDLL/test.exe" /pdbtype:sept /libpath:"../../../../lib" + +!ELSEIF "$(CFG)" == "TestVC - Win32 Release DLL" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "ReleaseDLL" +# PROP BASE Intermediate_Dir "ReleaseDLL" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "ReleaseDLL" +# PROP Intermediate_Dir "ReleaseDLL" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GX /O1 /Ob2 /I "../../../../include" /I "../../../../contrib/include" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /D WXUSINGDLL=1 /FD /c +# SUBTRACT CPP /YX +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +# ADD BASE RSC /l 0x809 /d "NDEBUG" +# ADD RSC /l 0x809 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386 +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxdll.lib canvas.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /out:"ReleaseDLL/test.exe" /libpath:"../../../../lib" + +!ENDIF + +# Begin Target + +# Name "TestVC - Win32 Release" +# Name "TestVC - Win32 Debug" +# Name "TestVC - Win32 Debug DLL" +# Name "TestVC - Win32 Release DLL" +# Begin Source File + +SOURCE=.\test.cpp + +!IF "$(CFG)" == "TestVC - Win32 Release" + +!ELSEIF "$(CFG)" == "TestVC - Win32 Debug" + +# SUBTRACT CPP /YX /Yc /Yu + +!ELSEIF "$(CFG)" == "TestVC - Win32 Debug DLL" + +# SUBTRACT CPP /YX /Yc /Yu + +!ELSEIF "$(CFG)" == "TestVC - Win32 Release DLL" + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\test.rc +# ADD BASE RSC /l 0x809 +# ADD RSC /l 0x809 /i "..\..\..\include" +# End Source File +# End Target +# End Project diff --git a/contrib/samples/canvas/test/TestVC.dsw b/contrib/samples/canvas/test/TestVC.dsw new file mode 100644 index 0000000000..a6f2c1c809 --- /dev/null +++ b/contrib/samples/canvas/test/TestVC.dsw @@ -0,0 +1,29 @@ +Microsoft Developer Studio Workspace File, Format Version 6.00 +# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! + +############################################################################### + +Project: "TestVC"=.\TestVC.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Global: + +Package=<5> +{{{ +}}} + +Package=<3> +{{{ +}}} + +############################################################################### + diff --git a/contrib/samples/canvas/test/makefile.b32 b/contrib/samples/canvas/test/makefile.b32 new file mode 100644 index 0000000000..f02102e2a1 --- /dev/null +++ b/contrib/samples/canvas/test/makefile.b32 @@ -0,0 +1,18 @@ +# +# File: makefile.b32 +# Author: Julian Smart +# Created: 1999 +# Updated: +# Copyright: +# +# Makefile : Builds sample for 32-bit BC++ + +WXDIR = $(WXWIN) + +TARGET=test + +EXTRALIBS=$(WXDIR)\lib\canvas.lib +OBJECTS = $(TARGET).obj + +!include $(WXDIR)\src\makeprog.b32 + diff --git a/contrib/samples/canvas/test/makefile.g95 b/contrib/samples/canvas/test/makefile.g95 new file mode 100644 index 0000000000..3d389e0ce9 --- /dev/null +++ b/contrib/samples/canvas/test/makefile.g95 @@ -0,0 +1,14 @@ +# File: makefile.g95 for Plot demo +# Author: Julian Smart +# Created: 2001-06-12 +# Updated: + +WXDIR = ../../../.. + +TARGET = test +OBJECTS = $(TARGET).o +EXTRAINC = -I$(WXDIR)/contrib/include +EXTRALIBS = -lcanvas + +include $(WXDIR)/src/makeprog.g95 + diff --git a/contrib/samples/canvas/test/makefile.vc b/contrib/samples/canvas/test/makefile.vc new file mode 100644 index 0000000000..86332a918c --- /dev/null +++ b/contrib/samples/canvas/test/makefile.vc @@ -0,0 +1,14 @@ +# File: makefile.vc for Plot sample +# Author: Julian Smart +# Created: 2001-06-12 +# Updated: + +WXDIR = $(WXWIN) +PROGRAM = test + +OBJECTS = $(PROGRAM).obj +EXTRALIBS = $(WXDIR)\lib\canvas$(LIBEXT).lib +EXTRAINC = -I$(WXDIR)\contrib\include + +!include $(WXDIR)\src\makeprog.vc + diff --git a/contrib/samples/canvas/test/test.rc b/contrib/samples/canvas/test/test.rc new file mode 100644 index 0000000000..878f3352fb --- /dev/null +++ b/contrib/samples/canvas/test/test.rc @@ -0,0 +1,3 @@ +#include "wx/msw/wx.rc" + + diff --git a/contrib/samples/plot/PlotVC.dsp b/contrib/samples/plot/PlotVC.dsp new file mode 100644 index 0000000000..6b598fc0c0 --- /dev/null +++ b/contrib/samples/plot/PlotVC.dsp @@ -0,0 +1,175 @@ +# Microsoft Developer Studio Project File - Name="PlotVC" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Application" 0x0101 + +CFG=PlotVC - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "PlotVC.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "PlotVC.mak" CFG="PlotVC - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "PlotVC - Win32 Release" (based on "Win32 (x86) Application") +!MESSAGE "PlotVC - Win32 Debug" (based on "Win32 (x86) Application") +!MESSAGE "PlotVC - Win32 Debug DLL" (based on "Win32 (x86) Application") +!MESSAGE "PlotVC - Win32 Release DLL" (based on "Win32 (x86) Application") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +MTL=midl.exe +RSC=rc.exe + +!IF "$(CFG)" == "PlotVC - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "Release" +# PROP Intermediate_Dir "Release" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GX /O1 /Ob2 /I "../../../include" /I "../../../contrib/include" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /FD /c +# SUBTRACT CPP /YX +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +# ADD BASE RSC /l 0x809 /d "NDEBUG" +# ADD RSC /l 0x809 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386 +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wx.lib png.lib zlib.lib jpeg.lib tiff.lib plot.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /nodefaultlib:"msvcrtd.lib" /out:"Release/plot.exe" /libpath:"../../../lib" /libpath:"../../../contrib/lib" + +!ELSEIF "$(CFG)" == "PlotVC - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Debug" +# PROP Intermediate_Dir "Debug" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c +# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "../../../include" /I "../../../contrib/include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D DEBUG=1 /D "__WXDEBUG__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /FD /c +# SUBTRACT CPP /YX /Yc /Yu +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +# ADD BASE RSC /l 0x809 /d "_DEBUG" +# ADD RSC /l 0x809 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxd.lib pngd.lib zlibd.lib jpegd.lib tiffd.lib plotd.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /nodefaultlib:"msvcrt.lib" /out:"Debug/plot.exe" /pdbtype:sept /libpath:"../../../lib" /libpath:"../../../contrib/lib" + +!ELSEIF "$(CFG)" == "PlotVC - Win32 Debug DLL" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "DebugDLL" +# PROP BASE Intermediate_Dir "DebugDLL" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "DebugDLL" +# PROP Intermediate_Dir "DebugDLL" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c +# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "../../../include" /I "../../../contrib/include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D DEBUG=1 /D "__WXDEBUG__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /D WXUSINGDLL=1 /Yu"wx/wxprec.h" /FD /c +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +# ADD BASE RSC /l 0x809 /d "_DEBUG" +# ADD RSC /l 0x809 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxdlld.lib plotd.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /out:"DebugDLL/plot.exe" /pdbtype:sept /libpath:"../../../lib" /libpath:"../../../contrib/lib" + +!ELSEIF "$(CFG)" == "PlotVC - Win32 Release DLL" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "ReleaseDLL" +# PROP BASE Intermediate_Dir "ReleaseDLL" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "ReleaseDLL" +# PROP Intermediate_Dir "ReleaseDLL" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GX /O1 /Ob2 /I "../../../include" /I "../../../contrib/include" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /D WXUSINGDLL=1 /FD /c +# SUBTRACT CPP /YX +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +# ADD BASE RSC /l 0x809 /d "NDEBUG" +# ADD RSC /l 0x809 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386 +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxdll.lib plot.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /out:"ReleaseDLL/plot.exe" /libpath:"../../../lib" /libpath:"../../../contrib/lib" + +!ENDIF + +# Begin Target + +# Name "PlotVC - Win32 Release" +# Name "PlotVC - Win32 Debug" +# Name "PlotVC - Win32 Debug DLL" +# Name "PlotVC - Win32 Release DLL" +# Begin Source File + +SOURCE=.\plot.cpp + +!IF "$(CFG)" == "PlotVC - Win32 Release" + +!ELSEIF "$(CFG)" == "PlotVC - Win32 Debug" + +# SUBTRACT CPP /YX /Yc /Yu + +!ELSEIF "$(CFG)" == "PlotVC - Win32 Debug DLL" + +# SUBTRACT CPP /YX /Yc /Yu + +!ELSEIF "$(CFG)" == "PlotVC - Win32 Release DLL" + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\plot.rc +# ADD BASE RSC /l 0x809 +# ADD RSC /l 0x809 /i "..\..\include" +# End Source File +# End Target +# End Project diff --git a/contrib/samples/plot/PlotVC.dsw b/contrib/samples/plot/PlotVC.dsw new file mode 100644 index 0000000000..9f3c06a7d9 --- /dev/null +++ b/contrib/samples/plot/PlotVC.dsw @@ -0,0 +1,29 @@ +Microsoft Developer Studio Workspace File, Format Version 6.00 +# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! + +############################################################################### + +Project: "PlotVC"=.\PlotVC.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Global: + +Package=<5> +{{{ +}}} + +Package=<3> +{{{ +}}} + +############################################################################### + diff --git a/contrib/samples/plot/makefile.b32 b/contrib/samples/plot/makefile.b32 new file mode 100644 index 0000000000..504355b7a3 --- /dev/null +++ b/contrib/samples/plot/makefile.b32 @@ -0,0 +1,18 @@ +# +# File: makefile.b32 +# Author: Julian Smart +# Created: 1999 +# Updated: +# Copyright: +# +# Makefile : Builds sample for 32-bit BC++ + +WXDIR = $(WXWIN) + +TARGET=plot + +EXTRALIBS=$(WXDIR)\lib\plot.lib +OBJECTS = $(TARGET).obj + +!include $(WXDIR)\src\makeprog.b32 + diff --git a/contrib/samples/plot/makefile.g95 b/contrib/samples/plot/makefile.g95 new file mode 100644 index 0000000000..b842c22839 --- /dev/null +++ b/contrib/samples/plot/makefile.g95 @@ -0,0 +1,14 @@ +# File: makefile.g95 for Plot demo +# Author: Julian Smart +# Created: 2001-06-12 +# Updated: + +WXDIR = ../../.. + +TARGET = plot +OBJECTS = $(TARGET).o +EXTRAINC = -I$(WXDIR)/contrib/include +EXTRALIBS = -lplot + +include $(WXDIR)/src/makeprog.g95 + diff --git a/contrib/samples/plot/makefile.vc b/contrib/samples/plot/makefile.vc new file mode 100644 index 0000000000..6f2417186c --- /dev/null +++ b/contrib/samples/plot/makefile.vc @@ -0,0 +1,14 @@ +# File: makefile.vc for Plot sample +# Author: Julian Smart +# Created: 2001-06-12 +# Updated: + +WXDIR = $(WXWIN) +PROGRAM = plot + +OBJECTS = $(PROGRAM).obj +EXTRALIBS = $(WXDIR)\lib\plot$(LIBEXT).lib +EXTRAINC = -I$(WXDIR)\contrib\include + +!include $(WXDIR)\src\makeprog.vc + diff --git a/contrib/src/canvas/CanvasVC.dsp b/contrib/src/canvas/CanvasVC.dsp new file mode 100644 index 0000000000..d32b004d4d --- /dev/null +++ b/contrib/src/canvas/CanvasVC.dsp @@ -0,0 +1,102 @@ +# Microsoft Developer Studio Project File - Name="CanvasVC" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Static Library" 0x0104 + +CFG=CanvasVC - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "CanvasVC.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "CanvasVC.mak" CFG="CanvasVC - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "CanvasVC - Win32 Release" (based on "Win32 (x86) Static Library") +!MESSAGE "CanvasVC - Win32 Debug" (based on "Win32 (x86) Static Library") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +RSC=rc.exe + +!IF "$(CFG)" == "CanvasVC - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "Release" +# PROP Intermediate_Dir "Release" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GX /O1 /Ob2 /I "../../../include" /I "../../include" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /FD /c +# SUBTRACT CPP /YX +# ADD BASE RSC /l 0x809 +# ADD RSC /l 0x809 +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo /out:"..\..\..\lib\canvas.lib" + +!ELSEIF "$(CFG)" == "CanvasVC - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Debug" +# PROP Intermediate_Dir "Debug" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /Z7 /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c +# ADD CPP /nologo /MDd /W3 /GX /Z7 /Od /I "../../../include" /I "../../include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D DEBUG=1 /D "__WXDEBUG__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /FD /c +# SUBTRACT CPP /YX +# ADD BASE RSC /l 0x809 +# ADD RSC /l 0x809 +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo /out:"..\..\..\lib\canvasd.lib" + +!ENDIF + +# Begin Target + +# Name "CanvasVC - Win32 Release" +# Name "CanvasVC - Win32 Debug" +# Begin Source File + +SOURCE=.\bbox.cpp +# End Source File +# Begin Source File + +SOURCE=.\canvas.cpp +# End Source File +# Begin Source File + +SOURCE=.\liner.cpp +# End Source File +# Begin Source File + +SOURCE=.\polygon.cpp +# End Source File +# End Target +# End Project diff --git a/contrib/src/canvas/CanvasVC.dsw b/contrib/src/canvas/CanvasVC.dsw new file mode 100644 index 0000000000..8dde96eb1e --- /dev/null +++ b/contrib/src/canvas/CanvasVC.dsw @@ -0,0 +1,29 @@ +Microsoft Developer Studio Workspace File, Format Version 6.00 +# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! + +############################################################################### + +Project: "CanvasVC"=.\CanvasVC.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Global: + +Package=<5> +{{{ +}}} + +Package=<3> +{{{ +}}} + +############################################################################### + diff --git a/contrib/src/canvas/makefile.b32 b/contrib/src/canvas/makefile.b32 new file mode 100644 index 0000000000..ba65ba3a67 --- /dev/null +++ b/contrib/src/canvas/makefile.b32 @@ -0,0 +1,17 @@ +# +# File: makefile.b32 +# Author: Julian Smart +# Created: 1999 +# Updated: +# Copyright: +# +# Makefile : Builds Canvas library for 32-bit BC++ + +WXDIR = $(WXWIN) + +LIBTARGET=$(WXDIR)\lib\canvas.lib + +OBJECTS = bbox.obj canvas.obj liner.obj polygon.obj + +!include $(WXDIR)\src\makelib.b32 + diff --git a/contrib/src/canvas/makefile.g95 b/contrib/src/canvas/makefile.g95 new file mode 100644 index 0000000000..8b85cb6b51 --- /dev/null +++ b/contrib/src/canvas/makefile.g95 @@ -0,0 +1,16 @@ +# +# File: makefile.g95 +# Author: Julian Smart +# Created: 1999 +# Updated: +# Copyright: (c) Julian Smart, 1999 +# +# Makefile for wxWindows Plot library Cygwin/Mingw32). + +WXDIR = ../../.. + +LIBTARGET=$(WXDIR)/lib/libcanvas.a +OBJECTS = bbox.o canvas.o liner.o polygon.o + +include $(WXDIR)/src/makelib.g95 + diff --git a/contrib/src/canvas/makefile.vc b/contrib/src/canvas/makefile.vc new file mode 100644 index 0000000000..c80b5540b6 --- /dev/null +++ b/contrib/src/canvas/makefile.vc @@ -0,0 +1,159 @@ + +# File: makefile.vc +# Author: Julian Smart +# Created: 2001 +# Updated: +# Copyright: (c) 2001, Julian Smart +# +# "%W% %G%" +# +# Makefile : Builds Plot class library (MS VC++). +# Use FINAL=1 argument to nmake to build final version with no debugging +# info + + +# Set WXDIR for your system +WXDIR = $(WXWIN) +GIZMOSDIR = $(WXDIR)\contrib\src\canvas +GIZMOSINC = $(WXDIR)\contrib\include\wx\canvas +THISDIR = $(WXDIR)\contrib\src\canvas +DOCDIR=$(WXDIR)\contrib\docs +LOCALDOCDIR=$(WXDIR)\contrib\docs\latex\canvas + +!include $(WXDIR)\src\makevc.env + +OBJECTS = $(D)\bbox.obj $(D)\canvas.obj $(D)\liner.obj $(D)\polygon.obj + +LIBTARGET=$(WXDIR)\lib\canvas$(LIBEXT).lib + +all: $(D) $(LIBTARGET) + +$(D) : + mkdir $(D) + +wx: + cd $(WXDIR)\src\msw + nmake -f makefile.vc FINAL=$(FINAL) + cd $(THISDIR) + +wxclean: + cd $(WXDIR)\src\msw + nmake -f makefile.vc clean + cd $(THISDIR) + +$(LIBTARGET): $(OBJECTS) + -erase $(LIBTARGET) + $(implib) @<< +-out:$(LIBTARGET) +-machine:$(CPU) +$(OBJECTS) +<< + +$(D)\bbox.obj: bbox.$(SRCSUFF) + cl @<< +$(CPPFLAGS) /c /Fo$@ /Tp $(*B).$(SRCSUFF) +<< + +$(D)\canvas.obj: canvas.$(SRCSUFF) + cl @<< +$(CPPFLAGS) /c /Fo$@ /Tp $(*B).$(SRCSUFF) +<< + +$(D)\liner.obj: liner.$(SRCSUFF) + cl @<< +$(CPPFLAGS) /c /Fo$@ /Tp $(*B).$(SRCSUFF) +<< + +$(D)\polygon.obj: polygon.$(SRCSUFF) + cl @<< +$(CPPFLAGS) /c /Fo$@ /Tp $(*B).$(SRCSUFF) +<< + +clean: + -erase $(D)\*.obj + -erase *.sbr + -erase *.exe + -erase *.res + -erase *.map + -erase *.pdb + -erase $(LIBTARGET) + +DOCSOURCES=$(LOCALDOCDIR)\canvas.tex \ + $(LOCALDOCDIR)\bugs.tex $(LOCALDOCDIR)\changes.tex\ + $(LOCALDOCDIR)\classes.tex $(LOCALDOCDIR)\intro.tex\ + $(LOCALDOCDIR)\topics.tex $(LOCALDOCDIR)\sample.tex + +html: $(DOCDIR)\html\canvas\canvas.htm +htmlhelp: $(DOCDIR)\htmlhelp\canvas.chm +htb: $(DOCDIR)\htb\canvas.htb +hlp: $(DOCDIR)\winhelp\canvas.hlp +pdfrtf: $(DOCDIR)\pdf\canvas.rtf +ps: $(DOCDIR)\ps\canvas.ps + +touchmanual: + touch $(LOCALDOCDIR)\canvas.tex + + +$(DOCDIR)\winhelp\canvas.hlp: $(LOCALDOCDIR)\canvas.rtf $(LOCALDOCDIR)\canvas.hpj + cd $(LOCALDOCDIR) + -erase canvas.ph + hc canvas + move canvas.hlp $(DOCDIR)\winhelp\canvas.hlp + move canvas.cnt $(DOCDIR)\winhelp\canvas.cnt + cd $(THISDIR) + +$(LOCALDOCDIR)\canvas.rtf: $(DOCSOURCES) + cd $(LOCALDOCDIR) + -start $(WAITFLAG) tex2rtf $(LOCALDOCDIR)\canvas.tex $(LOCALDOCDIR)\canvas.rtf -twice -winhelp + cd $(THISDIR) + +$(DOCDIR)\pdf\canvas.rtf: $(DOCSOURCES) + cd $(LOCALDOCDIR) + -copy *.bmp $(DOCDIR)\pdf + -start $(WAITFLAG) tex2rtf $(LOCALDOCDIR)\canvas.tex $(DOCDIR)\pdf\canvas.rtf -twice -rtf + cd $(THISDIR) + +$(DOCDIR)\html\canvas\canvas.htm: $(DOCSOURCES) + cd $(LOCALDOCDIR) + -mkdir $(DOCDIR)\html\canvas + copy *.gif $(DOCDIR)\html\canvas + -start $(WAITFLAG) tex2rtf $(LOCALDOCDIR)\canvas.tex $(DOCDIR)\html\canvas\canvas.htm -twice -html + -erase $(DOCDIR)\html\canvas\*.con + -erase *.con + -erase $(DOCDIR)\html\canvas\*.ref + cd $(THISDIR) + +$(DOCDIR)\htmlhelp\canvas.chm: $(DOCDIR)\html\canvas\canvas.htm $(DOCDIR)\html\canvas\canvas.hhp + cd $(DOCDIR)\html\canvas + -hhc canvas.hhp + move canvas.chm $(DOCDIR)\htmlhelp\canvas.chm + cd $(THISDIR) + +# An htb file is a zip file containing the .htm, .gif, .hhp, .hhc and .hhk +# files, renamed to htb. +# This can then be used with e.g. helpview. +# Optionally, a cached version of the .hhp file can be generated with hhp2cached. +$(DOCDIR)\htb\canvas.htb: $(DOCDIR)\html\canvas\canvas.htm + cd $(DOCDIR)\html\canvas + -erase canvas.zip canvas.htb + zip canvas.zip *.htm *.gif *.hhp *.hhc *.hhk + -mkdir $(DOCDIR)\htb + move canvas.zip $(DOCDIR)\htb\canvas.htb + cd $(THISDIR) + +$(LOCALDOCDIR)\canvas.dvi: $(DOCSOURCES) + cd $(LOCALDOCDIR) + -latex canvas + -latex canvas + -makeindx canvas + -bibtex canvas + -latex canvas + -latex canvas + cd $(THISDIR) + +$(WXDIR)\docs\ps\canvas.ps: $(LOCALDOCDIR)\canvas.dvi + cd $(LOCALDOCDIR) + -dvips32 -o canvas.ps canvas + move canvas.ps $(WXDIR)\docs\ps\canvas.ps + cd $(THISDIR) + diff --git a/contrib/src/plot/PlotVC.dsp b/contrib/src/plot/PlotVC.dsp new file mode 100644 index 0000000000..b76e08e437 --- /dev/null +++ b/contrib/src/plot/PlotVC.dsp @@ -0,0 +1,90 @@ +# Microsoft Developer Studio Project File - Name="PlotVC" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Static Library" 0x0104 + +CFG=PlotVC - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "PlotVC.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "PlotVC.mak" CFG="PlotVC - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "PlotVC - Win32 Release" (based on "Win32 (x86) Static Library") +!MESSAGE "PlotVC - Win32 Debug" (based on "Win32 (x86) Static Library") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +RSC=rc.exe + +!IF "$(CFG)" == "PlotVC - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "Release" +# PROP Intermediate_Dir "Release" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GX /O1 /Ob2 /I "../../../include" /I "../../include" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /FD /c +# SUBTRACT CPP /YX +# ADD BASE RSC /l 0x809 +# ADD RSC /l 0x809 +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo /out:"..\..\..\lib\plot.lib" + +!ELSEIF "$(CFG)" == "PlotVC - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Debug" +# PROP Intermediate_Dir "Debug" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /Z7 /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c +# ADD CPP /nologo /MDd /W3 /GX /Z7 /Od /I "../../../include" /I "../../include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D DEBUG=1 /D "__WXDEBUG__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /FD /c +# SUBTRACT CPP /YX +# ADD BASE RSC /l 0x809 +# ADD RSC /l 0x809 +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo /out:"..\..\..\lib\plotd.lib" + +!ENDIF + +# Begin Target + +# Name "PlotVC - Win32 Release" +# Name "PlotVC - Win32 Debug" +# Begin Source File + +SOURCE=.\plot.cpp +# End Source File +# End Target +# End Project diff --git a/contrib/src/plot/PlotVC.dsw b/contrib/src/plot/PlotVC.dsw new file mode 100644 index 0000000000..9f3c06a7d9 --- /dev/null +++ b/contrib/src/plot/PlotVC.dsw @@ -0,0 +1,29 @@ +Microsoft Developer Studio Workspace File, Format Version 6.00 +# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! + +############################################################################### + +Project: "PlotVC"=.\PlotVC.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Global: + +Package=<5> +{{{ +}}} + +Package=<3> +{{{ +}}} + +############################################################################### + diff --git a/contrib/src/plot/makefile.b32 b/contrib/src/plot/makefile.b32 new file mode 100644 index 0000000000..56e56b0145 --- /dev/null +++ b/contrib/src/plot/makefile.b32 @@ -0,0 +1,17 @@ +# +# File: makefile.b32 +# Author: Julian Smart +# Created: 1999 +# Updated: +# Copyright: +# +# Makefile : Builds Plot library for 32-bit BC++ + +WXDIR = $(WXWIN) + +LIBTARGET=$(WXDIR)\lib\plot.lib + +OBJECTS = plot.obj + +!include $(WXDIR)\src\makelib.b32 + diff --git a/contrib/src/plot/makefile.g95 b/contrib/src/plot/makefile.g95 new file mode 100644 index 0000000000..b1b9cf3888 --- /dev/null +++ b/contrib/src/plot/makefile.g95 @@ -0,0 +1,16 @@ +# +# File: makefile.g95 +# Author: Julian Smart +# Created: 1999 +# Updated: +# Copyright: (c) Julian Smart, 1999 +# +# Makefile for wxWindows Plot library Cygwin/Mingw32). + +WXDIR = ../../.. + +LIBTARGET=$(WXDIR)/lib/libplot.a +OBJECTS = plot.o + +include $(WXDIR)/src/makelib.g95 + diff --git a/contrib/src/plot/makefile.vc b/contrib/src/plot/makefile.vc new file mode 100644 index 0000000000..36d8f15c2d --- /dev/null +++ b/contrib/src/plot/makefile.vc @@ -0,0 +1,144 @@ + +# File: makefile.vc +# Author: Julian Smart +# Created: 2001 +# Updated: +# Copyright: (c) 2001, Julian Smart +# +# "%W% %G%" +# +# Makefile : Builds Plot class library (MS VC++). +# Use FINAL=1 argument to nmake to build final version with no debugging +# info + + +# Set WXDIR for your system +WXDIR = $(WXWIN) +GIZMOSDIR = $(WXDIR)\contrib\src\plot +GIZMOSINC = $(WXDIR)\contrib\include\wx\plot +THISDIR = $(WXDIR)\contrib\src\plot +DOCDIR=$(WXDIR)\contrib\docs +LOCALDOCDIR=$(WXDIR)\contrib\docs\latex\plot + +!include $(WXDIR)\src\makevc.env + +OBJECTS = $(D)\plot.obj + +LIBTARGET=$(WXDIR)\lib\plot$(LIBEXT).lib + +all: $(D) $(LIBTARGET) + +$(D) : + mkdir $(D) + +wx: + cd $(WXDIR)\src\msw + nmake -f makefile.vc FINAL=$(FINAL) + cd $(THISDIR) + +wxclean: + cd $(WXDIR)\src\msw + nmake -f makefile.vc clean + cd $(THISDIR) + +$(LIBTARGET): $(OBJECTS) + -erase $(LIBTARGET) + $(implib) @<< +-out:$(LIBTARGET) +-machine:$(CPU) +$(OBJECTS) +<< + +$(D)\plot.obj: plot.$(SRCSUFF) + cl @<< +$(CPPFLAGS) /c /Fo$@ /Tp $(*B).$(SRCSUFF) +<< + +clean: + -erase $(D)\*.obj + -erase *.sbr + -erase *.exe + -erase *.res + -erase *.map + -erase *.pdb + -erase $(LIBTARGET) + +DOCSOURCES=$(LOCALDOCDIR)\plot.tex \ + $(LOCALDOCDIR)\bugs.tex $(LOCALDOCDIR)\changes.tex\ + $(LOCALDOCDIR)\classes.tex $(LOCALDOCDIR)\intro.tex\ + $(LOCALDOCDIR)\topics.tex $(LOCALDOCDIR)\sample.tex + +html: $(DOCDIR)\html\plot\plot.htm +htmlhelp: $(DOCDIR)\htmlhelp\plot.chm +htb: $(DOCDIR)\htb\plot.htb +hlp: $(DOCDIR)\winhelp\plot.hlp +pdfrtf: $(DOCDIR)\pdf\plot.rtf +ps: $(DOCDIR)\ps\plot.ps + +touchmanual: + touch $(LOCALDOCDIR)\plot.tex + + +$(DOCDIR)\winhelp\plot.hlp: $(LOCALDOCDIR)\plot.rtf $(LOCALDOCDIR)\plot.hpj + cd $(LOCALDOCDIR) + -erase plot.ph + hc plot + move plot.hlp $(DOCDIR)\winhelp\plot.hlp + move plot.cnt $(DOCDIR)\winhelp\plot.cnt + cd $(THISDIR) + +$(LOCALDOCDIR)\plot.rtf: $(DOCSOURCES) + cd $(LOCALDOCDIR) + -start $(WAITFLAG) tex2rtf $(LOCALDOCDIR)\plot.tex $(LOCALDOCDIR)\plot.rtf -twice -winhelp + cd $(THISDIR) + +$(DOCDIR)\pdf\plot.rtf: $(DOCSOURCES) + cd $(LOCALDOCDIR) + -copy *.bmp $(DOCDIR)\pdf + -start $(WAITFLAG) tex2rtf $(LOCALDOCDIR)\plot.tex $(DOCDIR)\pdf\plot.rtf -twice -rtf + cd $(THISDIR) + +$(DOCDIR)\html\plot\plot.htm: $(DOCSOURCES) + cd $(LOCALDOCDIR) + -mkdir $(DOCDIR)\html\plot + copy *.gif $(DOCDIR)\html\plot + -start $(WAITFLAG) tex2rtf $(LOCALDOCDIR)\plot.tex $(DOCDIR)\html\plot\plot.htm -twice -html + -erase $(DOCDIR)\html\plot\*.con + -erase *.con + -erase $(DOCDIR)\html\plot\*.ref + cd $(THISDIR) + +$(DOCDIR)\htmlhelp\plot.chm: $(DOCDIR)\html\plot\plot.htm $(DOCDIR)\html\plot\plot.hhp + cd $(DOCDIR)\html\plot + -hhc plot.hhp + move plot.chm $(DOCDIR)\htmlhelp\plot.chm + cd $(THISDIR) + +# An htb file is a zip file containing the .htm, .gif, .hhp, .hhc and .hhk +# files, renamed to htb. +# This can then be used with e.g. helpview. +# Optionally, a cached version of the .hhp file can be generated with hhp2cached. +$(DOCDIR)\htb\plot.htb: $(DOCDIR)\html\plot\plot.htm + cd $(DOCDIR)\html\plot + -erase plot.zip plot.htb + zip plot.zip *.htm *.gif *.hhp *.hhc *.hhk + -mkdir $(DOCDIR)\htb + move plot.zip $(DOCDIR)\htb\plot.htb + cd $(THISDIR) + +$(LOCALDOCDIR)\plot.dvi: $(DOCSOURCES) + cd $(LOCALDOCDIR) + -latex plot + -latex plot + -makeindx plot + -bibtex plot + -latex plot + -latex plot + cd $(THISDIR) + +$(WXDIR)\docs\ps\plot.ps: $(LOCALDOCDIR)\plot.dvi + cd $(LOCALDOCDIR) + -dvips32 -o plot.ps plot + move plot.ps $(WXDIR)\docs\ps\plot.ps + cd $(THISDIR) + diff --git a/distrib/msw/contrib.rsp b/distrib/msw/contrib.rsp index 651b6b0ff1..870b1408d9 100644 --- a/distrib/msw/contrib.rsp +++ b/distrib/msw/contrib.rsp @@ -11,6 +11,19 @@ contrib/samples/canvas/simple/*.rc contrib/samples/canvas/simple/SimpleVC.dsp contrib/samples/canvas/simple/SimpleVC.dsw +contrib/samples/canvas/test/*.cpp +contrib/samples/canvas/test/*.h +contrib/samples/canvas/test/*.def +contrib/samples/canvas/test/makefile* +contrib/samples/canvas/test/*.xbm +contrib/samples/canvas/test/*.xpm +contrib/samples/canvas/test/*.txt +contrib/samples/canvas/test/*.ico +contrib/samples/canvas/test/*.bmp +contrib/samples/canvas/test/*.rc +contrib/samples/canvas/test/TestVC.dsp +contrib/samples/canvas/test/TestVC.dsw + contrib/samples/plot/*.cpp contrib/samples/plot/*.h contrib/samples/plot/*.def diff --git a/distrib/msw/tardist b/distrib/msw/tardist index 346b4340b5..ca6bc76fb6 100644 --- a/distrib/msw/tardist +++ b/distrib/msw/tardist @@ -64,6 +64,7 @@ rm -f $2/stc-*.tgz rm -f $2/canvas-*.tgz rm -f $2/contrib-*.tgz rm -f $2/applet-*.tgz +rm -f $2/wxxrc-*.tgz echo Tarring... diff --git a/distrib/msw/vc.rsp b/distrib/msw/vc.rsp index 0211b8fea6..872670f2d8 100644 --- a/distrib/msw/vc.rsp +++ b/distrib/msw/vc.rsp @@ -271,11 +271,11 @@ contrib/samples/ogl/ogledit/OgleditVC.dsw contrib/samples/ogl/studio/StudioVC.dsp contrib/samples/ogl/studio/StudioVC.dsw -contrib/src/xml/wxXMLVC.dsp -contrib/src/xml/wxXMLVC.dsw +contrib/src/xrc/wxXrcVC.dsp +contrib/src/xrc/wxXrcVC.dsw -contrib/samples/xml/XmlDemoVC.dsp -contrib/samples/xml/XmlDemoVC.dsw +contrib/samples/xrc/XrcDemoVC.dsp +contrib/samples/xrc/XrcDemoVC.dsw contrib/src/mmedia/MmediaVC.dsp contrib/src/mmedia/MMediaVC.dsw @@ -295,8 +295,8 @@ contrib/utils/wxrc/wxrcVC.dsw contrib/utils/convertrc/ConvertVC.dsp contrib/utils/convertrc/ConvertVC.dsw -contrib/utils/wxrcedit/wxrceditVC.dsp -contrib/utils/wxrcedit/wxrceditVC.dsw +contrib/utils/wxrcedit/wxRcEditVC.dsp +contrib/utils/wxrcedit/wxRcEditVC.dsw contrib/src/canvas/CanvasVC.dsp contrib/src/canvas/CanvasVC.dsw diff --git a/distrib/msw/zipdistinno.bat b/distrib/msw/zipdistinno.bat index 18b2237bdf..e16eaf838c 100755 --- a/distrib/msw/zipdistinno.bat +++ b/distrib/msw/zipdistinno.bat @@ -122,7 +122,7 @@ zip32 -@ %dest\jpeg-%version%.zip < %src\distrib\msw\jpeg.rsp rem TIFF source zip32 -@ %dest\tiff-%version%.zip < %src\distrib\msw\tiff.rsp -zip32 -@ %dest\wxxml-%version%.zip < %src\distrib\msw\xml.rsp +zip32 -@ %dest\wxxrc-%version%.zip < %src\distrib\msw\xml.rsp zip32 -@ %dest\contrib-%version%.zip < %src\distrib\msw\contrib.rsp @@ -182,7 +182,7 @@ unzip32 -o ..\wxWindows-%version%-Word.zip unzip32 -o ..\ogl3-%version%.zip unzip32 -o ..\jpeg-%version%.zip unzip32 -o ..\tiff-%version%.zip -unzip32 -o ..\wxxml-%version%.zip +unzip32 -o ..\wxxrc-%version%.zip unzip32 -o ..\contrib-%version%.zip unzip32 -o ..\tex2rtf2-%version%.zip diff --git a/include/wx/msw/setup0.h b/include/wx/msw/setup0.h index 57beb40297..414f4ee124 100644 --- a/include/wx/msw/setup0.h +++ b/include/wx/msw/setup0.h @@ -317,6 +317,9 @@ // Joystick support class #define wxUSE_JOYSTICK 1 +// Miscellaneous geometry code: needed for Canvas library +#define wxUSE_GEOMETRY 1 + // ---------------------------------------------------------------------------- // Optional controls diff --git a/src/wxvc.dsp b/src/wxvc.dsp index b363fd9224..c08a2cc168 100644 --- a/src/wxvc.dsp +++ b/src/wxvc.dsp @@ -253,11 +253,11 @@ SOURCE=.\common\gdicmn.cpp # End Source File # Begin Source File -SOURCE=.\common\gifdecod.cpp +SOURCE=.\common\geometry.cpp # End Source File # Begin Source File -SOURCE=.\common\xpmdecod.cpp +SOURCE=.\common\gifdecod.cpp # End Source File # Begin Source File @@ -518,6 +518,10 @@ SOURCE=.\common\wxexpr.cpp # End Source File # Begin Source File +SOURCE=.\common\xpmdecod.cpp +# End Source File +# Begin Source File + SOURCE=.\common\zipstrm.cpp # ADD CPP /I "zlib" # End Source File diff --git a/src/wxvc_dll.dsp b/src/wxvc_dll.dsp index 7509f987df..d0bd84c52d 100644 --- a/src/wxvc_dll.dsp +++ b/src/wxvc_dll.dsp @@ -260,6 +260,10 @@ SOURCE=.\common\gdicmn.cpp # End Source File # Begin Source File +SOURCE=.\common\geometry.cpp +# End Source File +# Begin Source File + SOURCE=.\common\gifdecod.cpp # End Source File # Begin Source File -- 2.45.2