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

Method setClientHeight

Common/PanelView/BasePanelViewCell.h:45–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43 }
44
45 void setClientHeight(int _height, bool _smooth = true)
46 {
47 m_minHeight = mMainWidget->getHeight() - getClient()->getHeight();
48 m_maxHeight = m_minHeight + _height;
49 if (_smooth)
50 {
51 if (!m_minimized)
52 {
53 updateMinimized();
54 }
55 }
56 else
57 {
58 mMainWidget->setSize(mMainWidget->getWidth(), m_maxHeight);
59 eventUpdatePanel(this);
60 }
61 }
62
63 bool isMinimized() const
64 {

Callers 9

_initialiseMethod · 0.80
initialiseMethod · 0.80
setVisibleCountMethod · 0.80
updateSizeMethod · 0.80
updateSizeMethod · 0.80
updateSizeMethod · 0.80
updateMethod · 0.80
updateSizeMethod · 0.80
updateSizeMethod · 0.80

Calls 3

getHeightMethod · 0.45
setSizeMethod · 0.45
getWidthMethod · 0.45

Tested by

no test coverage detected