| 698 | } |
| 699 | |
| 700 | void ProjectControl::notifyToolTip(MyGUI::Widget* _sender, const MyGUI::ToolTipInfo& _info) |
| 701 | { |
| 702 | if (_info.type == MyGUI::ToolTipInfo::Show) |
| 703 | { |
| 704 | if (_info.index != MyGUI::ITEM_NONE) |
| 705 | { |
| 706 | SkinInfo data = getCellData(_sender, _info.index); |
| 707 | EditorToolTip::getInstancePtr()->show(data); |
| 708 | EditorToolTip::getInstancePtr()->move(_info.point); |
| 709 | } |
| 710 | } |
| 711 | else if (_info.type == MyGUI::ToolTipInfo::Hide) |
| 712 | { |
| 713 | EditorToolTip::getInstancePtr()->hide(); |
| 714 | } |
| 715 | else if (_info.type == MyGUI::ToolTipInfo::Move) |
| 716 | { |
| 717 | EditorToolTip::getInstancePtr()->move(_info.point); |
| 718 | } |
| 719 | } |
| 720 | |
| 721 | SkinInfo ProjectControl::getCellData(MyGUI::Widget* _sender, size_t _index) |
| 722 | { |
nothing calls this directly
no test coverage detected