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

Method CommandGridMoveLeft

Tools/EditorFramework/ScopeTextureControl.cpp:146–155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

144 }
145
146 void ScopeTextureControl::CommandGridMoveLeft(const MyGUI::UString& _commandName, bool& _result)
147 {
148 if (!checkCommand())
149 return;
150
151 mCoordValue.left = GridManager::getInstance().toGrid(mCoordValue.left, GridManager::Previous);
152 updateFromCoordValue();
153
154 _result = true;
155 }
156
157 void ScopeTextureControl::CommandGridMoveRight(const MyGUI::UString& _commandName, bool& _result)
158 {

Callers

nothing calls this directly

Calls 1

toGridMethod · 0.80

Tested by

no test coverage detected