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

Method HideControls

Tools/EditorFramework/PropertyPanelControl.cpp:29–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27 }
28
29 void PropertyPanelControl::HideControls()
30 {
31 for (auto& control : mPropertyControls)
32 {
33 control.second->setProperty(nullptr);
34 control.second->getRoot()->setVisible(false);
35 }
36
37 mScrollView->setCanvasSize(0, 0);
38 mContentHeight = 0;
39 }
40
41 void PropertyPanelControl::InitialiseProperty(PropertyPtr _property, int& _height)
42 {

Callers

nothing calls this directly

Calls 4

setCanvasSizeMethod · 0.80
setPropertyMethod · 0.45
setVisibleMethod · 0.45
getRootMethod · 0.45

Tested by

no test coverage detected