| 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) |