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

Method updateFirst

Tools/EditorFramework/ColourPanel.cpp:62–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60 }
61
62 void ColourPanel::updateFirst()
63 {
64 notifyScrollChangePosition(nullptr, mScrollRange->getScrollPosition());
65
66 notifyMouseDrag(
67 nullptr,
68 mImageColourPicker->getAbsoluteLeft() + (mColourRect->getWidth() / 2),
69 mImageColourPicker->getAbsoluteTop() + (mColourRect->getHeight() / 2),
70 MyGUI::MouseButton::Left);
71 }
72
73 void ColourPanel::createTexture()
74 {

Callers

nothing calls this directly

Calls 3

getScrollPositionMethod · 0.80
getWidthMethod · 0.45
getHeightMethod · 0.45

Tested by

no test coverage detected