| 335 | } |
| 336 | |
| 337 | void WorkspaceControl::Command_GridMoveBottom(const MyGUI::UString& _commandName, bool& _result) |
| 338 | { |
| 339 | if (!checkCommand()) |
| 340 | return; |
| 341 | |
| 342 | if (!mMoveableWidget) |
| 343 | return; |
| 344 | |
| 345 | mCoordValue.top = GridManager::getInstance().toGrid(mCoordValue.top, GridManager::Next); |
| 346 | updateFromCoordValue(); |
| 347 | |
| 348 | UndoManager::getInstance().addValue(PR_KEY_POSITION); |
| 349 | |
| 350 | _result = true; |
| 351 | } |
| 352 | |
| 353 | void WorkspaceControl::Command_GridSizeLeft(const MyGUI::UString& _commandName, bool& _result) |
| 354 | { |