| 53 | } |
| 54 | |
| 55 | void PropertyFieldSkin::notifyToolTip(MyGUI::Widget* _sender, const MyGUI::ToolTipInfo& _info) |
| 56 | { |
| 57 | if (_info.type == MyGUI::ToolTipInfo::Show) |
| 58 | { |
| 59 | SkinInfo data = getCellData(_info.index); |
| 60 | EditorToolTip::getInstancePtr()->show(data); |
| 61 | EditorToolTip::getInstancePtr()->move(_info.point); |
| 62 | } |
| 63 | else if (_info.type == MyGUI::ToolTipInfo::Hide) |
| 64 | { |
| 65 | EditorToolTip::getInstancePtr()->hide(); |
| 66 | } |
| 67 | else if (_info.type == MyGUI::ToolTipInfo::Move) |
| 68 | { |
| 69 | EditorToolTip::getInstancePtr()->move(_info.point); |
| 70 | } |
| 71 | } |
| 72 | |
| 73 | SkinInfo PropertyFieldSkin::getCellData(size_t _index) |
| 74 | { |
nothing calls this directly
no test coverage detected