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

Method getCellSelected

Tools/LayoutEditor/WidgetsWindow.cpp:82–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80 }
81
82 bool WidgetsWindow::getCellSelected(MyGUI::Widget* _widget)
83 {
84 MyGUI::Widget* container = _widget->getParent()->_getContainer();
85 MyGUI::ItemBox* box = container->castType<MyGUI::ItemBox>();
86 return box->getIndexSelected() == box->getIndexByWidget(_widget->getParent());
87 }
88
89 SkinInfo WidgetsWindow::getCellData(MyGUI::Widget* _widget)
90 {

Callers

nothing calls this directly

Calls 4

_getContainerMethod · 0.80
getParentMethod · 0.45
getIndexSelectedMethod · 0.45
getIndexByWidgetMethod · 0.45

Tested by

no test coverage detected