| 1646 | //----------------------------------------------------------------------------- |
| 1647 | |
| 1648 | bool GuiControl::setTooltipProfileProt( void *object, const char *index, const char *data ) |
| 1649 | { |
| 1650 | GuiControl* ctrl = static_cast<GuiControl*>( object ); |
| 1651 | GuiControlProfile *prof = dynamic_cast<GuiControlProfile*>( Sim::findObject( data ) ); |
| 1652 | if ( prof == NULL ) |
| 1653 | return false; |
| 1654 | |
| 1655 | // filter through our setter, for consistency |
| 1656 | ctrl->setTooltipProfile( prof ); |
| 1657 | |
| 1658 | // ask the console not to set the data, because we've already set it |
| 1659 | return false; |
| 1660 | } |
| 1661 | |
| 1662 | //----------------------------------------------------------------------------- |
| 1663 |
nothing calls this directly
no test coverage detected