comparison src/graphics.cc @ 7214:86d0b16f2bb2

[project @ 2007-11-29 03:40:04 by jwe]
author jwe
date Thu, 29 Nov 2007 03:40:04 +0000
parents 4612ef369abb
children dd8b3bbeeaf9
comparison
equal deleted inserted replaced
7213:4612ef369abb 7214:86d0b16f2bb2
754 void 754 void
755 base_properties::override_defaults (base_graphics_object& obj) 755 base_properties::override_defaults (base_graphics_object& obj)
756 { 756 {
757 graphics_object parent_obj = gh_manager::get_object (parent); 757 graphics_object parent_obj = gh_manager::get_object (parent);
758 parent_obj.override_defaults (obj); 758 parent_obj.override_defaults (obj);
759 }
760
761 void
762 base_properties::update_axis_limits (const std::string& axis_type) const
763 {
764 graphics_handle h = (type == "axes") ? __myhandle__ : parent;
765
766 graphics_object obj = gh_manager::get_object (h);
767
768 if (obj.isa ("axes"))
769 obj.update_axis_limits (axis_type);
759 } 770 }
760 771
761 void 772 void
762 base_properties::delete_children (void) 773 base_properties::delete_children (void)
763 { 774 {
1778 } 1789 }
1779 1790
1780 return retval; 1791 return retval;
1781 } 1792 }
1782 1793
1794 void
1795 axes::update_axis_limits (const std::string& /* axis_type */)
1796 {
1797 }
1798
1783 std::string axes::properties::go_name ("axes"); 1799 std::string axes::properties::go_name ("axes");
1784 1800
1785 // --------------------------------------------------------------------- 1801 // ---------------------------------------------------------------------
1786 1802
1787 static Matrix 1803 static Matrix