MCPcopy Create free account
hub / github.com/RomanKubiak/ctrlr / getNumRows

Method getNumRows

Source/UIComponents/CtrlrPanel/CtrlrPanelLayerList.cpp:90–93  ·  view source on GitHub ↗

[MiscUserCode] You can add your own definitions of your custom methods or any other code here...

Source from the content-addressed store, hash-verified

88
89//[MiscUserCode] You can add your own definitions of your custom methods or any other code here...
90int CtrlrPanelLayerList::getNumRows()
91{
92 return (owner.getEditor()->getCanvas()->getNumLayers());
93}
94
95void CtrlrPanelLayerList::paintListBoxItem (int rowNumber, Graphics& g, int width, int height, bool rowIsSelected)
96{

Callers

nothing calls this directly

Calls 3

getNumLayersMethod · 0.80
getCanvasMethod · 0.45
getEditorMethod · 0.45

Tested by

no test coverage detected