diff trunk/src/Modules/Output/Graphics/Devices/GraphicsOutputDeviceCairo.h @ 400:dd13c9834ceb

- Well, most of the graphics stuff at least compiles now. Next step is getting it running. M Modules/Output/Graphics/GraphicsView.h M Modules/Output/Graphics/Devices/GraphicsOutputDeviceMovieDirect.cc M Modules/Output/Graphics/Devices/GraphicsOutputDeviceMovieDirect.h M Modules/Output/Graphics/Devices/GraphicsOutputDeviceCairo.cc M Modules/Output/Graphics/Devices/GraphicsOutputDeviceCairo.h M Modules/Output/Graphics/Devices/GraphicsOutputDeviceMovie.cc M Modules/Output/Graphics/Devices/GraphicsOutputDeviceMovie.h M Modules/Output/Graphics/Scale/ScaleLog.h M Modules/Output/Graphics/Scale/ScaleERB.h M Modules/Output/Graphics/Scale/ScaleLinear.h M Modules/Output/Graphics/Scale/ScaleLogScaled.h M Modules/Output/Graphics/Scale/Scale.cc M Modules/Output/Graphics/Scale/Scale.h M Support/Common.h
author tom@acousticscale.org
date Sat, 16 Oct 2010 23:05:26 +0000
parents 7bfed53caacf
children a908972d234e
line wrap: on
line diff
--- a/trunk/src/Modules/Output/Graphics/Devices/GraphicsOutputDeviceCairo.h	Sat Oct 16 22:27:03 2010 +0000
+++ b/trunk/src/Modules/Output/Graphics/Devices/GraphicsOutputDeviceCairo.h	Sat Oct 16 23:05:26 2010 +0000
@@ -27,6 +27,8 @@
 #ifndef __GRAPHICS_OUTPUT_DEVICE_CAIRO_H__
 #define __GRAPHICS_OUTPUT_DEVICE_CAIRO_H__
 
+#include <string>
+
 #include <stdlib.h>
 #include <stdio.h>
 
@@ -35,7 +37,7 @@
 #include "Modules/Output/Graphics/Devices/GraphicsOutputDevice.h"
 
 namespace aimc {
-
+using std::string;
 /*!
  * \class GraphicsOutputDeviceCairo "Output/GraphicsOutputDeviceCairo.h"
  * \brief Output class for output to a graphics file using Cairo
@@ -96,7 +98,7 @@
   //! \brief The Cairo plotter
   int m_iPlotHandle;
   //! \brief Output directory
-  char m_sDir[PATH_MAX];
+  char m_sDir[FILENAME_MAX];
   //! \brief Current file number
   unsigned int m_iFileNumber;
   //! \brief true if this is the first vertex after gBegin()
@@ -124,7 +126,7 @@
   cairo_t *m_cCr;
 
   //! \brief Internal store for the input filename
-  char m_sFilename[PATH_MAX];
+  char m_sFilename[FILENAME_MAX];
 
   unsigned int m_iWidth;
   unsigned int m_iHeight;