MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / setTooltipProfileProt

Method setTooltipProfileProt

Engine/source/gui/core/guiControl.cpp:1648–1660  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1646//-----------------------------------------------------------------------------
1647
1648bool 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

Callers

nothing calls this directly

Calls 2

setTooltipProfileMethod · 0.80
findObjectFunction · 0.50

Tested by

no test coverage detected