| 284 | //----------------------------------------------------------------------------- |
| 285 | |
| 286 | void GuiTreeViewCtrl::Item::setExpandedImage(S8 id) |
| 287 | { |
| 288 | if(mState.test(InspectorData)) |
| 289 | { |
| 290 | Con::errorf("Tried to set expanded image %d for item %d, which is InspectorData!", id, mId); |
| 291 | return; |
| 292 | } |
| 293 | |
| 294 | mScriptInfo.mExpandedImage = id; |
| 295 | } |
| 296 | |
| 297 | //----------------------------------------------------------------------------- |
| 298 |
no test coverage detected