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

Method ColourWindowCellView

Demos/Demo_Gui/ColourWindowCellView.cpp:17–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15 }
16
17 ColourWindowCellView::ColourWindowCellView(MyGUI::Widget* _parent) :
18 wraps::BaseCellView<ColourWindowCellData*>("ColourWindowCellView.layout", _parent)
19 {
20 mMainWidget->setCoord(0, 0, _parent->getWidth(), _parent->getHeight());
21 mMainWidget->setAlign(MyGUI::Align::Stretch);
22
23 assignWidget(mText, "Text");
24 assignWidget(mColour, "Colour");
25 }
26
27 void ColourWindowCellView::update(const MyGUI::IBDrawItemInfo& _info, ColourWindowCellData* _data)
28 {

Callers

nothing calls this directly

Calls 5

assignWidgetFunction · 0.85
setCoordMethod · 0.45
getWidthMethod · 0.45
getHeightMethod · 0.45
setAlignMethod · 0.45

Tested by

no test coverage detected