| 347 | //----------------------------------------------------------------------------- |
| 348 | |
| 349 | S8 GuiTreeViewCtrl::Item::getExpandedImage() const |
| 350 | { |
| 351 | if(mState.test(InspectorData)) |
| 352 | { |
| 353 | Con::errorf("Tried to get the expanded image for item %d, which is InspectorData!", mId); |
| 354 | return 0; // fail safe for width determinations |
| 355 | } |
| 356 | |
| 357 | return mScriptInfo.mExpandedImage; |
| 358 | } |
| 359 | |
| 360 | //----------------------------------------------------------------------------- |
| 361 |
no test coverage detected