From 6a6e4ab66c655d2d897c3382a03cd9754257cf01 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Fri, 28 Jun 2002 21:04:37 +0000 Subject: Separate the extra image functions into fltk_images. Add new fl_register_images() function to register the extra file formats with Fl_Shared_Image. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2329 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- visualc/fltk.lib.dsp | 12 ------ visualc/fltkdll.dsp | 5 +++ visualc/fltkimages.dsp | 101 +++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 106 insertions(+), 12 deletions(-) create mode 100644 visualc/fltkimages.dsp (limited to 'visualc') diff --git a/visualc/fltk.lib.dsp b/visualc/fltk.lib.dsp index 671328abe..8079cc330 100644 --- a/visualc/fltk.lib.dsp +++ b/visualc/fltk.lib.dsp @@ -279,10 +279,6 @@ SOURCE=..\src\Fl_File_Icon.cxx # End Source File # Begin Source File -SOURCE=..\src\Fl_File_Icon2.cxx -# End Source File -# Begin Source File - SOURCE=..\src\Fl_File_Input.cxx # End Source File # Begin Source File @@ -331,10 +327,6 @@ SOURCE=..\src\Fl_Input_.cxx # End Source File # Begin Source File -SOURCE=..\src\Fl_JPEG_Image.cxx -# End Source File -# Begin Source File - SOURCE=..\src\fl_labeltype.cxx # End Source File # Begin Source File @@ -415,10 +407,6 @@ SOURCE=..\src\fl_plastic.cxx # End Source File # Begin Source File -SOURCE=..\src\Fl_PNG_Image.cxx -# End Source File -# Begin Source File - SOURCE=..\src\Fl_PNM_Image.cxx # End Source File # Begin Source File diff --git a/visualc/fltkdll.dsp b/visualc/fltkdll.dsp index acfc50941..d12bb8129 100644 --- a/visualc/fltkdll.dsp +++ b/visualc/fltkdll.dsp @@ -2517,6 +2517,11 @@ DEP_CPP_VSNPR=\ "..\src\flstring.h"\ ".\config.h"\ +# End Source File +# Begin Source File + +SOURCE=..\src\fl_images_core.cxx + # End Source File # End Target # End Project diff --git a/visualc/fltkimages.dsp b/visualc/fltkimages.dsp new file mode 100644 index 000000000..da9c53e11 --- /dev/null +++ b/visualc/fltkimages.dsp @@ -0,0 +1,101 @@ +# Microsoft Developer Studio Project File - Name="fltkimages" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Static Library" 0x0104 + +CFG=fltkimages - 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 "fltkimages.lib.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 "fltkimages.lib.mak" CFG="fltkimages - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "fltkimages - Win32 Release" (based on "Win32 (x86) Static Library") +!MESSAGE "fltkimages - 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)" == "fltkimages - 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 /GX /Ot /Op /Ob2 /I "." /I ".." /D "FL_STATIC" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "WIN32_LEAN_AND_MEAN" /D "VC_EXTRA_LEAN" /D "WIN32_EXTRA_LEAN" /YX /FD /c +# SUBTRACT CPP /Os +# ADD BASE RSC /l 0x409 +# ADD RSC /l 0x409 +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo /out:"..\lib\fltkimages.lib" + +!ELSEIF "$(CFG)" == "fltkimages - 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 /GX /Z7 /Od /I "." /I ".." /D "FL_STATIC" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "WIN32_LEAN_AND_MEAN" /D "VC_EXTRA_LEAN" /D "WIN32_EXTRA_LEAN" /FR /YX /FD /c +# ADD BASE RSC /l 0x409 +# ADD RSC /l 0x409 +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo /out:"..\lib\fltkimagesd.lib" + +!ENDIF + +# Begin Target + +# Name "fltkimages - Win32 Release" +# Name "fltkimages - Win32 Debug" +# Begin Source File + +SOURCE=..\src\fl_images_core.cxx +# End Source File +# Begin Source File + +SOURCE=..\src\Fl_File_Icon2.cxx +# End Source File +# Begin Source File + +SOURCE=..\src\Fl_JPEG_Image.cxx +# End Source File +# Begin Source File + +SOURCE=..\src\Fl_PNG_Image.cxx +# End Source File +# End Target +# End Project -- cgit v1.2.3