Author: ilor
Date: Thu Aug 21 17:57:12 2008
New Revision: 28825

URL: http://svn.gna.org/viewcvs/wesnoth?rev=28825&view=rev
Log:
Another take on the editor2's undo with regards to mouse drags:
Normally undo entire drags as one action, but allow a "partial undo" (default: 
ctrl+z) to undo bit-by-bit like the old editor.
Note: when you undo like that the actions become permanently separated. Normal 
undo and redo will treat the undone bit as a standalone action.

Modified:
    trunk/data/core/editor2-hotkeys.cfg
    trunk/src/editor2/action.cpp
    trunk/src/editor2/action.hpp
    trunk/src/editor2/action_base.hpp
    trunk/src/editor2/editor_common.hpp
    trunk/src/editor2/editor_controller.cpp
    trunk/src/editor2/map_context.cpp
    trunk/src/editor2/map_context.hpp
    trunk/src/editor2/mouse_action.cpp
    trunk/src/editor2/mouse_action.hpp
    trunk/src/hotkeys.cpp
    trunk/src/hotkeys.hpp

[This mail would be too long, it was shortened to contain the URLs only.]

Modified: trunk/data/core/editor2-hotkeys.cfg
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/data/core/editor2-hotkeys.cfg?rev=28825&r1=28824&r2=28825&view=diff

Modified: trunk/src/editor2/action.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/editor2/action.cpp?rev=28825&r1=28824&r2=28825&view=diff

Modified: trunk/src/editor2/action.hpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/editor2/action.hpp?rev=28825&r1=28824&r2=28825&view=diff

Modified: trunk/src/editor2/action_base.hpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/editor2/action_base.hpp?rev=28825&r1=28824&r2=28825&view=diff

Modified: trunk/src/editor2/editor_common.hpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/editor2/editor_common.hpp?rev=28825&r1=28824&r2=28825&view=diff

Modified: trunk/src/editor2/editor_controller.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/editor2/editor_controller.cpp?rev=28825&r1=28824&r2=28825&view=diff

Modified: trunk/src/editor2/map_context.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/editor2/map_context.cpp?rev=28825&r1=28824&r2=28825&view=diff

Modified: trunk/src/editor2/map_context.hpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/editor2/map_context.hpp?rev=28825&r1=28824&r2=28825&view=diff

Modified: trunk/src/editor2/mouse_action.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/editor2/mouse_action.cpp?rev=28825&r1=28824&r2=28825&view=diff

Modified: trunk/src/editor2/mouse_action.hpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/editor2/mouse_action.hpp?rev=28825&r1=28824&r2=28825&view=diff

Modified: trunk/src/hotkeys.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/hotkeys.cpp?rev=28825&r1=28824&r2=28825&view=diff

Modified: trunk/src/hotkeys.hpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/hotkeys.hpp?rev=28825&r1=28824&r2=28825&view=diff


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to