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

Method getCellDimension

Demos/Demo_ItemBox/CellView.cpp:12–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10{
11
12 void CellView::getCellDimension(MyGUI::Widget* _sender, MyGUI::IntCoord& _coord, bool _drop)
13 {
14 // размеры ячеек для контейнера и для перетаскивания могут различаться
15 /*if (_drop)
16 _coord.set(0, 0, 90, 74);
17 else
18 _coord.set(0, 0, 90, 74);*/
19
20 _coord.set(0, 0, 90, 74);
21 }
22
23 CellView::CellView(MyGUI::Widget* _parent) :
24 wraps::BaseCellView<ItemData*>("CellView.layout", _parent)

Callers

nothing calls this directly

Calls 1

setMethod · 0.45

Tested by

no test coverage detected