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

Method getSelected

Engine/source/gui/controls/guiPopUpCtrl.cpp:719–724  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

717
718//------------------------------------------------------------------------------
719S32 GuiPopUpMenuCtrl::getSelected()
720{
721 if (mSelIndex == -1)
722 return 0;
723 return mEntries[mSelIndex].id;
724}
725
726//------------------------------------------------------------------------------
727bool GuiPopUpMenuCtrl::setEntryText( S32 id, const char* buf )

Callers 3

guiPopUpCtrl.cppFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected