* Bugs #7777 & #12303 fixed - interactive move of any object in figure 26/18826/18
authorSamuel GOUGEON <sgougeon@free.fr>
Sat, 31 Dec 2016 19:40:08 +0000 (20:40 +0100)
committerClément DAVID <clement.david@esi-group.com>
Thu, 20 Feb 2020 15:09:25 +0000 (16:09 +0100)
commit4ee6c47f418e4608edca9f83217c1cff3b181ef1
tree1feacae4e9ce1bbe393484b4b712ae4a020cbf3b
parentd6a4614a2029ba1e11807639b5050e9a18ff2eab
* Bugs #7777 & #12303 fixed - interactive move of any object in figure

 * http://bugzilla.scilab.org/7777  : move mode turned off after each object
 * http://bugzilla.scilab.org/12302 : enable moving blocks of legends
 * ADDED in this commit:
    - "Move objects" icon added in the graphics toolbar
    - "Move objects" item added in the graphics Edit menu
    - A true "Move mode" is now available: It is no longer necessary to
      re-run ged(6) after each (successfull or unsuccessfull) selecting
      click.
    - error for Segs fixed.
    - Labels: Moving with reversed axis added.
    - Moving in log or/and reversed axis added for the following objects:
       - Text
       - Segments and arrows
       - Polyline
       - Rectangle
       - Arc
    - Moving added in all axis modes (normal, reversed, log) for the
      following types of objects:
       - Axes in their whole: handle = its frame box
       - Legend: Both types of legends blocks, as generated with legend()
         or with legends(): handle = its frame box
       - Datatip detached: handle = datatip area
       - uicontrols
    - Unit test added for ged(6,)
    - ged_loop, ged_move_entity: header added (split from ged.sci)
    - dist2Ellipse() used nowhere in Scilab => removed

Change-Id: I8787fd46fc2a54f477ad2ca1e43554fa22683304
12 files changed:
scilab/CHANGES.md
scilab/modules/graphics/macros/legends.sci
scilab/modules/graphics/tests/unit_tests/ged_6_move_objects.tst [new file with mode: 0644]
scilab/modules/gui/etc/graphics_menubar.xml
scilab/modules/gui/etc/graphics_toolbar.xml
scilab/modules/gui/images/icons/16x16/actions/ged_move.png [new file with mode: 0644]
scilab/modules/tclsci/macros/dist2Arc.sci [deleted file]
scilab/modules/tclsci/macros/dist2Ellipse.sci [deleted file]
scilab/modules/tclsci/macros/ged_getobject.sci
scilab/modules/tclsci/macros/ged_loop.sci
scilab/modules/tclsci/macros/ged_move_entity.sci
scilab/modules/tclsci/macros/pixDist2Arc.sci [deleted file]