| 202 | } |
| 203 | |
| 204 | void GuiTextCtrl::setTextID(const char *id) |
| 205 | { |
| 206 | S32 n = Con::getIntVariable(id, -1); |
| 207 | if(n != -1) |
| 208 | { |
| 209 | mInitialTextID = StringTable->insert(id); |
| 210 | setTextID(n); |
| 211 | } |
| 212 | } |
| 213 | void GuiTextCtrl::setTextID(S32 id) |
| 214 | { |
| 215 | const UTF8 *str = getGUIString(id); |
no test coverage detected