./PaxHeaders.3571/goocanvasmm-0.15.40000644000175000017500000000005011457034522015143 xustar000000000000000020 atime=1287403858 20 ctime=1287403857 goocanvasmm-0.15.4/0000755000175000017500000000000011457034521015343 5ustar00murraycmurrayc00000000000000goocanvasmm-0.15.4/PaxHeaders.3571/ChangeLog0000644000175000017500000000005011457034522016635 xustar000000000000000020 atime=1287403750 20 ctime=1287403857 goocanvasmm-0.15.4/ChangeLog0000644000175000017500000012443011457034346017126 0ustar00murraycmurrayc000000000000000.15.4: 2010-10-18 Murray Cumming Use non-deprecated Gtk::ALIGN_* for default parameters. * goocanvas/src/table.hg: * goocanvas/src/tablemodel.hg: Replace ALIGN_LEFT/TOP with ALIGN_START. 2010-10-18 Murray Cumming Fix the build with fatal warnings with gtkmm 2.22. * goocanvas/src/bounds.hg: * goocanvas/src/canvas.hg: * goocanvas/src/item.[hg|ccg]: * goocanvas/src/itemmodel.[hg|ccg]: * goocanvas/src/itemsimple.hg: * goocanvas/src/style.hg: Rearranged the includes to fix the build with the awkard gdkmm deprecations. 2010-09-02 Murray Cumming Fix the build with the latest cairomm. * goocanvas/src/enums.[hg|ccg]: Remove the (unused) Value specialization. Pattern should always (and is always) used via RefPtr anyway. 0.15.3: 2010-05-04 Murray Cumming Documentation improvements. * goocanvas/goocanvasmm.h: Slight improvements to main page text, adding a link to the Canvas widget class. * goocanvas/src/canvas.hg: Added a class description. * doc/reference/Doxyfile.in: Make more like gtkmm's. In particular, show undocumented classes (they should be documented though). 2010-04-23 David King Add main page to Doxygen documentation * doc/Makefile.am: Parse goocanvas/goocanvasmm.h for documentation. * goocanvas/goocanvasmm.h: Add main page to Doxygen documentation. 0.15.2: 2009-09-18 Daniel Elstner Add missing tag files and update Doxygen config * configure.ac (MM_ARG_WITH_TAGFILE_DOC): Reference the installed Doxygen tag files of cairomm, pangomm and gtkmm. * doc/reference/Doxyfile.in: Update configuration for Doxygen 1.6.1. (SORT_MEMBERS_CTORS_1ST): Set to YES. (EXCLUDE_SYMBOLS): Remove bogus Skeleton* symbols from the list. (EXAMPLE_*): Correct the accidentally substituted variable names. (EXAMPLE_PATH): Point to the examples/ source directory. (EXAMPLE_RECURSIVE): Set to YES. (PREDEFINED): Define GTKMM_ATKMM_ENABLED, just in case. 2009-09-18 Daniel Elstner Insert missing comma to separate M4 macro args * configure.ac (GOOCANVASMM_WXXFLAGS): Insert missing comma to separate the fourth macro argument from the third. This means the deprecation macros are now defined again in fatal warnings mode. 2009-09-18 Murray Cumming goocanvasmmconfig.h: Make this work. * goocanvas/goocanvasmmconfig.h.in: Use actual GOOCANVASMM values, instead of being a copy of the file from libgdamm. Noticed by Daniel Elstner. 2009-09-17 Murray Cumming Do not put a generated ChangeLog in the tarball. * Makefile.am: Remove the include of dist-changelog.am becaise I do not want some crappy generated ChangeLog based on random vague commit messages that can't be corrected later. I fight entropy. murrayc. 0.15.1: 2009-09-14 Murray Cumming * goocanvas/goocanvasmm/init.cc: * goocanvas/src/linedash.hg: Fix some warnings found during distcheck. 2009-08-24 Murray Cumming Fix the install. * goocanvas/goocanvasmm/Makefile.am: Do not mention wrap_init.h here, to avoid an error about a duplicate mention during install. 0.15: 2009-07-07 Murray Cumming Image: Added the scale-to-fit property. * goocanvas/src/libgda_signals.defs: Regenerated. * goocanvas/src/image.hg, imagemodel.hg: Add the scale-to-fit property. 2009-07-05 Murray Cumming Fix the build with the normal API again, and fix some whitespace. 2009-07-05 Murray Cumming Fix the build with disabled exceptions and disabled properties API. It is not pretty. * examples/coordinates/window.cc: * examples/custom_item/examplewindow.cc: * examples/demo/primitives.cc: * examples/drag_to_canvas/examplewindow.cc: * examples/moving_shapes/window.cc: * examples/simple/examplewindow.cc: * examples/table/examplewindow.cc: * examples/tablemodel/examplewindow.cc: * examples/text/window.cc: * goocanvas/src/polyline.ccg: * goocanvas/src/polylinemodel.ccg: Added ifdefs. 2009-05-18 Murray Cumming * goocanvas/src/item.ccg: Item_Class::get_items_at_vfunc_callback(): Added a return 0 to avoid a compiler warning. Bug #582996 (Vincent Untz) 0.14.0: 2009-03-25 Murray Cumming * goocanvas/src/Makefile.am: * goocanvas/src/libgoocanvas.defs: * goocanvas/src/libgoocanvas_fake_properties.defs: Added this file, written by hand. * goocanvas/src/item.hg: * goocanvas/src/itemmodel.hg: Add fake x, y, width, and height properties in these base classes. These properties are not really in GooCanvasItemModel, but they are actually implemented in all derived GooCanvasItemModel classes individually. That is a GooCanvas design error, but the patch to fix it has not yet been accepted. See bug #555097 * goocanvas/src/ellipse.hg: * goocanvas/src/grid.hg: * goocanvas/src/gridmodel.hg: * goocanvas/src/group.hg: * goocanvas/src/image.hg: * goocanvas/src/imagemodel.hg: * goocanvas/src/path.hg: * goocanvas/src/polyline.hg: * goocanvas/src/rect.hg: * goocanvas/src/rectmodel.hg: * goocanvas/src/table.hg: * goocanvas/src/tablemodel.hg: * goocanvas/src/text.hg: * goocanvas/src/widget.hg: Removed the x, y, width, and height properties from the derived classes. 2009-03-25 Murray Cumming * goocanvas/src/group.hg: Wrapped the new x, y, width, and height properties here too. 2009-03-25 Murray Cumming * goocanvas/src/ellipse.hg: * goocanvas/src/path.hg: * goocanvas/src/polyline.hg: * goocanvas/src/table.hg: * goocanvas/src/text.hg: Wrapped the (sometimes) new x, y, width, and height properties. 2009-03-25 Murray Cumming * configure.in: Depend on the latest goocanvasmm. * goocanvas/src/libgoocanvas_enums.defs: * goocanvas/src/libgoocanvas_methods.defs: * goocanvas/src/libgoocanvas_signals.defs: Regenerated. * goocanvas/src/item.hg: Added signal_scroll_event. 2009-01-24 Deng Xiyue * Change license header to mention Lesser General Public License version 2.1 instead of Library General Public License, to be consistent with COPYING. 2008-12-15 Murray Cumming * goocanvas/src/ellipsemodel.hg: * goocanvas/src/text.hg: Remove extra ;s to avoid compiler warnings. 2008-12-10 Hubert Figuiere * examples/moving_shapes/window.cc: * examples/demo/primitives.cc: fix warnings. (Bug #562903) 0.13.0: 2008-12-01 Murray Cumming * goocanvas/src/canvas.hg: Added get_static_root_item() and get_static_root_item_model(). * goocanvas/src/libgoocanvas_vfuncs.defs: * goocanvas/src/item.hg: Added set/get_is_static() and the vfuncs. Added animation_finished signal. * goocanvas/src/itemmodel.hg: Added animation_finished signal. 2008-11-18 Jonathon Jongsma * examples/demo/primitives.cc: use cairo_matrix_t directly since that's actually the type that we need for the g_object_set() call. This fixes the build when using cairomm 1.7+ (Bug #560074) 2008-11-13 Murray Cumming * goocanvas/src/Makefile_list_of_hg.am_fragment: * goocanvas/src/gridmodel.ccg: * goocanvas/src/gridmodel.hg: Added GridModel. 2008-11-13 Murray Cumming * tools/extra_defs_gen/generate_defs_goocanvas.cc: Added the new grid item. * goocanvas/src/libgoocanvas_methods.defs: * goocanvas/src/libgoocanvas_signals.defs: Regenerated. * goocanvas/goocanvasmm.h: * goocanvas/src/Makefile_list_of_hg.am_fragment: * goocanvas/src/grid.ccg: * goocanvas/src/grid.hg: Added Grid, wrapping GooCanvasGrid. 2008-11-07 José Alburquerque * goocanvas/src/enums.hg: * goocanvas/src/itemmodel.hg: * goocanvas/src/path.hg: Modify enums so that CANVAS_* is removed. Bug #557990 (Louis-Francis Ratté-Boulianne) 2008-11-05 Armin Burgmeier * goocanvas/src/item.hg: * goocanvas/src/item.ccg: Remove the const qualifier for the get_items_at_vfunc, because otherwise the item itself cannot be added to the returned list of items. Bug #559374 (Louis-Francis Ratté-Boulianne) 2008-10-30 Murray Cumming * goocanvas/src/item.hg: Correct ensure_upated() to ensure_updated(). Bug #558489 (Louis-Francis Ratté-Boulianne) 0.12.0: 2008-10-13 Murray Cumming * goocanvas/src/item.hg: Renamed set/get_child_property() to set/get_child_property_value() and added templated set/get_child_property() methods that do not use Glib::Value in their API. * tests/child_properties/main.cc: Adjusted. 2008-10-08 Murray Cumming * Makefile.am: * configure.in: * tests/Makefile.am: * tests/child_properties/: Added a test for get_child_property(). 0.11.0: 2008-09-13 Murray Cumming * examples/custom_item/exampleitem.cc: * examples/custom_item/examplewindow.cc: * examples/custom_item/main.cc: * examples/demo/main.cc: * examples/demo/window.cc: * examples/demo/window.h: * examples/drag_to_canvas/examplewindow.cc: * examples/drag_to_canvas/main.cc: * examples/moving_shapes/main.cc: * examples/moving_shapes/window.cc: * examples/simple/examplewindow.cc: * examples/simple/main.cc: * examples/table/examplewindow.cc: * examples/table/main.cc: * examples/tablemodel/examplewindow.cc: * examples/tablemodel/main.cc: Added missing copyright comment blocks. 2008-07-27 Murray Cumming * examples/coordinates/window.h: * examples/custom_item/Makefile.am: * examples/custom_item/exampleitem.cc: * examples/custom_item/exampleitem.h: * examples/custom_item/examplewindow.cc: * examples/custom_item/examplewindow.h: * examples/drag_to_canvas/examplewindow.h: * examples/moving_shapes/window.h: * examples/simple/examplewindow.h: * examples/table/examplewindow.h: * examples/tablemodel/examplewindow.h: * examples/text/window.h: Added header guards. * configure.in: * examples/Makefile.am: * examples/custom_item/: New unfinished unworking example of a custom item doing its own drawing. 0.10.0: Skipped. 0.9.0: 2008-07-27 Murray Cumming * goocanvas/src/libgoocanvas_docs.xml: Regenerated. * goocanvas/src/libgoocanvas_enums.defs: Regenerated. * goocanvas/src/libgoocanvas_signals.defs: Corrected the Event signals by hand. * goocanvas/src/libgoocanvas_signals.defs.patch: Created this patch to do the same in future. 2008-07-27 Murray Cumming * goocanvas/src/libgoocanvas_signals.defs: Regenerated. 2007-07-20 Armin Burgmeier * configure.in: Added detection of Win32 platform, and added the AC_LIBTOOL_WIN32_DLL macro to produce a DLL on Windows. * build_shared/Makefile_build.am_fragment: Add -no-undefined to the ldflags on Windows because DLLs are not allowed to contain undefined references. 2008-06-23 Hubert Figuiere * configure.in: require goocanvas 0.10. Bug #539600 * goocanvas/src/item.hg: Remove spurious ';'. 0.6.0: 2008-05-06 Murray Cumming * goocanvas/src/item.hg: * goocanvas/src/itemmodel.hg: Added get_simple_transform(). * goocanvas/src/table.ccg: * goocanvas/src/table.hg: Added documentation for attach(). * goocanvas/src/itemmodelsimple.hg: * goocanvas/src/libgoocanvas_methods.defs: * goocanvas/src/rectmodel.hg: * goocanvas/src/tablemodel.ccg: * goocanvas/src/tablemodel.hg: Use double instead of gdouble in the API, for consistency with gtkmm. 2008-05-05 Armin Burgmeier * examples/tablemodel/main.cc: Added missing main.cc file. 2008-04-11 Armin Burgmeier * examples/tablemodel/examplewindow.h: * examples/tablemodel/examplewindow.cc: * examples/tablemodel/Makefile.am: Added a new example showing two canvases that display the same underlying model. * examples/Makefile.am: * configure.in: Build the new example. 2008-04-10 Armin Burgmeier * goocanvas/src/table.hg: * goocanvas/src/tablemodel.hg: Added x-border-spacing, y-border-spacing, vert-grid-line-width, horz-grid-line-width properties. * goocanvas/src/libgoocanvas_signals.defs: Regenerated. 2008-03-17 Armin Burgmeier * goocanvas/src/table.hg: * goocanvas/src/table.ccg: * examples/table/examplewindow.h: * examples/table/examplewindow.cc: Added attach() convenience API. * goocanvas/src/tablemodel.hg: * goocanvas/src/tablemodel.ccg: * goocanvas/src/Makefile_list_of_hg.am_fragment: * goocanvas/goocanvasmm.h: Wrapped GooCanvasTableModel. * goocanvas/src/style.hg: * goocanvas/src/style.ccg: * goocanvas/src/enums.ccg: Wrapped goo_canvas_style_get/set_property() via a similar approach to Glib::ObjectBase::get/set_property(). This requires Glib::Value<> to work with some non-GObject-based cairo types (that goocanvas already wraps for GObject). * goocanvas/src/libgoocanvas_methods.defs: Regenerated. * goocanvas/src/libgoocanvas_vfuncs.defs: Added missing vfuncs. * tools/m4/convert_libgoocanvasmm.m4: Added more required conversions. * goocanvas/src/itemsimple.hg: * goocanvas/src/itemmodel.ccg: * goocanvas/src/canvas.hg: * goocanvas/src/widget.hg: * goocanvas/src/enums.hg: * goocanvas/src/item.hg: * goocanvas/src/itemmodel.hg: * goocanvas/src/text.hg: * goocanvas/src/item.ccg: Wrapped remaining properties, signals, methods and vfuncs. 0.5.0: 2008-02-24 Jonathon Jongsma * goocanvas/src/libgoocanvas_methods.defs: re-generate * goocanvas/src/item.hg: wrap get/set_child_property() * goocanvas/src/itemmodel.hg: wrap get/set_child_property() * goocanvas/src/itemsimple.hg: wrap get_line_width() 2008-02-24 Jonathon Jongsma * goocanvas/src/Makefile_list_of_hg.am_fragment: * goocanvas/src/enums.ccg: * goocanvas/src/enums.hg: move PointerEvents and ItemVisiblity enums to a separate enums file so that they can be used from both Item and ItemModel * goocanvas/src/item.hg: move enums from here * goocanvas/src/itemmodel.hg: wrap some additional properties and signals of the ItemModel class * goocanvas/src/libgoocanvas_signals.defs: re-generate signals / properties * goocanvas/goocanvasmm.h: add new enums header 2008-02-21 Gennaro Bellizio * goocanvas/src/textmodel.hg: Use the C++ type for the alignment property. Bug #517817. 2008-02-20 Gennaro Bellizio * goocanvas/src/textmodel.ccg: Constructor: Correct the property name from string to text to fix the instantiation. 2008-02-16 Jonathon Jongsma * goocanvas/src/item.hg: modify get_items_at() to take a non-const listhandle for found_items since the convention for C functions that implement this function is to add any found items onto this list and then pass it down to the child item which adds their found items. Also wrapped a few more vfuncs * goocanvas/src/itemsimple.hg: wrap vfuncs, add getters and setters for some public data members * goocanvas/src/libgoocanvas_vfuncs.defs: update get_items_at() * tools/m4/convert_libgoocanvasmm.m4: minor changes to support the changes above 2008-02-07 Jonathon Jongsma * examples/simple/examplewindow.cc: hook up the button-press signal on the simple example 2008-02-07 Jonathon Jongsma * goocanvas/src/libgoocanvas_vfuncs.defs: added vfunc definitions for ItemSimple * goocanvas/src/itemsimple.hg: added _MEMBER_GET/SET for bounds, attempted to wrap the vfuncs, but there seems to be a ref-counting issue -- needs investigation. 2008-02-06 Jonathon Jongsma * goocanvas/src/libgoocanvas_docs.xml: re-generated docs 2007-11-30 Johannes Schmid * configure.in: Bumped glibmm dependency to 2.14.2 (#500690) 2007-11-19 Murray Cumming * examples/drag_to_canvas/examplewindow.cc: Handle drag-motion again to show the problem. 2007-11-19 Murray Cumming * examples/drag_to_canvas/examplewindow.cc: * examples/drag_to_canvas/examplewindow.h: Make this work for drops, but without using drag_motion to show a preview. 2007-11-19 Murray Cumming * goocanvas/src/ellipse.hg: Add default values to the constructor parameters. * goocanvas/src/rect.hg: Remove the default constructor, because we already have a constructor with all default parameter values. * configure.in: * examples/Makefile.am: * examples/drag_to_canvas/examplewindow.cc: * examples/drag_to_canvas/examplewindow.h: * examples/drag_to_canvas/main.cc: Added an example of dragging items from a toolbar to a canvas, though this does not work yet. 2007-11-09 Murray Cumming * configure.in: Removed cairomm and glibmm checks. gtkmm should be enough. 2007-11-09 Murray Cumming * tools/m4/Makefile.am: Correct the install location of the .m4 files. * goocanvas/goocanvasmm-1.0.pc.in: Mention the include directory of the architecture-specific headers. Bug #489865 (Yaakov Selkovitz) 0.4.0: 2007-10-30 Murray Cumming * configure.in: * goocanvas/goocanvasmm.h: * goocanvas/src/Makefile_list_of_hg.am_fragment: * goocanvas/src/table.ccg: * goocanvas/src/table.hg: Wrapped GooCanvasTable, though we need some API for the child properties. * examples/Makefile.am: * examples/simple/: Cleaned up the synax a little. * examples/table/: New example. 2007-10-28 Murray Cumming * goocanvas/src/canvas.hg: * goocanvas/src/item.hg: Make the properties public, not protected. 2007-10-25 Murray Cumming * goocanvas/src/canvas.ccg: * goocanvas/src/canvas.hg: Added get_bounds(Bounds&) method overload. 0.3.0: 2007-10-23 Murray Cumming * goocanvas/src/canvas.hg: Wrapped the properties. 2007-10-22 Murray Cumming * goocanvas/src/image.hg: Added a create() method to match the new constructor added inthe last commit. 2007-10-22 Murray Cumming * goocanvas/src/image.hg: Added default values for the constructors and made them explicit. 2007-10-22 Murray Cumming * goocanvas/src/ellipsemodel.hg: * goocanvas/src/image.hg: * goocanvas/src/imagemodel.hg: * goocanvas/src/rectmodel.hg: * goocanvas/src/textmodel.hg: Fixed some more minor whitespace syntax that was annoying me. 2007-10-19 Murray Cumming * goocanvas/src/canvas.hg: * goocanvas/src/item.hg: Added refreturn to get_style(). * tools/m4/convert_libgoocanvasmm.m4: Moved signal-specific conversions to the .hg files to avoid accidental use for non-signals. 2007-10-17 Murray Cumming * configure.in: * examples/Makefile.am: * examples/text/window.cc: * examples/text/window.h: A new example to show the behaviour of text items. * goocanvas/src/itemsimple.hg: Added some properties. * goocanvas/src/text.hg: Removed the font and font-desc properties that are in ItemSimple instead. Added the wrap property. 0.2.0: 2007-10-16 Murray Cumming * examples/: Renamed .hh files to .h, for consistency with other *mm libraries. 2007-10-16 Murray Cumming * Renamed the directories (and installed header locations) to goocanvasmm from libgoocanvasmm, to be consisten with other *mm libraries. 2007-10-16 Murray Cumming * configure.in: * libgoocanvas/Makefile.am: * libgoocanvas/goocanvasmm-1.0.pc.in: * libgoocanvas/libgoocanvasmm-1.0.pc.in: Change the package name from libgoocanvasmm to goocanvasmm, and the pkg-config name from libgoocanvasmm-1.0 to goocanvasmm-1.0, to be consistent with other *mm libraries. * examples/demo/Makefile.am: * examples/moving_shapes/Makefile.am: * examples/simple/Makefile.am: Dist the headers, to fix distcheck. 2007-10-15 Murray Cumming * libgoocanvas/src/polyline.ccg: * libgoocanvas/src/polyline.hg: * libgoocanvas/src/polylinemodel.ccg: * libgoocanvas/src/polylinemodel.hg: * libgoocanvas/src/text.ccg: * libgoocanvas/src/text.hg: Correct the constructors, to only use real properties. * examples/demo/primitives.cc: Fixed a crash caused by adding items to themselves, caused by me. 2007-10-15 Murray Cumming * most files: Changed the whitespace to match gtkmm and friends. 2007-10-15 Murray Cumming * examples/coordinates/window.cc: * examples/demo/primitives.cc: * examples/moving_shapes/window.cc: * examples/simple/window.cc: * libgoocanvas/src/ellipse.ccg: * libgoocanvas/src/ellipse.hg: * libgoocanvas/src/ellipsemodel.ccg: * libgoocanvas/src/ellipsemodel.hg: * libgoocanvas/src/group.ccg: * libgoocanvas/src/group.hg: * libgoocanvas/src/groupmodel.ccg: * libgoocanvas/src/groupmodel.hg: * libgoocanvas/src/image.ccg: * libgoocanvas/src/image.hg: * libgoocanvas/src/imagemodel.ccg: * libgoocanvas/src/imagemodel.hg: * libgoocanvas/src/itemmodel.ccg: * libgoocanvas/src/itemmodel.hg: * libgoocanvas/src/path.ccg: * libgoocanvas/src/path.hg: * libgoocanvas/src/pathmodel.ccg: * libgoocanvas/src/pathmodel.hg: * libgoocanvas/src/polyline.ccg: * libgoocanvas/src/polyline.hg: * libgoocanvas/src/polylinemodel.ccg: * libgoocanvas/src/polylinemodel.hg: * libgoocanvas/src/rect.ccg: * libgoocanvas/src/rect.hg: * libgoocanvas/src/rectmodel.ccg: * libgoocanvas/src/rectmodel.hg: * libgoocanvas/src/text.ccg: * libgoocanvas/src/text.hg: * libgoocanvas/src/textmodel.ccg: * libgoocanvas/src/textmodel.hg: * libgoocanvas/src/widget.ccg: * libgoocanvas/src/widget.hg: Remove all parent paramters from constructors and create() methods. The reference counting of these parameters is strange in the C API, so I would like to avoid confusion. You should use add_child() instead. 2007-10-11 Murray Cumming * libgoocanvas/src/text.hg: Constructors: Added -1 default value for the width, which means enough width. 2007-10-10 Murray Cumming * libgoocanvas/src/item.hg: Made is_visible() const. * libgoocanvas/src/text.ccg: * libgoocanvas/src/text.hg: Added a constructor without a parent parameter. 2007-10-09 Murray Cumming * libgoocanvas/src/item.ccg: * libgoocanvas/src/item.hg: get_bounds(): Now returns instead of using an ouput parameter. * libgoocanvas/src/libgoocanvas_signals.defs: Regenerated. * libgoocanvas/src/libgoocanvas_others.defs: Added some (not all) vfuncs. * libgoocanvas/src/points.ccg: * libgoocanvas/src/points.hg: Added a constructor that takes just the number of points. * examples/coordinates/window.cc: Updated for get_bounds() change. 2007-10-08 Murray Cumming * configure.in: * examples/Makefile.am: * examples/coordinates/Makefile.am: * examples/coordinates/main.cc: * examples/coordinates/window.cc: * examples/coordinates/window.h: Added an example that shows (me) the strange at first (to me) effect of some operations, to help people understand. 2007-10-05 Murray Cumming * libgoocanvas/src/Makefile.am: * libgoocanvas/src/libgoocanvas_vfuncs.defs: * libgoocanvas/src/item.hg: Wrapped some vfuncs, not very well, and not very many of them. Wrapped get_items_at(). 2007-10-05 Murray Cumming * libgoocanvas/src/item.ccg: * libgoocanvas/src/item.hg: Added add_child() that takes no position parameter. * libgoocanvas/src/rect.ccg: * libgoocanvas/src/rect.hg: Added default constructor. 2007-10-04 Murray Cumming * libgoocanvas/src/canvas.ccg: * libgoocanvas/src/canvas.hg: Added a render() overload that does not take the bounds parameter. 2007-10-04 Murray Cumming * examples/moving_shapes/window.cc: * examples/moving_shapes/window.hh: Renamed the signal handlers to avoid overriding the parent class's default signal handlers. * libgoocanvas/src/canvas.ccg: * libgoocanvas/src/canvas.hg: pointer_grab: Use C++ types, and add a method overload that does not take a cursor. * libgoocanvas/src/item.ccg: * libgoocanvas/src/item.hg: Add method overloads of raise() and lower() without a parameter. 2007-10-04 Murray Cumming * configure.in: * libgoocanvas/Makefile.am: * libgoocanvas/libgoocanvasmm-0.1.pc.in: Rename to: * libgoocanvas/libgoocanvasmm-1.0.pc.in: This will avoid an unnecessary source code change when the API becomes stable and is consistent with other libraries. Also corrected the .pc.in file to depend on gtkmm. 2007-05-22 Murray Cumming * libgoocanvas/src/ellipse.ccg: * libgoocanvas/src/ellipsemodel.ccg: * libgoocanvas/src/group.ccg: * libgoocanvas/src/group.hg: * libgoocanvas/src/groupmodel.ccg: * libgoocanvas/src/groupmodel.hg: * libgoocanvas/src/image.ccg: * libgoocanvas/src/image.hg: * libgoocanvas/src/imagemodel.ccg: * libgoocanvas/src/itemmodelsimple.hg: * libgoocanvas/src/path.ccg: * libgoocanvas/src/path.hg: * libgoocanvas/src/pathmodel.ccg: * libgoocanvas/src/pathmodel.hg: * libgoocanvas/src/polyline.ccg: * libgoocanvas/src/polyline.hg: * libgoocanvas/src/polylinemodel.ccg: * libgoocanvas/src/polylinemodel.hg: * libgoocanvas/src/rect.ccg: * libgoocanvas/src/rectmodel.ccg: * libgoocanvas/src/rectmodel.hg: * libgoocanvas/src/text.ccg: * libgoocanvas/src/text.hg: * libgoocanvas/src/textmodel.ccg: * libgoocanvas/src/textmodel.hg: Use the _CONSTRUCT() macro instead of using the *_new() functions, so we can use our derived GTypes. Do not do an extra reference, because that is unnecessary now that we are no longer using the *_new() functions that do an unreference(). Partially reimplement the *_new() functions, calling goo_canvas_item_add_child() and goo_canvas_item_model_add_child(). However, there is much more still to reimplement. This will probably cause lots of warnings about use of invalid properties. That is a goocanvas bug. * tools/m4/convert_libgoocanvasmm.m4: * examples/demo/primitives.cc: * examples/demo/primitives.hh: * examples/simple/window.cc: Use Gtk::AnchorType everywhere instead of GtkAnchorType. * libgoocanvas/src/points.ccg: * libgoocanvas/src/points.hg: Do not derive from Glib::Object, because this is a boxed type. Do not use it via RefPtr. 2007-05-22 Paul Davis * libgoocanvas/src/group.ccg * libgoocanvas/src/groupmodel.ccg: We don't ref when creating a group with no parent. * libgoocanvas/src/points.hg * libgoocanvas/src/points.ccg * libgoocanvas/src/polyline.hg * libgoocanvas/src/polyline.ccg * examples/demo/primitives.cc: Trying to get a polyline ctor to work with a points object. 2007-05-21 Paul Davis * TODO: Added notes to the TODO file as per Murray's request. * examples/demo/primitives.cc * examples/Makefile.am: Make the build system build the demo program automatically. 2007-05-21 Paul Davis * tools/m4/convert_libgoocanvasmm.m4: Attempted to add some conversions to make the RefPtr properties work correctly. * libgoocanvas/src/text.ccg * libgoocanvas/src/widget.hg * libgoocanvas/src/group.ccg * libgoocanvas/src/rect.ccg * libgoocanvas/src/path.hg * libgoocanvas/src/rect.hg * libgoocanvas/src/item.hg * libgoocanvas/src/pathmodel.ccg * libgoocanvas/src/rectmodel.ccg * libgoocanvas/src/points.hg * libgoocanvas/src/polylinemodel.hg * libgoocanvas/src/pathmodel.hg * libgoocanvas/src/ellipsemodel.hg * libgoocanvas/src/image.hg * libgoocanvas/src/text.hg * libgoocanvas/src/polyline.ccg * libgoocanvas/src/path.ccg * libgoocanvas/src/polyline.hg * libgoocanvas/src/ellipse.ccg * libgoocanvas/src/group.hg * libgoocanvas/src/ellipse.hg * libgoocanvas/src/imagemodel.ccg * libgoocanvas/src/imagemodel.hg * libgoocanvas/src/textmodel.ccg * libgoocanvas/src/textmodel.hg * libgoocanvas/src/points.ccg * libgoocanvas/src/polylinemodel.ccg * libgoocanvas/src/canvas.hg * libgoocanvas/src/groupmodel.ccg * libgoocanvas/src/ellipsemodel.ccg * libgoocanvas/src/groupmodel.hg * libgoocanvas/src/rectmodel.hg * libgoocanvas/src/image.ccg: Wrapped more api. Changed hand-coded create methods to hand-coded constructs. Still having a problem with GooCanvas*Model objects printing errors durring construction. * examples/moving_shapes/window.hh * examples/moving_shapes/window.cc: Fixed this example to compile and run. * examples/demo * examples/demo/primitives.cc * examples/demo/window.hh * examples/demo/primitives.hh * examples/demo/page.hh * examples/demo/window.cc: Working through porting the impressive goocanvas demo so that it runs. This is a big project. I'm still on the first page, but its been very helpful in finding parts of the api that aren't wrapped. * examples/simple/window.hh * examples/simple/window.cc: Fixed this example to compile and run. 2007-05-20 Murray Cumming * libgoocanvas/src/canvas.hg: * libgoocanvas/src/item.hg: * libgoocanvas/src/itemmodel.hg: * libgoocanvas/src/itemsimple.hg: Use refreturn on some more get*() functions. Made some more get* functions consts, adding const overloads where necessary. 2007-05-19 Paul Davis * libgoocanvas/src/itemmodelsimple.hg: Fixed permissions for properties. * libgoocanvas/libgoocanvasmm.h: Added new header files to main include header. * examples/moving_shapes/window.hh * examples/moving_shapes/window.cc: Attempting to make this example work. I keep getting a segfault after the first button_press_event. Segfault happens in goo_canvas_get_items_at(). 2007-05-19 Paul Davis * README: Removed the note about needing a patched goocanvas. * libgoocanvas/src/rect.hg * libgoocanvas/src/pathmodel.ccg * libgoocanvas/src/polylinemodel.hg * libgoocanvas/src/points.hg * libgoocanvas/src/rectmodel.ccg * libgoocanvas/src/pathmodel.hg * libgoocanvas/src/ellipsemodel.hg * libgoocanvas/src/itemmodel.hg * libgoocanvas/src/itemmodelsimple.hg * libgoocanvas/src/polyline.hg * libgoocanvas/src/Makefile_list_of_hg.am_fragment * libgoocanvas/src/imagemodel.ccg * libgoocanvas/src/imagemodel.hg * libgoocanvas/src/textmodel.ccg * libgoocanvas/src/textmodel.hg * libgoocanvas/src/points.ccg * libgoocanvas/src/polylinemodel.ccg * libgoocanvas/src/groupmodel.ccg * libgoocanvas/src/ellipsemodel.ccg * libgoocanvas/src/groupmodel.hg * libgoocanvas/src/rectmodel.hg: Wrapped more of the api. Most objects should have their classes wrapped in C++ but there are missing properties and functions. Noticably absent is GooCanvasTable because it looked complicated and I wanted to ask Murray some questions before working on it. * examples/moving_shapes: Fixed the svn:ignore property. * examples/moving_shapes/window.hh * examples/moving_shapes/window.cc: Commented out some sections that weren't compiling. * examples/simple/window.hh * examples/simple/window.cc: Updated the simple example to work. There is still an issue with the root item. 2007-05-16 Murray Cumming * libgoocanvas/src/bounds.ccg: * libgoocanvas/src/bounds.hg: * libgoocanvas/src/canvas.hg: * libgoocanvas/src/ellipse.ccg: * libgoocanvas/src/ellipse.hg: * libgoocanvas/src/group.ccg: * libgoocanvas/src/group.hg: * libgoocanvas/src/image.hg: * libgoocanvas/src/item.hg: * libgoocanvas/src/itemmodel.hg: * libgoocanvas/src/itemmodelsimple.hg: * libgoocanvas/src/itemsimple.hg: * libgoocanvas/src/path.ccg: * libgoocanvas/src/path.hg: * libgoocanvas/src/polyline.ccg: * libgoocanvas/src/polyline.hg: * libgoocanvas/src/rect.ccg: * libgoocanvas/src/rect.hg: * libgoocanvas/src/style.hg: * libgoocanvas/src/text.ccg: * libgoocanvas/src/text.hg: * libgoocanvas/src/widget.hg: Make the whitespace formatting consistent with gtkmm. 2007-05-11 Murray Cumming * libgoocanvas/src/linedash.hg: This is a boxed type, not a GObject. This fixes the crash in the simple example. valgrind is helpful. 2007-04-23 Paul Davis * tools/extra_defs_gen/generate_defs_goocanvas.cc : Fixed the signal defs generating program. * libgoocanvas/src/libgoocanvas_signals.defs : Regenerated the defs file. Somehow it got reverted to the old version. * tools/m4/convert_libgoocanvasmm.m4 : Added a new conversion macro for a new signal for Goocanvas::Canvas * libgoocanvas/src/canvas.hg : Added wrapping of the signals for Goocanvas. * libgoocanvas/libgoocanvasmm.h : Added new headers to the main include. * examples/simple/window.hh * examples/simple/window.cc : Got the simple demo to compiled. But now its segfaulting at runtime. 2007-04-23 Paul Davis * configure.in: Added cairomm >= 1.2.2 to PKG_CHECK_MODULES * tools/m4/convert_libgoocanvasmm.m4: Cleaned up the conversion macros. Removed some conversions that were unecessary and rearanged a bit to make things a bit more clear. * libgoocanvas/src/itemviewsimple.ccg * libgoocanvas/src/itemviewsimple.hg: Removed garbage files. * libgoocanvas/src/linedash.hg * libgoocanvas/src/linedash.ccg: Added wrappers for GooCanvasLineDash. This class is still not completely wrapped. * libgoocanvas/src/Makefile_list_of_hg.am_fragment: Added new .hg files. * libgoocanvas/src/canvas.hg * libgoocanvas/src/group.hg * libgoocanvas/src/group.ccg * libgoocanvas/src/item.hg * libgoocanvas/src/itemmodel.hg * libgoocanvas/src/itemmodelsimple.ccg * libgoocanvas/src/itemmodelsimple.hg * libgoocanvas/src/itemsimple.hg * libgoocanvas/src/itemsimple.ccg * libgoocanvas/src/widget.hg * libgoocanvas/src/widget.ccg: Working on adding more API coverage. * libgoocanvas/libgoocanvasmm/ * libgoocanvas/libgoocanvasmm/private/: Changed the svn:ignore property to ignore *.h and *.cc instead of each file by name. 2007-04-21 Murray Cumming * libgoocanvas/src/bounds.ccg: * libgoocanvas/src/bounds.hg: Use _CLASS_BOXEDTYPE_STATIC() instead of _CLASS_GENERIC(), because it generates more code from us, and is what is used by GdkRectangle, which GooCanvasBounds most resembles. Requires latest goocanvas, because I had to patch goocanvas to add type registration for GooCanvasBounds. * libgoocanvas/src/canvas.hg: * libgoocanvas/src/ellipse.hg: * libgoocanvas/src/group.hg: * libgoocanvas/src/image.ccg: * libgoocanvas/src/image.hg: * libgoocanvas/src/itemsimple.ccg: * libgoocanvas/src/itemsimple.hg: * libgoocanvas/src/itemviewsimple.ccg: * libgoocanvas/src/itemviewsimple.hg: * libgoocanvas/src/path.hg: * libgoocanvas/src/polyline.hg: * libgoocanvas/src/rect.hg: * libgoocanvas/src/text.hg: Remove (very silly) empty (implemented in headers) constructors. Generally removed unnecessary hard-coded constructor and destructor declarations. There are probably still a few wrong. Just use _WRAP_CTOR unless you really need to create a custom-written ctor, and if you do create a custom-written ctor then use the _CONSTRUCT() macro, as in gtk/src/action.ccg. For a GObject (not a GtkWidget) use a _WRAP_CREATE() for each _WRAP_CTOR and make sure that ctors are protected, and the create*()s are public. 2007-04-21 Murray Cumming * libgoocanvas/src/item.hg: * libgoocanvas/src/itemmodel.ccg: * libgoocanvas/src/itemmodel.hg: * tools/m4/convert_libgoocanvasmm.m4: Fixed build by using types via RefPtr where necessary and generally use more sane conversions. Also included necessary headers instead of unnecessarily using predeclarations. 2007-04-20 Paul Davis Currently, the build is broken because I can't decide if Goocanvas::Canvas should be accessed via raw pointer or Glib::RefPtr. I'm starting to lean toward Glib::RefPtr cause it looks like some code was autogenerated using this, and I don't think it inherits from GtkWidget* which is when I would normally think we would use raw pointers. * configure.in: Updated goocanvas dependancy to 0.8 * tools/m4/convert_libgoocanvasmm.m4: Added some new conversion routines. Someone with more experience should take a look at these cause I'm unsure what should go in and what should go as an explicity M4 macro in the source. * libgoocanvas/src/bounds.hg * libgoocanvas/src/bounds.ccg: Added a _CLASS_GENERIC wrapping of GooCanvasBounds so we can wrap more of the API. I'm not at all convinced this is right, but the closest example I could find was the wrapping of PangoAttrIterator. As near as I can tell, GooCanvasBounds has none of the expected goo_canvas_bounds_get_type() or goo_canvas_bounds_copy() type of methods which confuses me greatly. * libgoocanvas/src/item.hg * libgoocanvas/src/item.ccg: Hand coded signals Murray had marked as TODO. I'm having a few issues with the child-changed, child-movied, et al. signals. Wrapped the rest of the API. Added _IGNORE for set_child_properties, cause these seemed rather un-C++. Especially the valist methods. * libgoocanvas/src/libgoocanvas_enums.defs * libgoocanvas/src/libgoocanvas_methods.defs: Updated some of the defs files. I think I did this correctly. * libgoocanvas/src/libgoocanvas_signals.defs: Added hand-coded definitions for signals not automatically generated for GooCanvasItem. * libgoocanvas/src/itemmodel.hg * libgoocanvas/src/itemmodel.ccg: Wrapped GooCanvasItemModel. Need this to finish out GooCanvasItem's API. * libgoocanvas/src/canvas.ccg * libgoocanvas/src/canvas.hg: Wrapped GooCanvas. I think most of it is wrapped. * libgoocanvas/src/Makefile_list_of_hg.am_fragment: Added new .hg files. 2007-02-25 Jonathon Jongsma * update svn:ignore properties 2007-02-25 Jonathon Jongsma * docs/reference/Doxyfile.in: mark Glib optional API symbols as defined so that they're included in the reference documentation 2007-02-25 Jonathon Jongsma * libgoocanvasmm: re-arranged respository to remove the patched goocanvas directory and move things from trunk/libgoocanvasmm/* to trunk/* 2007-02-24 Jonathon Jongsma * libgoocanvas/libgoocanvasmm/types.h: fix namespace GooCanvas that was missed in the namespace renaming from previous commit 2007-02-11 Murray Cumming * libgoocanvas/libgoocanvasmm.h: * libgoocanvas/libgoocanvasmm/Makefile.am: * libgoocanvas/libgoocanvasmm/init.cc: * libgoocanvas/libgoocanvasmm/init.h: * libgoocanvas/libgoocanvasmm/wrap_init.h: * libgoocanvas/src/Makefile.am: * tools/extra_defs_gen/generate_defs_goocanvas.cc: Mention the current types in the new API. * libgoocanvas/src/*.defs: Updated * libgoocanvas/src/Makefile_list_of_hg.am_fragment: * libgoocanvas/src/*.[hg|ccg]: Remove the view*.[hg|ccg] files. Update the other files enough that they build with the latest goocanvas API. Change the namespace from GooCanvas too Goocanvas, because there is now a GooCanvas struct in goocanvas, and it clashes with the namespace. I am open to better suggestions for the namespace name. I have not wrapped the *Model objects yet. * examples/demo/main.cc: * examples/demo/primitives.cc: * examples/demo/window.hh: * examples/moving_shapes/main.cc: * examples/moving_shapes/window.cc: * examples/moving_shapes/window.hh: * examples/simple/simple.cc: * examples/simple/window.cc: * examples/simple/window.hh: Search/Replace the namespace. But I have not updated these. They do not yet build. 2006-10-03 Murray Cumming * libgoocanvas/src/ellipseview.ccg: * libgoocanvas/src/ellipseview.hg: * libgoocanvas/src/groupview.ccg: * libgoocanvas/src/groupview.hg: * libgoocanvas/src/imageview.ccg: * libgoocanvas/src/imageview.hg: * libgoocanvas/src/itemview.hg: * libgoocanvas/src/pathview.ccg: * libgoocanvas/src/pathview.hg: * libgoocanvas/src/polylineview.ccg: * libgoocanvas/src/polylineview.hg: * libgoocanvas/src/rectview.ccg: * libgoocanvas/src/rectview.hg: * libgoocanvas/src/textview.ccg: * libgoocanvas/src/textview.hg: * tools/m4/convert_libgoocanvasmm.m4: Pass View by reference to make it clear that a NULL value is not allowed. * libgoocanvas/src/view.hg: convert_to_pixels(), convert_from_pixels(), convert_to_item_space(), convert_from_item_space(): Pass output parameters by reference instead of pointer to ensure that they can not be NULL, and to make it clearer that they are single doubles, not the start of an array. 2006-10-03 Murray Cumming * libgoocanvas/src/ellipse.ccg: * libgoocanvas/src/ellipse.hg: * libgoocanvas/src/image.ccg: * libgoocanvas/src/image.hg: * libgoocanvas/src/itemsimple.hg: * libgoocanvas/src/itemview.hg: * libgoocanvas/src/polyline.ccg: * libgoocanvas/src/polyline.hg: * libgoocanvas/src/rect.ccg: * libgoocanvas/src/rect.hg: * libgoocanvas/src/text.ccg: * libgoocanvas/src/text.hg: * libgoocanvas/src/view.hg: Change gdouble to double, to be consistent with gtkmm. * libgoocanvas/src/path.ccg: * libgoocanvas/src/path.hg: Change gchar* data parameter to const char*. 2006-10-03 Murray Cumming * docs/Makefile.am: Change LIBGDAMM_FALSE to LIBGOOCANVASMM_FALSE, to match configure.in, though I am not sure if this is really needed anyway with newer autotools. * libgoocanvas/src/ellipse.ccg: Remove default parameter values to fix the build. They should just be in the .h files. 2006-09-28 Murray Cumming * libgoocanvas/src/ellipse.hg: * libgoocanvas/src/ellipseview.hg: * libgoocanvas/src/group.hg: * libgoocanvas/src/groupview.hg: * libgoocanvas/src/image.hg: * libgoocanvas/src/imageview.hg: * libgoocanvas/src/item.hg: * libgoocanvas/src/itemsimple.hg: * libgoocanvas/src/itemview.hg: * libgoocanvas/src/model.hg: * libgoocanvas/src/path.hg: * libgoocanvas/src/pathview.hg: * libgoocanvas/src/polyline.hg: * libgoocanvas/src/polylineview.hg: * libgoocanvas/src/rectview.hg: * libgoocanvas/src/text.ccg: * libgoocanvas/src/text.hg: * libgoocanvas/src/textview.hg: * libgoocanvas/src/view.hg: * tools/m4/convert_libgoocanvasmm.m4: Use Cairo::Context instead of cairo_t. Pass ustring by const reference. Make const methods return const objects. Do not refreturn newly-created objects. Use int instead of gint. 2006-09-28 Jonathon Jongsma * Makefile.in: * aclocal.m4: * docs/Makefile.in: * docs/reference/Makefile.in: * libgoocanvas/Makefile.in: * scripts/Makefile.in: * tools/Makefile.in: * tools/extra_defs_gen/Makefile.in: * tools/m4/Makefile.in: Removed a bunch of autotools-generated files from the repository and added a bunch of files to svn:ignore so that svn status is more useful again. goocanvasmm-0.15.4/PaxHeaders.3571/configure.ac0000644000175000017500000000005011457034522017351 xustar000000000000000020 atime=1287403751 20 ctime=1287403857 goocanvasmm-0.15.4/configure.ac0000644000175000017500000000533311457034346017642 0ustar00murraycmurrayc00000000000000## Copyright (c) 2009 goocanvasmm Development Team ## ## This file is part of goocanvasmm. ## ## goocanvasmm is free software: you can redistribute it and/or modify it ## under the terms of the GNU Lesser General Public License as published ## by the Free Software Foundation, either version 2.1 of the License, ## or (at your option) any later version. ## ## goocanvasmm is distributed in the hope that it will be useful, but ## WITHOUT ANY WARRANTY; without even the implied warranty of ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ## See the GNU Lesser General Public License for more details. ## ## You should have received a copy of the GNU Lesser General Public License ## along with this program. If not, see . AC_INIT([goocanvasmm], [0.15.4], [http://bugzilla.gnome.org/], [goocanvasmm], [http://www.gtkmm.org/]) AC_PREREQ([2.59]) AC_CONFIG_SRCDIR([goocanvas/src/canvas.hg]) AC_CONFIG_AUX_DIR([build]) AC_CONFIG_MACRO_DIR([build]) AC_CONFIG_HEADERS([build/config.h goocanvas/goocanvasmmconfig.h]) AM_INIT_AUTOMAKE([1.9 -Wno-portability check-news dist-bzip2 no-define nostdinc tar-pax]) AM_MAINTAINER_MODE AC_ARG_VAR([ACLOCAL_FLAGS], [aclocal flags, e.g. -I ]) MM_PREREQ([0.7.2]) MM_INIT_MODULE([goocanvasmm-1.0]) # http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html AC_SUBST([GOOCANVASMM_SO_VERSION], [5:0:0]) AC_PROG_CXX AC_DISABLE_STATIC AC_LIBTOOL_WIN32_DLL AC_PROG_LIBTOOL AC_SUBST([GOOCANVASMM_MODULES], ['glibmm-2.4 >= 2.14.2 gtkmm-2.4 >= 2.22.0 goocanvas >= 0.15']) PKG_CHECK_MODULES([GOOCANVASMM], [$GOOCANVASMM_MODULES]) MM_PKG_CONFIG_SUBST([GTHREAD_CFLAGS], [--cflags-only-other gthread-2.0]) MM_PKG_CONFIG_SUBST([GMMPROC_DIR], [--variable=gmmprocdir glibmm-2.4]) MM_ARG_ENABLE_DOCUMENTATION MM_ARG_WITH_TAGFILE_DOC([libstdc++.tag], [mm-common-libstdc++]) MM_ARG_WITH_TAGFILE_DOC([libsigc++-2.0.tag], [sigc++-2.0]) MM_ARG_WITH_TAGFILE_DOC([glibmm-2.4.tag], [glibmm-2.4]) MM_ARG_WITH_TAGFILE_DOC([cairomm-1.0.tag], [cairomm-1.0]) MM_ARG_WITH_TAGFILE_DOC([pangomm-1.4.tag], [pangomm-1.4]) MM_ARG_WITH_TAGFILE_DOC([gtkmm-2.4.tag], [gtkmm-2.4]) AC_LANG([C++]) MM_ARG_ENABLE_WARNINGS([GOOCANVASMM_WXXFLAGS], [-Wall], [-pedantic -Wall -Wextra], [G ATK PANGO GDK GDK_PIXBUF GTK]) AC_CONFIG_FILES([Makefile codegen/Makefile goocanvas/${GOOCANVASMM_MODULE_NAME}.pc:goocanvas/goocanvasmm.pc.in goocanvas/${GOOCANVASMM_MODULE_NAME}-uninstalled.pc:goocanvas/goocanvasmm-uninstalled.pc.in goocanvas/src/Makefile goocanvas/goocanvasmm/Makefile doc/Makefile doc/reference/Doxyfile]) AC_OUTPUT goocanvasmm-0.15.4/PaxHeaders.3571/INSTALL0000644000175000017500000000005011457034522016114 xustar000000000000000020 atime=1287403077 20 ctime=1287403857 goocanvasmm-0.15.4/INSTALL0000644000175000017500000003633211457033105016400 0ustar00murraycmurrayc00000000000000Installation Instructions ************************* Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. This file is offered as-is, without warranty of any kind. Basic Installation ================== Briefly, the shell commands `./configure; make; make install' should configure, build, and install this package. The following more-detailed instructions are generic; see the `README' file for instructions specific to this package. Some packages provide this `INSTALL' file but do not implement all of the features documented below. The lack of an optional feature in a given package is not necessarily a bug. More recommendations for GNU packages can be found in *note Makefile Conventions: (standards)Makefile Conventions. The `configure' shell script attempts to guess correct values for various system-dependent variables used during compilation. It uses those values to create a `Makefile' in each directory of the package. It may also create one or more `.h' files containing system-dependent definitions. Finally, it creates a shell script `config.status' that you can run in the future to recreate the current configuration, and a file `config.log' containing compiler output (useful mainly for debugging `configure'). It can also use an optional file (typically called `config.cache' and enabled with `--cache-file=config.cache' or simply `-C') that saves the results of its tests to speed up reconfiguring. Caching is disabled by default to prevent problems with accidental use of stale cache files. If you need to do unusual things to compile the package, please try to figure out how `configure' could check whether to do them, and mail diffs or instructions to the address given in the `README' so they can be considered for the next release. If you are using the cache, and at some point `config.cache' contains results you don't want to keep, you may remove or edit it. The file `configure.ac' (or `configure.in') is used to create `configure' by a program called `autoconf'. You need `configure.ac' if you want to change it or regenerate `configure' using a newer version of `autoconf'. The simplest way to compile this package is: 1. `cd' to the directory containing the package's source code and type `./configure' to configure the package for your system. Running `configure' might take a while. While running, it prints some messages telling which features it is checking for. 2. Type `make' to compile the package. 3. Optionally, type `make check' to run any self-tests that come with the package, generally using the just-built uninstalled binaries. 4. Type `make install' to install the programs and any data files and documentation. When installing into a prefix owned by root, it is recommended that the package be configured and built as a regular user, and only the `make install' phase executed with root privileges. 5. Optionally, type `make installcheck' to repeat any self-tests, but this time using the binaries in their final installed location. This target does not install anything. Running this target as a regular user, particularly if the prior `make install' required root privileges, verifies that the installation completed correctly. 6. You can remove the program binaries and object files from the source code directory by typing `make clean'. To also remove the files that `configure' created (so you can compile the package for a different kind of computer), type `make distclean'. There is also a `make maintainer-clean' target, but that is intended mainly for the package's developers. If you use it, you may have to get all sorts of other programs in order to regenerate files that came with the distribution. 7. Often, you can also type `make uninstall' to remove the installed files again. In practice, not all packages have tested that uninstallation works correctly, even though it is required by the GNU Coding Standards. 8. Some packages, particularly those that use Automake, provide `make distcheck', which can by used by developers to test that all other targets like `make install' and `make uninstall' work correctly. This target is generally not run by end users. Compilers and Options ===================== Some systems require unusual options for compilation or linking that the `configure' script does not know about. Run `./configure --help' for details on some of the pertinent environment variables. You can give `configure' initial values for configuration parameters by setting variables in the command line or in the environment. Here is an example: ./configure CC=c99 CFLAGS=-g LIBS=-lposix *Note Defining Variables::, for more details. Compiling For Multiple Architectures ==================================== You can compile the package for more than one kind of computer at the same time, by placing the object files for each architecture in their own directory. To do this, you can use GNU `make'. `cd' to the directory where you want the object files and executables to go and run the `configure' script. `configure' automatically checks for the source code in the directory that `configure' is in and in `..'. This is known as a "VPATH" build. With a non-GNU `make', it is safer to compile the package for one architecture at a time in the source code directory. After you have installed the package for one architecture, use `make distclean' before reconfiguring for another architecture. On MacOS X 10.5 and later systems, you can create libraries and executables that work on multiple system types--known as "fat" or "universal" binaries--by specifying multiple `-arch' options to the compiler but only a single `-arch' option to the preprocessor. Like this: ./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \ CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \ CPP="gcc -E" CXXCPP="g++ -E" This is not guaranteed to produce working output in all cases, you may have to build one architecture at a time and combine the results using the `lipo' tool if you have problems. Installation Names ================== By default, `make install' installs the package's commands under `/usr/local/bin', include files under `/usr/local/include', etc. You can specify an installation prefix other than `/usr/local' by giving `configure' the option `--prefix=PREFIX', where PREFIX must be an absolute file name. You can specify separate installation prefixes for architecture-specific files and architecture-independent files. If you pass the option `--exec-prefix=PREFIX' to `configure', the package uses PREFIX as the prefix for installing programs and libraries. Documentation and other data files still use the regular prefix. In addition, if you use an unusual directory layout you can give options like `--bindir=DIR' to specify different values for particular kinds of files. Run `configure --help' for a list of the directories you can set and what kinds of files go in them. In general, the default for these options is expressed in terms of `${prefix}', so that specifying just `--prefix' will affect all of the other directory specifications that were not explicitly provided. The most portable way to affect installation locations is to pass the correct locations to `configure'; however, many packages provide one or both of the following shortcuts of passing variable assignments to the `make install' command line to change installation locations without having to reconfigure or recompile. The first method involves providing an override variable for each affected directory. For example, `make install prefix=/alternate/directory' will choose an alternate location for all directory configuration variables that were expressed in terms of `${prefix}'. Any directories that were specified during `configure', but not in terms of `${prefix}', must each be overridden at install time for the entire installation to be relocated. The approach of makefile variable overrides for each directory variable is required by the GNU Coding Standards, and ideally causes no recompilation. However, some platforms have known limitations with the semantics of shared libraries that end up requiring recompilation when using this method, particularly noticeable in packages that use GNU Libtool. The second method involves providing the `DESTDIR' variable. For example, `make install DESTDIR=/alternate/directory' will prepend `/alternate/directory' before all installation names. The approach of `DESTDIR' overrides is not required by the GNU Coding Standards, and does not work on platforms that have drive letters. On the other hand, it does better at avoiding recompilation issues, and works well even when some directory options were not specified in terms of `${prefix}' at `configure' time. Optional Features ================= If the package supports it, you can cause programs to be installed with an extra prefix or suffix on their names by giving `configure' the option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'. Some packages pay attention to `--enable-FEATURE' options to `configure', where FEATURE indicates an optional part of the package. They may also pay attention to `--with-PACKAGE' options, where PACKAGE is something like `gnu-as' or `x' (for the X Window System). The `README' should mention any `--enable-' and `--with-' options that the package recognizes. For packages that use the X Window System, `configure' can usually find the X include and library files automatically, but if it doesn't, you can use the `configure' options `--x-includes=DIR' and `--x-libraries=DIR' to specify their locations. Some packages offer the ability to configure how verbose the execution of `make' will be. For these packages, running `./configure --enable-silent-rules' sets the default to minimal output, which can be overridden with `make V=1'; while running `./configure --disable-silent-rules' sets the default to verbose, which can be overridden with `make V=0'. Particular systems ================== On HP-UX, the default C compiler is not ANSI C compatible. If GNU CC is not installed, it is recommended to use the following options in order to use an ANSI C compiler: ./configure CC="cc -Ae -D_XOPEN_SOURCE=500" and if that doesn't work, install pre-built binaries of GCC for HP-UX. On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot parse its `' header file. The option `-nodtk' can be used as a workaround. If GNU CC is not installed, it is therefore recommended to try ./configure CC="cc" and if that doesn't work, try ./configure CC="cc -nodtk" On Solaris, don't put `/usr/ucb' early in your `PATH'. This directory contains several dysfunctional programs; working variants of these programs are available in `/usr/bin'. So, if you need `/usr/ucb' in your `PATH', put it _after_ `/usr/bin'. On Haiku, software installed for all users goes in `/boot/common', not `/usr/local'. It is recommended to use the following options: ./configure --prefix=/boot/common Specifying the System Type ========================== There may be some features `configure' cannot figure out automatically, but needs to determine by the type of machine the package will run on. Usually, assuming the package is built to be run on the _same_ architectures, `configure' can figure that out, but if it prints a message saying it cannot guess the machine type, give it the `--build=TYPE' option. TYPE can either be a short name for the system type, such as `sun4', or a canonical name which has the form: CPU-COMPANY-SYSTEM where SYSTEM can have one of these forms: OS KERNEL-OS See the file `config.sub' for the possible values of each field. If `config.sub' isn't included in this package, then this package doesn't need to know the machine type. If you are _building_ compiler tools for cross-compiling, you should use the option `--target=TYPE' to select the type of system they will produce code for. If you want to _use_ a cross compiler, that generates code for a platform different from the build platform, you should specify the "host" platform (i.e., that on which the generated programs will eventually be run) with `--host=TYPE'. Sharing Defaults ================ If you want to set default values for `configure' scripts to share, you can create a site shell script called `config.site' that gives default values for variables like `CC', `cache_file', and `prefix'. `configure' looks for `PREFIX/share/config.site' if it exists, then `PREFIX/etc/config.site' if it exists. Or, you can set the `CONFIG_SITE' environment variable to the location of the site script. A warning: not all `configure' scripts look for a site script. Defining Variables ================== Variables not defined in a site shell script can be set in the environment passed to `configure'. However, some packages may run configure again during the build, and the customized values of these variables may be lost. In order to avoid this problem, you should set them in the `configure' command line, using `VAR=value'. For example: ./configure CC=/usr/local2/bin/gcc causes the specified `gcc' to be used as the C compiler (unless it is overridden in the site shell script). Unfortunately, this technique does not work for `CONFIG_SHELL' due to an Autoconf bug. Until the bug is fixed you can use this workaround: CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash `configure' Invocation ====================== `configure' recognizes the following options to control how it operates. `--help' `-h' Print a summary of all of the options to `configure', and exit. `--help=short' `--help=recursive' Print a summary of the options unique to this package's `configure', and exit. The `short' variant lists options used only in the top level, while the `recursive' variant lists options also present in any nested packages. `--version' `-V' Print the version of Autoconf used to generate the `configure' script, and exit. `--cache-file=FILE' Enable the cache: use and save the results of the tests in FILE, traditionally `config.cache'. FILE defaults to `/dev/null' to disable caching. `--config-cache' `-C' Alias for `--cache-file=config.cache'. `--quiet' `--silent' `-q' Do not print messages saying which checks are being made. To suppress all normal output, redirect it to `/dev/null' (any error messages will still be shown). `--srcdir=DIR' Look for the package's source code in directory DIR. Usually `configure' can determine that directory automatically. `--prefix=DIR' Use DIR as the installation prefix. *note Installation Names:: for more details, including other options available for fine-tuning the installation locations. `--no-create' `-n' Run the configure checks, but stop before creating any output files. `configure' also accepts some other, not widely useful, options. Run `configure --help' for more details. goocanvasmm-0.15.4/PaxHeaders.3571/TODO0000644000175000017500000000005011457034522015553 xustar000000000000000020 atime=1287402265 20 ctime=1287403857 goocanvasmm-0.15.4/TODO0000644000175000017500000000017211437155032016032 0ustar00murraycmurrayc000000000000002007-05-21 Paul Davis * Work on getting the demo program ported. * Wrap GooCanvasTable goocanvasmm-0.15.4/PaxHeaders.3571/COPYING0000644000175000017500000000005011457034522016116 xustar000000000000000020 atime=1283250757 20 ctime=1287403857 goocanvasmm-0.15.4/COPYING0000644000175000017500000006364411437155032016412 0ustar00murraycmurrayc00000000000000 GNU LESSER GENERAL PUBLIC LICENSE Version 2.1, February 1999 Copyright (C) 1991, 1999 Free Software Foundation, Inc. 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. [This is the first released version of the Lesser GPL. It also counts as the successor of the GNU Library Public License, version 2, hence the version number 2.1.] Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public Licenses are intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This license, the Lesser General Public License, applies to some specially designated software packages--typically libraries--of the Free Software Foundation and other authors who decide to use it. You can use it too, but we suggest you first think carefully about whether this license or the ordinary General Public License is the better strategy to use in any particular case, based on the explanations below. When we speak of free software, we are referring to freedom of use, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish); that you receive source code or can get it if you want it; that you can change the software and use pieces of it in new free programs; and that you are informed that you can do these things. To protect your rights, we need to make restrictions that forbid distributors to deny you these rights or to ask you to surrender these rights. These restrictions translate to certain responsibilities for you if you distribute copies of the library or if you modify it. For example, if you distribute copies of the library, whether gratis or for a fee, you must give the recipients all the rights that we gave you. You must make sure that they, too, receive or can get the source code. If you link other code with the library, you must provide complete object files to the recipients, so that they can relink them with the library after making changes to the library and recompiling it. And you must show them these terms so they know their rights. We protect your rights with a two-step method: (1) we copyright the library, and (2) we offer you this license, which gives you legal permission to copy, distribute and/or modify the library. To protect each distributor, we want to make it very clear that there is no warranty for the free library. Also, if the library is modified by someone else and passed on, the recipients should know that what they have is not the original version, so that the original author's reputation will not be affected by problems that might be introduced by others. ^L Finally, software patents pose a constant threat to the existence of any free program. We wish to make sure that a company cannot effectively restrict the users of a free program by obtaining a restrictive license from a patent holder. Therefore, we insist that any patent license obtained for a version of the library must be consistent with the full freedom of use specified in this license. Most GNU software, including some libraries, is covered by the ordinary GNU General Public License. This license, the GNU Lesser General Public License, applies to certain designated libraries, and is quite different from the ordinary General Public License. We use this license for certain libraries in order to permit linking those libraries into non-free programs. When a program is linked with a library, whether statically or using a shared library, the combination of the two is legally speaking a combined work, a derivative of the original library. The ordinary General Public License therefore permits such linking only if the entire combination fits its criteria of freedom. The Lesser General Public License permits more lax criteria for linking other code with the library. We call this license the "Lesser" General Public License because it does Less to protect the user's freedom than the ordinary General Public License. It also provides other free software developers Less of an advantage over competing non-free programs. These disadvantages are the reason we use the ordinary General Public License for many libraries. However, the Lesser license provides advantages in certain special circumstances. For example, on rare occasions, there may be a special need to encourage the widest possible use of a certain library, so that it becomes a de-facto standard. To achieve this, non-free programs must be allowed to use the library. A more frequent case is that a free library does the same job as widely used non-free libraries. In this case, there is little to gain by limiting the free library to free software only, so we use the Lesser General Public License. In other cases, permission to use a particular library in non-free programs enables a greater number of people to use a large body of free software. For example, permission to use the GNU C Library in non-free programs enables many more people to use the whole GNU operating system, as well as its variant, the GNU/Linux operating system. Although the Lesser General Public License is Less protective of the users' freedom, it does ensure that the user of a program that is linked with the Library has the freedom and the wherewithal to run that program using a modified version of the Library. The precise terms and conditions for copying, distribution and modification follow. Pay close attention to the difference between a "work based on the library" and a "work that uses the library". The former contains code derived from the library, whereas the latter must be combined with the library in order to run. ^L GNU LESSER GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License Agreement applies to any software library or other program which contains a notice placed by the copyright holder or other authorized party saying it may be distributed under the terms of this Lesser General Public License (also called "this License"). Each licensee is addressed as "you". A "library" means a collection of software functions and/or data prepared so as to be conveniently linked with application programs (which use some of those functions and data) to form executables. The "Library", below, refers to any such software library or work which has been distributed under these terms. A "work based on the Library" means either the Library or any derivative work under copyright law: that is to say, a work containing the Library or a portion of it, either verbatim or with modifications and/or translated straightforwardly into another language. (Hereinafter, translation is included without limitation in the term "modification".) "Source code" for a work means the preferred form of the work for making modifications to it. For a library, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the library. Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running a program using the Library is not restricted, and output from such a program is covered only if its contents constitute a work based on the Library (independent of the use of the Library in a tool for writing it). Whether that is true depends on what the Library does and what the program that uses the Library does. 1. You may copy and distribute verbatim copies of the Library's complete source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and distribute a copy of this License along with the Library. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Library or any portion of it, thus forming a work based on the Library, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) The modified work must itself be a software library. b) You must cause the files modified to carry prominent notices stating that you changed the files and the date of any change. c) You must cause the whole of the work to be licensed at no charge to all third parties under the terms of this License. d) If a facility in the modified Library refers to a function or a table of data to be supplied by an application program that uses the facility, other than as an argument passed when the facility is invoked, then you must make a good faith effort to ensure that, in the event an application does not supply such function or table, the facility still operates, and performs whatever part of its purpose remains meaningful. (For example, a function in a library to compute square roots has a purpose that is entirely well-defined independent of the application. Therefore, Subsection 2d requires that any application-supplied function or table used by this function must be optional: if the application does not supply it, the square root function must still compute square roots.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Library, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Library, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Library. In addition, mere aggregation of another work not based on the Library with the Library (or with a work based on the Library) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may opt to apply the terms of the ordinary GNU General Public License instead of this License to a given copy of the Library. To do this, you must alter all the notices that refer to this License, so that they refer to the ordinary GNU General Public License, version 2, instead of to this License. (If a newer version than version 2 of the ordinary GNU General Public License has appeared, then you can specify that version instead if you wish.) Do not make any other change in these notices. ^L Once this change is made in a given copy, it is irreversible for that copy, so the ordinary GNU General Public License applies to all subsequent copies and derivative works made from that copy. This option is useful when you wish to copy part of the code of the Library into a program that is not a library. 4. You may copy and distribute the Library (or a portion or derivative of it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange. If distribution of object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place satisfies the requirement to distribute the source code, even though third parties are not compelled to copy the source along with the object code. 5. A program that contains no derivative of any portion of the Library, but is designed to work with the Library by being compiled or linked with it, is called a "work that uses the Library". Such a work, in isolation, is not a derivative work of the Library, and therefore falls outside the scope of this License. However, linking a "work that uses the Library" with the Library creates an executable that is a derivative of the Library (because it contains portions of the Library), rather than a "work that uses the library". The executable is therefore covered by this License. Section 6 states terms for distribution of such executables. When a "work that uses the Library" uses material from a header file that is part of the Library, the object code for the work may be a derivative work of the Library even though the source code is not. Whether this is true is especially significant if the work can be linked without the Library, or if the work is itself a library. The threshold for this to be true is not precisely defined by law. If such an object file uses only numerical parameters, data structure layouts and accessors, and small macros and small inline functions (ten lines or less in length), then the use of the object file is unrestricted, regardless of whether it is legally a derivative work. (Executables containing this object code plus portions of the Library will still fall under Section 6.) Otherwise, if the work is a derivative of the Library, you may distribute the object code for the work under the terms of Section 6. Any executables containing that work also fall under Section 6, whether or not they are linked directly with the Library itself. ^L 6. As an exception to the Sections above, you may also combine or link a "work that uses the Library" with the Library to produce a work containing portions of the Library, and distribute that work under terms of your choice, provided that the terms permit modification of the work for the customer's own use and reverse engineering for debugging such modifications. You must give prominent notice with each copy of the work that the Library is used in it and that the Library and its use are covered by this License. You must supply a copy of this License. If the work during execution displays copyright notices, you must include the copyright notice for the Library among them, as well as a reference directing the user to the copy of this License. Also, you must do one of these things: a) Accompany the work with the complete corresponding machine-readable source code for the Library including whatever changes were used in the work (which must be distributed under Sections 1 and 2 above); and, if the work is an executable linked with the Library, with the complete machine-readable "work that uses the Library", as object code and/or source code, so that the user can modify the Library and then relink to produce a modified executable containing the modified Library. (It is understood that the user who changes the contents of definitions files in the Library will not necessarily be able to recompile the application to use the modified definitions.) b) Use a suitable shared library mechanism for linking with the Library. A suitable mechanism is one that (1) uses at run time a copy of the library already present on the user's computer system, rather than copying library functions into the executable, and (2) will operate properly with a modified version of the library, if the user installs one, as long as the modified version is interface-compatible with the version that the work was made with. c) Accompany the work with a written offer, valid for at least three years, to give the same user the materials specified in Subsection 6a, above, for a charge no more than the cost of performing this distribution. d) If distribution of the work is made by offering access to copy from a designated place, offer equivalent access to copy the above specified materials from the same place. e) Verify that the user has already received a copy of these materials or that you have already sent this user a copy. For an executable, the required form of the "work that uses the Library" must include any data and utility programs needed for reproducing the executable from it. However, as a special exception, the materials to be distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. It may happen that this requirement contradicts the license restrictions of other proprietary libraries that do not normally accompany the operating system. Such a contradiction means you cannot use both them and the Library together in an executable that you distribute. ^L 7. You may place library facilities that are a work based on the Library side-by-side in a single library together with other library facilities not covered by this License, and distribute such a combined library, provided that the separate distribution of the work based on the Library and of the other library facilities is otherwise permitted, and provided that you do these two things: a) Accompany the combined library with a copy of the same work based on the Library, uncombined with any other library facilities. This must be distributed under the terms of the Sections above. b) Give prominent notice with the combined library of the fact that part of it is a work based on the Library, and explaining where to find the accompanying uncombined form of the same work. 8. You may not copy, modify, sublicense, link with, or distribute the Library except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense, link with, or distribute the Library is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 9. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Library or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Library (or any work based on the Library), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Library or works based on it. 10. Each time you redistribute the Library (or any work based on the Library), the recipient automatically receives a license from the original licensor to copy, distribute, link with or modify the Library subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties with this License. ^L 11. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Library at all. For example, if a patent license would not permit royalty-free redistribution of the Library by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Library. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply, and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 12. If the distribution and/or use of the Library is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Library under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 13. The Free Software Foundation may publish revised and/or new versions of the Lesser General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Library specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Library does not specify a license version number, you may choose any version ever published by the Free Software Foundation. ^L 14. If you wish to incorporate parts of the Library into other free programs whose distribution conditions are incompatible with these, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS ^L How to Apply These Terms to Your New Libraries If you develop a new library, and you want it to be of the greatest possible use to the public, we recommend making it free software that everyone can redistribute and change. You can do so by permitting redistribution under these terms (or, alternatively, under the terms of the ordinary General Public License). To apply these terms, attach the following notices to the library. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Also add information on how to contact you by electronic and paper mail. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the library, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the library `Frob' (a library for tweaking knobs) written by James Random Hacker. , 1 April 1990 Ty Coon, President of Vice That's all there is to it! goocanvasmm-0.15.4/PaxHeaders.3571/NEWS0000644000175000017500000000005011457034522015562 xustar000000000000000020 atime=1287403751 20 ctime=1287403857 goocanvasmm-0.15.4/NEWS0000644000175000017500000001030711457034346016050 0ustar00murraycmurrayc000000000000000.15.4 (unstable): Fix the build with gtkmm 2.22, with deprecations disabled. 0.15.3 (unstable): Documentation: - Added main page text with doxygen. (David King, Murray Cumming) - Improve API documentation slightly. (Murray Cumming) 0.15.2 (unstable): Build improvements for documentation. (Daniel Elstner) 0.15.1 (unstable): Use the latest mm-common build system, to produce API documentation that is ready for library.gnome.org. 0.15.0 (unstable): Build: * Image, ImageModel: Added scale_to_fit property. * Fix the build with alternative glibmm API (without properties or exceptions). (Murray Cumming) * Avoid a compiler warning. Bug #582996 (Vincent Untz) 0.14.0 (unstable): * Item and ItemModel: Added x, y, height, width properties. Removed them from derived classes, which now get them from their base Item/ItemModel instead. * Item: Added signal_scroll_event. (Murray Cumming) * Build: Fixed warnings. (Hubert Figuiere) Bug #562903 0.13.0 (unstable): * Canvas: Added get_static_root_item() and get_static_root_item_model(). * Added Grid item. * Item: - Added set/get_is_static() and the vfuncs. - Added animation_finished signal. (Murray Cumming) - Remove const from get_items_at_vfunc(). (Armin Burgmeier) Bug #559374 (Louis-Francis Ratté-Boulianne) - Correct ensure_upated() to ensure_updated(). Bug #558489 (Louis-Francis Ratté-Boulianne) * ItemModel: Added animation_finished signal. (Murray Cumming) * Remove the CANVAS_ prefix from enum values because they are already namespaced. (José Alburquerque) Bug #557990 (Louis-Francis Ratté-Boulianne) * Build: Fixed build with cairomm 1.7. (Jonathon Jongsma) Bug #560074) 0.12.0 (unstable): * Item: get/set_child_property() is now a templated method. The new get/set_child_property_value() still uses Glib::Value. (Murray Cumming) 0.11.0 (unstable): * examples: Added missing copyright comment blocks. 0.10.0 was skipped. 0.9.0 (unstable): * Depend on goocanvas-0.10. (Hubert Figuiere) * Increased version to match the goocanvas version more. (Murray Cumming) * Item: remove spurious ';' in the public header. (Hubert Figuiere) * Fixed the Windows build. (Armin Burgmeier) 0.6.0 (unstable): * Item, ItemModel: Added get_simple_transform(). (Murray Cumming) * Table: - Added attach() convenience method. - Added x-border-spacing, y-border-spacing, vert-grid-line-width, horz-grid-line-width properties. * Added TableModel. * Added properties and vfuncs (there should be almost none left now). (Armin Burgmeier, Openismus) * Documentation: - Added tablemodel example, showing two canvases that display the same underlying model. (Armin Burgmeier, Openismus) 0.5.0 (unstable): * Ellipse: Constructor: Added default parameter values. (Murray Cumming) * Item: - modify get_items_at(): Corrected the constness of the parameters. - Added get/set_child_property(). (Jonathon Jongsma) * ItemModel: - Added properties and signals. - Added get/set_child_property(). (Jonathon Jongsma) * ItemSimple: - Added get/set_bounds(), and get_line_width(). - Added vfuncs. (Jonathon Jongsma) * TextModel: - Correct a bug in the constructor. - alignment property: Use a C++ type. (Gennaro Bellizio. Bug #517817) * Build: Correct installation of .m4 gmmproc files, and correct the .pc file. (Murray Cumming) (Bug #489865. Yaakov Selkovitz) 0.4.0 (unstable): * Canvas: - Make the properties public. - Added get_bounds(Bounds&) method overload. * Item: Make the properties public. * Added Table, with an example. (Murray Cumming) 0.3.0 (unstable): * Canvas: Wrapped the properties. * Image: Added default values for the constructors. * Item: get_style(): refcount correction. 0.2.0 (unstable): * The pkg-config file is now called goocanvas-1.0 instead of libgoocanvas. * The files should now be included as, for instance, instead of * Several constructors were corrected to properly initialize the underlying C objects. * The parent parameter was removed from all item constructors, to avoid confusion with the unusual memory management used in the C API. Use add_child() instead. * Various methods were added or improved. 0.1.0 (unstable): Initial version. goocanvasmm-0.15.4/PaxHeaders.3571/goocanvas0000644000175000017500000000005011457034522016766 xustar000000000000000020 atime=1287403858 20 ctime=1287403857 goocanvasmm-0.15.4/goocanvas/0000755000175000017500000000000011457034521017323 5ustar00murraycmurrayc00000000000000goocanvasmm-0.15.4/goocanvas/PaxHeaders.3571/src0000644000175000017500000000005011457034522017555 xustar000000000000000020 atime=1287403858 20 ctime=1287403857 goocanvasmm-0.15.4/goocanvas/src/0000755000175000017500000000000011457034521020112 5ustar00murraycmurrayc00000000000000goocanvasmm-0.15.4/goocanvas/src/PaxHeaders.3571/enums.hg0000644000175000017500000000005011457034522021301 xustar000000000000000020 atime=1287401697 20 ctime=1287403857 goocanvasmm-0.15.4/goocanvas/src/enums.hg0000644000175000017500000000473011441150631021557 0ustar00murraycmurrayc00000000000000/* Copyright (C) 1998-2006 The gtkmm Development Team * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #include #include #include #include // For Cairo::Matrix _DEFS(goocanvasmm,libgoocanvas) namespace Goocanvas { _WRAP_ENUM(PointerEvents,GooCanvasPointerEvents, s#^CANVAS_##) _WRAP_ENUM(ItemVisibility,GooCanvasItemVisibility, s#^CANVAS_##) _WRAP_ENUM(PathCommandType,GooCanvasPathCommandType, s#^CANVAS_##) } //namespace Goocanvas namespace Glib { #ifndef DOXYGEN_SHOULD_SKIP_THIS // Make the cairo enums and structures work with Glib::Value using the // GTypes goocanvas defines for them in goocanvasutil.h template<> class Value : public Glib::ValueBase_Boxed { public: static GType value_type() G_GNUC_CONST; void set(const Cairo::Matrix* data) { set_boxed(data); } Cairo::Matrix* get() const { return static_cast(get_boxed()); } }; template<> class Value : public Glib::Value_Enum { public: static GType value_type() G_GNUC_CONST; }; template<> class Value : public Glib::Value_Enum { public: static GType value_type() G_GNUC_CONST; }; template<> class Value : public Glib::Value_Enum { public: static GType value_type() G_GNUC_CONST; }; template<> class Value : public Glib::Value_Enum { public: static GType value_type() G_GNUC_CONST; }; template<> class Value : public Glib::Value_Enum { public: static GType value_type() G_GNUC_CONST; }; template<> class Value : public Glib::Value_Enum { public: static GType value_type() G_GNUC_CONST; }; #endif // DOXYGEN_SHOULD_SKIP_THIS } goocanvasmm-0.15.4/goocanvas/src/PaxHeaders.3571/group.ccg0000644000175000017500000000005011457034522021444 xustar000000000000000020 atime=1287401897 20 ctime=1287403857 goocanvasmm-0.15.4/goocanvas/src/group.ccg0000644000175000017500000000161311437155032021724 0ustar00murraycmurrayc00000000000000/* Copyright (C) 1998-2006 The gtkmm Development Team * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #include _PINCLUDE(goocanvasmm/private/itemsimple_p.h) namespace Goocanvas { } //namspace GooCanvas goocanvasmm-0.15.4/goocanvas/src/PaxHeaders.3571/libgoocanvas.defs0000644000175000017500000000005011457034522023144 xustar000000000000000020 atime=1287401696 20 ctime=1287403857 goocanvasmm-0.15.4/goocanvas/src/libgoocanvas.defs0000644000175000017500000000033411437155032023423 0ustar00murraycmurrayc00000000000000(include libgoocanvas_methods.defs) (include libgoocanvas_signals.defs) (include libgoocanvas_vfuncs.defs) (include libgoocanvas_enums.defs) (include libgoocanvas_others.defs) (include libgoocanvas_fake_properties.defs) goocanvasmm-0.15.4/goocanvas/src/PaxHeaders.3571/image.hg0000644000175000017500000000005011457034522021234 xustar000000000000000020 atime=1287401697 20 ctime=1287403857 goocanvasmm-0.15.4/goocanvas/src/image.hg0000644000175000017500000000335011437155032021514 0ustar00murraycmurrayc00000000000000/* Copyright (C) 1998-2006 The gtkmm Development Team * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #include #include _DEFS(goocanvasmm,libgoocanvas) namespace Goocanvas { class Image : public Goocanvas::ItemSimple { _CLASS_GOBJECT(Image,GooCanvasImage,GOO_CANVAS_IMAGE,Goocanvas::ItemSimple,GooCanvasItemSimple) protected: explicit Image(double x = 0.0, double y = 0.0); explicit Image(const Glib::RefPtr& pixbuf, double x = 0.0, double y = 0.0); _IGNORE(goo_canvas_image_new) public: _WRAP_CREATE(double x = 0.0, double y = 0.0) _WRAP_CREATE(const Glib::RefPtr& pixbuf, double x = 0.0, double y = 0.0) //We put these in item.hg instead. //See the comment there. //_WRAP_PROPERTY("x", double) //_WRAP_PROPERTY("y", double) //_WRAP_PROPERTY("width", double) //_WRAP_PROPERTY("height", double) _WRAP_PROPERTY("pattern", Cairo::RefPtr) _WRAP_PROPERTY("scale-to-fit", bool) _WRAP_PROPERTY("pixbuf", Glib::RefPtr) protected: _CTOR_DEFAULT }; } goocanvasmm-0.15.4/goocanvas/src/PaxHeaders.3571/enums.ccg0000644000175000017500000000005011457034522021437 xustar000000000000000020 atime=1287401897 20 ctime=1287403857 goocanvasmm-0.15.4/goocanvas/src/enums.ccg0000644000175000017500000000401611441150631021712 0ustar00murraycmurrayc00000000000000/* Copyright (C) 1998-2006 The gtkmm Development Team * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #include namespace Glib { // Make the cairo enums and structures work with Glib::Value using the // GTypes goocanvas defines for them in goocanvasutil.h // We can't simply derive from Glib::ValueBoxed<> because these have no // gobj() function to return the underlying boxed C object. GType Value::value_type() { return goo_cairo_matrix_get_type(); } // Normally, _WRAP_ENUM does generate this code for us, but we can't use // _WRAP_ENUM here because the enums are already wrapped in cairomm. However, // goocanvas defines GTypes for them so they can be used with GValue. We need // this since we want to use these enums in Glib::Value<>s, for example to // pass them to properties via the property_*() functions. GType Value::value_type() { return goo_cairo_fill_rule_get_type(); } GType Value::value_type() { return goo_cairo_operator_get_type(); } GType Value::value_type() { return goo_cairo_antialias_get_type(); } GType Value::value_type() { return goo_cairo_line_cap_get_type(); } GType Value::value_type() { return goo_cairo_line_join_get_type(); } GType Value::value_type() { return goo_cairo_hint_metrics_get_type(); } } goocanvasmm-0.15.4/goocanvas/src/PaxHeaders.3571/ellipse.ccg0000644000175000017500000000005011457034522021745 xustar000000000000000020 atime=1287402028 20 ctime=1287403857 goocanvasmm-0.15.4/goocanvas/src/ellipse.ccg0000644000175000017500000000216611457030712022230 0ustar00murraycmurrayc00000000000000/* Copyright (C) 1998-2006 The gtkmm Development Team * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #include _PINCLUDE(goocanvasmm/private/itemsimple_p.h) namespace Goocanvas { //TODO: Reimplement the C _new function: Ellipse::Ellipse(double center_x, double center_y, double radius_x, double radius_y) : _CONSTRUCT("center_x", center_x, "center_y", center_y, "radius_x", radius_x, "radius_y", radius_y) { } } //namespace GooCanvas goocanvasmm-0.15.4/goocanvas/src/PaxHeaders.3571/libgoocanvas_fake_properties.defs0000644000175000017500000000005011457034522026406 xustar000000000000000020 atime=1287401696 20 ctime=1287403857 goocanvasmm-0.15.4/goocanvas/src/libgoocanvas_fake_properties.defs0000644000175000017500000000342111437155032026665 0ustar00murraycmurrayc00000000000000;; These are hand-coded to make gmmproc think that GooCanvasItem has ;; properties which are actually implemented in all derived GooCanvasItem ;; classes individually. That is a design error, but the patch to fix it has ;; not yet been accepted: http://bugzilla.gnome.org/show_bug.cgi?id=555097 ;; GooCanvasItem (define-property x (of-object "GooCanvasItem") (prop-type "GParamDouble") (docs "The x coordinate of the left side of the item") (readable #t) (writable #t) (construct-only #f) ) (define-property y (of-object "GooCanvasItem") (prop-type "GParamDouble") (docs "The y coordinate of the top of the item") (readable #t) (writable #t) (construct-only #f) ) (define-property width (of-object "GooCanvasItem") (prop-type "GParamDouble") (docs "The width of the item") (readable #t) (writable #t) (construct-only #f) ) (define-property height (of-object "GooCanvasItem") (prop-type "GParamDouble") (docs "The height of the item") (readable #t) (writable #t) (construct-only #f) ) ;; GooCanvasItemModel (define-property x (of-object "GooCanvasItemModel") (prop-type "GParamDouble") (docs "The x coordinate of the left side of the item") (readable #t) (writable #t) (construct-only #f) ) (define-property y (of-object "GooCanvasItemModel") (prop-type "GParamDouble") (docs "The y coordinate of the top of the item") (readable #t) (writable #t) (construct-only #f) ) (define-property width (of-object "GooCanvasItemModel") (prop-type "GParamDouble") (docs "The width of the item") (readable #t) (writable #t) (construct-only #f) ) (define-property height (of-object "GooCanvasItemModel") (prop-type "GParamDouble") (docs "The height of the item") (readable #t) (writable #t) (construct-only #f) ) goocanvasmm-0.15.4/goocanvas/src/PaxHeaders.3571/style.ccg0000644000175000017500000000005011457034522021450 xustar000000000000000020 atime=1287401897 20 ctime=1287403857 goocanvasmm-0.15.4/goocanvas/src/style.ccg0000644000175000017500000000153111437155032021727 0ustar00murraycmurrayc00000000000000 /* Copyright (C) 1998-2006 The gtkmm Development Team * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #include "style.h" #include namespace Goocanvas { } goocanvasmm-0.15.4/goocanvas/src/PaxHeaders.3571/polyline.hg0000644000175000017500000000005011457034522022005 xustar000000000000000020 atime=1287401697 20 ctime=1287403857 goocanvasmm-0.15.4/goocanvas/src/polyline.hg0000644000175000017500000000354111437155032022267 0ustar00murraycmurrayc00000000000000/* Copyright (C) 1998-2006 The gtkmm Development Team * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #include #include _DEFS(goocanvasmm,libgoocanvas) _PINCLUDE(glibmm/private/object_p.h) namespace Goocanvas { class Polyline : public Goocanvas::ItemSimple { _CLASS_GOBJECT(Polyline,GooCanvasPolyline,GOO_CANVAS_POLYLINE,Goocanvas::ItemSimple,GooCanvasItemSimple) protected: Polyline(bool close_path, const Points& coords); Polyline(double x1, double y1, double x2, double y2); _IGNORE(goo_canvas_polyline_new, goo_canvas_polyline_new_line) public: _WRAP_CREATE(bool close_path, const Points& coords) _WRAP_CREATE(double x1, double y1, double x2, double y2) //We put these in item.hg instead. //See the comment there. //_WRAP_PROPERTY("x", double) //_WRAP_PROPERTY("y", double) //_WRAP_PROPERTY("width", double) //_WRAP_PROPERTY("height", double) _WRAP_PROPERTY("arrow-length", double) _WRAP_PROPERTY("arrow-tip-length", double) _WRAP_PROPERTY("arrow-width", double) _WRAP_PROPERTY("close-path", bool) _WRAP_PROPERTY("end-arrow", bool) _WRAP_PROPERTY("points", Points) _WRAP_PROPERTY("start-arrow", bool) }; } goocanvasmm-0.15.4/goocanvas/src/PaxHeaders.3571/ellipsemodel.hg0000644000175000017500000000005011457034522022630 xustar000000000000000020 atime=1287401697 20 ctime=1287403857 goocanvasmm-0.15.4/goocanvas/src/ellipsemodel.hg0000644000175000017500000000300311437155032023103 0ustar00murraycmurrayc00000000000000/* Copyright (C) 1998-2006 The gtkmm Development Team * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #include _DEFS(goocanvasmm,libgoocanvas) _PINCLUDE(glibmm/private/object_p.h) namespace Goocanvas { class EllipseModel : public Goocanvas::ItemModelSimple { _CLASS_GOBJECT(EllipseModel,GooCanvasEllipseModel,GOO_CANVAS_ELLIPSE_MODEL,Goocanvas::ItemModelSimple,GooCanvasItemModelSimple) protected: EllipseModel(double center_x = 0.0, double center_y = 0., double radius_x = 0.0, double radius_y = 0.0); _IGNORE(goo_canvas_ellipse_model_new) public: _WRAP_CREATE(double center_x = 0.0, double center_y = 0.0, double radius_x = 0.0, double radius_y = 0.0) _WRAP_PROPERTY("center-x", double) _WRAP_PROPERTY("center-y", double) _WRAP_PROPERTY("radius-x", double) _WRAP_PROPERTY("radius-y", double) }; } goocanvasmm-0.15.4/goocanvas/src/PaxHeaders.3571/libgoocanvas_vfuncs.defs0000644000175000017500000000005011457034522024530 xustar000000000000000020 atime=1287401696 20 ctime=1287403857 goocanvasmm-0.15.4/goocanvas/src/libgoocanvas_vfuncs.defs0000644000175000017500000001761511437155032025021 0ustar00murraycmurrayc00000000000000 ; GooCanvas (define-vfunc create_item (of-object "GooCanvas") (parameters '("GooCanvasItemModel*" "model") ) (return-type "GooCanvasItem*") ) ; GooCanvasModel (define-vfunc get_root_item (of-object "GooCanvasModel") (return-type "GooCanvasItem*") ) ; GooCanvasItem (define-vfunc get_canvas (of-object "GooCanvasItem") (return-type "GooCanvas*") ) (define-vfunc set_canvas (of-object "GooCanvasItem") (parameters '("GooCanvas*" "canvas") ) (return-type "void") ) (define-vfunc get_n_children (of-object "GooCanavsItem") (return-type "gint") ) (define-vfunc get_child (of-object "GooCanvasItem") (return-type "GooCanvasItem*") (parameters '("gint" "child_num") ) ) (define-vfunc request_update (of-object "GooCanvasItem") (return-type "void") ) (define-vfunc add_child (of-object "GooCanvasItem") (parameters '("GooCanvasItem*" "item") '("gint" "position") ) (return-type "void") ) (define-vfunc move_child (of-object "GooCanvasItem") (parameters '("gint" "old_position") '("gint" "new_position") ) (return-type "void") ) (define-vfunc remove_child (of-object "GooCanvasItem") (parameters '("gint" "position") ) (return-type "void") ) (define-vfunc get_child_property (of-object "GooCanvasItem") (parameters '("GooCanvasItem*" "child") '("guint" "property_id") '("GValue*" "value") '("GParamSpec*" "pspec") ) ) (define-vfunc set_child_property (of-object "GooCanvasItem") (parameters '("GooCanvasItem*" "child") '("guint" "property_id") '("const-GValue*" "value") '("GParamSpec*" "pspec") ) ) (define-vfunc get_transform_for_child (of-object "GooCanvasItem") (parameters '("GooCanvasItem*" "item") '("cairo_matrix_t*" "transform") ) (return-type "gboolean") ) (define-vfunc get_parent (of-object "GooCanvasItem") (return-type "GooCanvasItem*") ) (define-vfunc set_parent (of-object "GooCanvasItem") (return-type "void") (parameters '("GooCanvasItem*" "parent") ) ) (define-vfunc get_bounds (of-object "GooCanvasItem") (return-type "void") (parameters '("GooCanvasBounds*" "bounds") ) ) (define-vfunc get_items_at (of-object "GooCanvasItem") (return-type "GList*") (parameters '("gdouble" "x") '("gdouble" "y") '("cairo_t*" "cr") '("gboolean" "is_pointer_event") '("gboolean" "parent_is_visible") '("GList*" "found_items") ) ) (define-vfunc get_transform (of-object "GooCanvasItem") (return-type "gboolean") (parameters '("cairo_matrix_t*" "transform") ) ) (define-vfunc set_transform (of-object "GooCanvasItem") (return-type "void") (parameters '("const-cairo_matrix_t*" "matrix") ) ) (define-vfunc get_style (of-object "GooCanvasItem") (return-type "GooCanvasStyle*") ) (define-vfunc set_style (of-object "GooCanvasItem") (return-type "void") (parameters '("GooCanvasStyle*" "style") ) ) (define-vfunc is_visible (of-object "GooCanvasItem") (return-type "gboolean") ) (define-vfunc get_requested_height (of-object "GooCanvasItem") (return-type "gdouble") (parameters '("cairo_t*" "cr") '("gdouble" "width") ) ) (define-vfunc create_view (of-object "GooCanvasItem") (return-type "GooCanvasItem*") (parameters '("GooCanvasView*" "canvas_view") '("GooCanvasItem*" "parent_view") ) ) (define-vfunc get_canvas_view (of-object "GooCanvasItem") (return-type "GooCanvasView*") ) (define-vfunc get_n_children (of-object "GooCanvasItem") (return-type "gint") ) (define-vfunc get_child (of-object "GooCanvasItem") (return-type "GooCanvasItem*") (parameters '("gint" "child_num") ) ) (define-vfunc get_parent_view (of-object "GooCanvasItem") (return-type "GooCanvasItem*") ) (define-vfunc set_parent_view (of-object "GooCanvasItem") (return-type "void") (parameters '("GooCanvasItem*" "parent_view") ) ) (define-vfunc get_item (of-object "GooCanvasItem") (return-type "GooCanvasItem*") ) (define-vfunc get_item_view_at (of-object "GooCanvasItem") (return-type "GooCanvasItem*") (parameters '("gdouble" "x") '("gdouble" "y") '("cairo_t*" "cr") '("gboolean" "is_pointer_event") '("gboolean" "parent_is_visible") ) ) (define-vfunc update (of-object "GooCanvasItem") (return-type "void") (parameters '("gboolean" "entire_tree") '("cairo_t*" "cr") '("GooCanvasBounds*" "bounds") ) ) (define-vfunc paint (of-object "GooCanvasItem") (return-type "void") (parameters '("cairo_t*" "cr") '("const-GooCanvasBounds*" "bounds") '("gdouble" "scale") ) ) (define-vfunc get_requested_area (of-object "GooCanvasItem") (return-type "gboolean") (parameters '("cairo_t*" "cr") '("GooCanvasBounds*" "requested_area") ) ) (define-vfunc allocate_area (of-object "GooCanvasItem") (return-type "void") (parameters '("cairo_t*" "cr") '("const-GooCanvasBounds*" "requested_area") '("const-GooCanvasBounds*" "allocated_area") '("gdouble" "x_offset") '("gdouble" "y_offset") ) ) (define-vfunc get_model (of-object "GooCanvasItem") (return-type "GooCanvasItemModel*") ) (define-vfunc set_model (of-object "GooCanvasItem") (return-type "void") (parameters '("GooCanvasItemModel*" "model") ) ) (define-vfunc get_is_static (of-object "GooCanvasItem") (return-type "gboolean") ) (define-vfunc set_is_static (of-object "GooCanvasItem") (return-type "void") (parameters '("gboolean" "is_static") ) ) ; GooCanvasItemModel (define-vfunc get_n_children (of-object "GooCanvasItemModel") (return-type "gint") ) (define-vfunc get_child (of-object "GooCanvasItemModel") (return-type "GooCanvasItemModel*") (parameters '("gint" "child_num") ) ) (define-vfunc add_child (of-object "GooCanvasItemModel") (return-type "void") (parameters '("GooCanvasItemModel*" "model") '("gint" "position") ) ) (define-vfunc move_child (of-object "GooCanvasItemModel") (return-type "void") (parameters '("gint" "old_position") '("gint" "new_position") ) ) (define-vfunc remove_child (of-object "GooCanvasItemModel") (return-type "void") (parameters '("gint" "child_num") ) ) (define-vfunc get_child_property (of-object "GooCanvasItemModel") (return-type "void") (parameters '("GooCanvasItemModel*" "child") '("guint" "property_id") '("GValue*" "value") '("GParamSpec*" "pspec") ) ) (define-vfunc set_child_property (of-object "GooCanvasItemModel") (return-type "void") (parameters '("GooCanvasItemModel*" "child") '("guint" "property_id") '("const-GValue*" "value") '("GParamSpec*" "pspec") ) ) (define-vfunc get_parent (of-object "GooCanvasItemModel") (return-type "GooCanvasItemModel*") ) (define-vfunc set_parent (of-object "GooCanvasItemModel") (return-type "void") (parameters '("GooCanvasItemModel*" "parent") ) ) (define-vfunc create_item (of-object "GooCanvasItemModel") (return-type "GooCanvasItem*") (parameters '("GooCanvas*" "canvas") ) ) (define-vfunc get_transform (of-object "GooCanvasItemModel") (return-type "gboolean") (parameters '("cairo_matrix_t*" "transform") ) ) (define-vfunc set_transform (of-object "GooCanvasItemModel") (return-type "void") (parameters '("const-cairo_matrix_t*" "transform") ) ) (define-vfunc get_style (of-object "GooCanvasItemModel") (return-type "GooCanvasStyle*") ) (define-vfunc set_style (of-object "GooCanvasItemModel") (return-type "void") (parameters '("GooCanvasStyle*" "style") ) ) ; GooCanvasItemSimple (define-vfunc simple_create_path (of-object "GooCanvasItemSimple") (return-type "void") (parameters '("cairo_t*" "cr") ) ) (define-vfunc simple_update (of-object "GooCanvasItemSimple") (return-type "void") (parameters '("cairo_t*" "cr") ) ) (define-vfunc simple_paint (of-object "GooCanvasItemSimple") (return-type "void") (parameters '("cairo_t*" "cr") '("const-GooCanvasBounds*" "bounds") ) ) (define-vfunc simple_is_item_at (of-object "GooCanvasItemSimple") (return-type "gboolean") (parameters '("gdouble" "x") '("gdouble" "y") '("cairo_t*" "cr") '("gboolean" "is_pointer_event") ) ) goocanvasmm-0.15.4/goocanvas/src/PaxHeaders.3571/points.hg0000644000175000017500000000005011457034522021466 xustar000000000000000020 atime=1287401697 20 ctime=1287403857 goocanvasmm-0.15.4/goocanvas/src/points.hg0000644000175000017500000000260111437155032021744 0ustar00murraycmurrayc00000000000000/* Copyright (C) 1998-2006 The gtkmm Development Team * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #include #include _DEFS(goocanvasmm,libgoocanvas) _PINCLUDE(glibmm/private/object_p.h) namespace Goocanvas { class Points { public: _CLASS_BOXEDTYPE(Points, GooCanvasPoints, NONE, goo_canvas_points_ref, goo_canvas_points_unref) _IGNORE(goo_canvas_points_ref, goo_canvas_points_unref) public: explicit Points(int num_points); Points(int num_points, const double* coords); //TODO: Why not use _WRAP_METHOD() or _MEMBER*? int get_num_points() const; void set_coordinate(int index, double x, double y); void get_coordinate(int index, double& x, double& y) const; }; } goocanvasmm-0.15.4/goocanvas/src/PaxHeaders.3571/tablemodel.ccg0000644000175000017500000000005011457034522022420 xustar000000000000000020 atime=1287401897 20 ctime=1287403857 goocanvasmm-0.15.4/goocanvas/src/tablemodel.ccg0000644000175000017500000000636611437155032022712 0ustar00murraycmurrayc00000000000000/* Copyright (C) 1998-2006 The gtkmm Development Team * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #include _PINCLUDE(goocanvasmm/private/groupmodel_p.h) namespace Goocanvas { void TableModel::attach(const Glib::RefPtr& item, guint left_attach, guint right_attach, guint top_attach, guint bottom_attach, Gtk::AttachOptions xoptions, Gtk::AttachOptions yoptions, double left_padding, double right_padding, double top_padding, double bottom_padding) { const gboolean x_expand = (xoptions & Gtk::EXPAND) != 0; const gboolean x_fill = (xoptions & Gtk::FILL) != 0; const gboolean x_shrink = (xoptions & Gtk::SHRINK) != 0; const gboolean y_expand = (yoptions & Gtk::EXPAND) != 0; const gboolean y_fill = (yoptions & Gtk::FILL) != 0; const gboolean y_shrink = (yoptions & Gtk::SHRINK) != 0; add_child(item); goo_canvas_item_model_set_child_properties(GOO_CANVAS_ITEM_MODEL(gobj()), item->gobj(), "column", left_attach, "columns", right_attach - left_attach, "row", top_attach, "rows", bottom_attach - top_attach, "x-fill", x_fill, "x-expand", x_expand, "x-shrink", x_shrink, "y-fill", y_fill, "y-expand", y_expand, "y-shrink", y_shrink, "left-padding", left_padding, "right-padding", right_padding, "top-padding", top_padding, "bottom-padding", bottom_padding, static_cast(0)); } void TableModel::set_align(const Glib::RefPtr& child, double xalign, double yalign) { goo_canvas_item_model_set_child_properties(GOO_CANVAS_ITEM_MODEL(gobj()), child->gobj(), "xalign", xalign, "yalign", yalign, static_cast(0)); } void TableModel::set_align(const Glib::RefPtr& child, Gtk::AlignmentEnum xalign, Gtk::AlignmentEnum yalign) { set_align(child, _gtkmm_align_float_from_enum(xalign), _gtkmm_align_float_from_enum(yalign)); } } //namspace Goocanvas goocanvasmm-0.15.4/goocanvas/src/PaxHeaders.3571/itemmodel.hg0000644000175000017500000000005011457034522022131 xustar000000000000000020 atime=1287402839 20 ctime=1287403857 goocanvasmm-0.15.4/goocanvas/src/itemmodel.hg0000644000175000017500000002030711457032526022416 0ustar00murraycmurrayc00000000000000 /* Copyright (C) 1998-2006 The gtkmm Development Team * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #include #include #include _DEFS(goocanvasmm,libgoocanvas) _PINCLUDE(glibmm/private/interface_p.h) _PINCLUDE(goocanvasitem.h) #ifndef DOXYGEN_SHOULD_SKIP_THIS extern "C" { typedef struct _GooCanvasItemModelIface GooCanvasItemModelIface; } extern "C" { typedef union _GooCanvasPathCommand GooCanvasPathCommand; } #endif /* DOXYGEN_SHOULD_SKIP_THIS */ namespace Goocanvas { class Canvas ; class Item ; _WRAP_ENUM(AnimateType,GooCanvasAnimateType, s#^CANVAS_##) class ItemModel : public Glib::Interface { _CLASS_INTERFACE(ItemModel,GooCanvasItemModel,GOO_CANVAS_ITEM_MODEL,GooCanvasItemModelIface) public: _IGNORE(goo_canvas_item_model_get_child_properties) _IGNORE(goo_canvas_item_model_set_child_properties) _IGNORE(goo_canvas_item_model_get_child_properties_valist) _IGNORE(goo_canvas_item_model_set_child_properties_valist) _WRAP_METHOD(int get_n_children() const, goo_canvas_item_model_get_n_children) _WRAP_METHOD(Glib::RefPtr get_child(int child_num), goo_canvas_item_model_get_child, refreturn) _WRAP_METHOD(Glib::RefPtr get_child(int child_num) const, goo_canvas_item_model_get_child, refreturn, constversion) _WRAP_METHOD(void get_child_property(const Glib::RefPtr& child, const Glib::ustring& property_name, Glib::ValueBase& value) const, goo_canvas_item_model_get_child_property) _WRAP_METHOD(void set_child_property(const Glib::RefPtr& child, const Glib::ustring& property_name, const Glib::ValueBase& value), goo_canvas_item_model_set_child_property) _WRAP_METHOD(void add_child(const Glib::RefPtr& child, int position), goo_canvas_item_model_add_child) void add_child(const Glib::RefPtr& child); _WRAP_METHOD(void move_child(int old_position, int new_position), goo_canvas_item_model_move_child) _WRAP_METHOD(void remove_child(int child_num), goo_canvas_item_model_remove_child) _WRAP_METHOD(int find_child(const Glib::RefPtr& child), goo_canvas_item_model_find_child) _WRAP_METHOD(Glib::RefPtr get_parent(), goo_canvas_item_model_get_parent, refreturn) _WRAP_METHOD(Glib::RefPtr get_parent() const, goo_canvas_item_model_get_parent, refreturn, constversion) _WRAP_METHOD(void set_parent(const Glib::RefPtr& parent), goo_canvas_item_model_set_parent) _WRAP_METHOD(void remove(), goo_canvas_item_model_remove) _WRAP_METHOD(bool is_container() const, goo_canvas_item_model_is_container) _WRAP_METHOD(void raise(const Glib::RefPtr& above), goo_canvas_item_model_raise) /** Raise the item to the top of the stack. */ void raise(); _WRAP_METHOD(void lower(const Glib::RefPtr& below), goo_canvas_item_model_lower) /** Lower the item to the bottom of the stack. */ void lower(); //TODO: Use Cairo::RefPtr? _WRAP_METHOD(bool get_transform(Cairo::Matrix* transform), goo_canvas_item_model_get_transform) _WRAP_METHOD(void set_transform(const Cairo::Matrix* transform), goo_canvas_item_model_set_transform) _WRAP_METHOD(void set_simple_transform(double x, double y, double scale, double rotation), goo_canvas_item_model_set_simple_transform) _WRAP_METHOD(bool get_simple_transform(double& x, double& y, double& scale, double& rotation) const, goo_canvas_item_model_get_simple_transform) _WRAP_METHOD(void translate(double tx, double ty), goo_canvas_item_model_translate) _WRAP_METHOD(void scale(double sx, double sy), goo_canvas_item_model_scale) _WRAP_METHOD(void rotate(double degrees, double cx, double cy), goo_canvas_item_model_rotate) _WRAP_METHOD(void skew_x(double degrees, double cx, double cy), goo_canvas_item_model_skew_x) _WRAP_METHOD(void skew_y(double degrees, double cx, double cy), goo_canvas_item_model_skew_y) _WRAP_METHOD(Glib::RefPtr