Mercurial > octave-nkf
view .gitignore @ 19700:e7df12f37f71
Freset: avoid multiple reseting of properties (bug #43960)
* graphics.in.h (base_graphics_object::get_defaults_list): new method
* graphics.in.h (base_graphics_object::build_user_defaults_map): declare new method
* graphics.in.h (graphics_object::get_defaults_list): new method
* graphics.in.h (graphics_object::build_user_defaults_map): new method
* graphics.in.h (root_figure::get_defaults_list, figure::get_defaults_list, axes::get_defaults_list, uitoolbar::get_defaults_list): new methods
* graphics.cc (base_graphics_object::build_user_defaults_map): build a list of all local and ancestor defaults.
* graphics.cc (xreset_default_properties): use build_user_defaults_map method to replace factory defaults by those defined in user defaults map
* graphics.cc (base_graphics_object::reset_default_properties, root_figure::reset_default_properties, figure::reset_default_properties): remove override_default.
author | Pantxo Diribarne <pantxo.diribarne@gmail.com> |
---|---|
date | Sat, 07 Feb 2015 15:41:48 +0100 |
parents | 5758e0013246 |
children |