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