gimp r23114 - in trunk: . app/tools
- From: martinn svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r23114 - in trunk: . app/tools
- Date: Sat, 4 Aug 2007 21:20:44 +0100 (BST)
Author: martinn
Date: 2007-08-04 21:20:44 +0100 (Sat, 04 Aug 2007)
New Revision: 23114
ViewCVS link: http://svn.gnome.org/viewcvs/gimp?rev=23114&view=rev
Modified:
trunk/ChangeLog
trunk/app/tools/gimprectangleoptions.c
trunk/app/tools/gimprectangleoptions.h
trunk/app/tools/gimprectangletool.c
trunk/app/tools/tools-enums.c
trunk/app/tools/tools-enums.h
Log:
2007-08-04 Martin Nordholts <martinn svn gnome org>
Update rectangle tool options to bring it closer to the spec. The
major change is the use of a 'Fixed:' check box and a 'Aspect
ratio/Width/Height/Size' combo box. The check box is togglable
with Shift while rubber-banding.
* app/tools/gimprectangletool.c
(gimp_rectangle_tool_active_modifier_key): Set other side also
when Shift is released.
(gimp_rectangle_tool_update_options): Don't supress updates of
tool options on fixed width/height/size
(gimp_rectangle_tool_apply_fixed_height)
(gimp_rectangle_tool_update_with_coord)
(gimp_rectangle_tool_handle_general_clamping): Use new tool option
interface and members.
* app/tools/gimprectangleoptions.[ch]
(gimp_rectangle_options_iface_base_init)
(gimp_rectangle_options_install_properties)
(gimp_rectangle_options_(get|set)_property): Remove and add
relevant properties.
(gimp_rectangle_options_private_finalize): Unref the new widgets
used in tool options.
(gimp_rectangle_options_fixed_rule_changed): New, update tool
options depending on current option state.
(gimp_rectangle_options_gui): Modified according to change log
entry summary.
(gimp_rectangle_options_unparent_fixed_rule_widgets): New helper.
(gimp_rectangle_options_fixed_rule_active): New, clients should
use this to find out if a certain fixed-mode is active.
* app/tools/tools-enums.[ch]: Added GimpRectangleToolFixedRule.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]