| 173 | } |
| 174 | |
| 175 | void WidgetsWindow::requestDrawItem( |
| 176 | MyGUI::ItemBox* _sender, |
| 177 | MyGUI::Widget* _item, |
| 178 | const MyGUI::IBDrawItemInfo& _info) |
| 179 | { |
| 180 | MyGUI::Button* button = *_item->getUserData<MyGUI::Button*>(); |
| 181 | SkinInfo data = *_sender->getItemDataAt<SkinInfo>(_info.index); |
| 182 | if (_info.update) |
| 183 | { |
| 184 | button->setCaption(data.widget_button_name); |
| 185 | } |
| 186 | |
| 187 | button->setStateSelected(_info.select); |
| 188 | } |
| 189 | |
| 190 | void WidgetsWindow::notifyMouseButtonClickPopupMode(MyGUI::Widget* _sender) |
| 191 | { |
nothing calls this directly
no test coverage detected