MCPcopy Create free account
hub / github.com/MyGUI/mygui / Command_GridMoveBottom

Method Command_GridMoveBottom

Tools/LayoutEditor/WorkspaceControl.cpp:337–351  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 {

Callers

nothing calls this directly

Calls 2

toGridMethod · 0.80
addValueMethod · 0.80

Tested by

no test coverage detected