Lua Script Example to toggle monitor section
[ardour.git] / libs / canvas / canvas / image.h
index 64d70a5751dcac609e96e87042d00a2021b9011c..292de567230b8faea47ec1d5a4cc77a0050a5e89 100644 (file)
@@ -36,7 +36,7 @@ class LIBCANVAS_API Image : public Item
 public:
     Image (Canvas *, Cairo::Format, int width, int height);
     Image (Item*, Cairo::Format, int width, int height);
-    
+
     struct Data {
        Data (uint8_t *d, int w, int h, int s, Cairo::Format fmt)
                : data (d)
@@ -65,12 +65,12 @@ public:
        void* destroy_arg;
     };
 
-    /** 
-     * Returns a shared_ptr to a Data object that can be used to 
+    /**
+     * Returns a shared_ptr to a Data object that can be used to
      * write image data to. The Data object will contain a pointer
      * to the buffer, along with image properties that may be
      * useful during the data writing.
-     * 
+     *
      * Can be called from any thread BUT ..
      *
      * ... to avoid collisions with Image deletion, some synchronization method
@@ -97,7 +97,6 @@ private:
     Cairo::Format            _format;
     int                      _width;
     int                      _height;
-    int                      _data;
     mutable boost::shared_ptr<Data>  _current;
     boost::shared_ptr<Data>  _pending;
     mutable bool             _need_render;