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

Method getCapture

Tools/LayoutEditor/SelectorControl.cpp:137–143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

135 }
136
137 bool SelectorControlLE::getCapture()
138 {
139 MyGUI::Window* window = mMainWidget->castType<MyGUI::Window>(false);
140 if (window != nullptr)
141 return !window->getActionScale().empty();
142 return false;
143 }
144
145 MyGUI::IntCoord SelectorControlLE::getActionScale() const
146 {

Callers 1

getSelectorsCaptureMethod · 0.45

Calls 2

emptyMethod · 0.45
getActionScaleMethod · 0.45

Tested by

no test coverage detected