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

Method updateFirst

Demos/Demo_Colour/ColourPanel.cpp:53–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51 }
52
53 void ColourPanel::updateFirst()
54 {
55 notifyScrollChangePosition(nullptr, mScrollRange->getScrollPosition());
56
57 notifyMouseDrag(
58 nullptr,
59 mImageColourPicker->getAbsoluteLeft() + (mColourRect->getWidth() / 2),
60 mImageColourPicker->getAbsoluteTop() + (mColourRect->getHeight() / 2),
61 MyGUI::MouseButton::Left);
62 }
63
64 void ColourPanel::createTexture()
65 {

Callers

nothing calls this directly

Calls 3

getScrollPositionMethod · 0.80
getWidthMethod · 0.45
getHeightMethod · 0.45

Tested by

no test coverage detected