void WeaponCellView::getCellDimension(MyGUI::Widget* _sender, MyGUI::IntCoord& _coord, bool _drop) { if (_drop) _coord.set(0, 0,230, 50); else _coord.set(0, 0,230, 50); }
void CellView::getCellDimension(MyGUI::Widget* _sender, MyGUI::IntCoord& _coord, bool _drop) { if (_drop) _coord.set(0, 0, 90, 74); else _coord.set(0, 0, 90, 74); }
void ListBox::notifyDrawItem(MyGUI::ListCtrl* _sender, MyGUI::Widget* _item, const MyGUI::IBDrawItemInfo& _info, MyGUI::IntCoord& _coord) { MyGUI::Button* text = *_item->getUserData<MyGUI::Button*>(); if (_info.update) { text->setCaption(mItemsInfo[_info.index]); MyGUI::IntSize size = text->getTextSize() + (text->getSize() - text->getTextRegion().size()); size.height = mHeightLine; _coord.set(0, 0, size.width, size.height); } text->setButtonPressed(_info.select); text->_setMouseFocus(_info.active); }
void WidgetsWindow::requestCoordItem(MyGUI::ItemBox* _sender, MyGUI::IntCoord& _coord, bool _drag) { _coord.set(0, 0, mWidgetsButtonWidth + mWidgetsButtonOffset + mWidgetsButtonOffset, mWidgetsButtonHeight + mWidgetsButtonOffset + mWidgetsButtonOffset); }
void ColourWindowCellView::getCellDimension(MyGUI::Widget* _sender, MyGUI::IntCoord& _coord, bool _drop) { _coord.set(0, 0, _sender->getClientCoord().width, 20); }
void requestCoordItem(MyGUI::ItemBox* _sender, MyGUI::IntCoord& _coord, bool _drag) { _coord.set(0, 0, 100, 100); }
void ToolControl::requestCoordItem(MyGUI::ItemBox* _sender, MyGUI::IntCoord& _coord, bool _drag) { _coord.set(0, 0, 120, 25); }
void TextureBrowseCell::getCellDimension(MyGUI::Widget* _sender, MyGUI::IntCoord& _coord, bool _drop) { _coord.set(0, 0, 180, 180); }