what's the best way of updating the examples?
- From: Ian Martin <ian_martin65 yahoo com au>
- To: gtkmm-list gnome org
- Subject: what's the best way of updating the examples?
- Date: Sun, 13 Sep 2009 17:19:53 -0700 (PDT)
Hi,
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]