what's the best way of updating the examples?

I'm messing around in goocanvas.  The custom_item example doesn't work.  In the custom_item/ exampleitem.cc file the create() function doesn't pass on the dimensions it should; the code below highlights the missing bits.

What's the best way of changing the installed example so it's functional?

Glib::RefPtr<ExampleItem> ExampleItem::create(double x, double y, double width, double height)
  return Glib::RefPtr<ExampleItem>(new ExampleItem());
  //should be :
 //return Glib::RefPtr<ExampleItem>(new ExampleItem(x, y, width, height));

Get more done like never before with Yahoo!7 Mail. Learn more.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]