| 185 | } |
| 186 | |
| 187 | void TreeControl::notifyFrameEntered(float nTime) |
| 188 | { |
| 189 | if (!mbInvalidated) |
| 190 | return; |
| 191 | |
| 192 | mnExpandedNodes = mpRoot->prepareChildren(); |
| 193 | if (mbRootVisible) |
| 194 | mnExpandedNodes++; |
| 195 | |
| 196 | updateScroll(); |
| 197 | updateItems(); |
| 198 | |
| 199 | validate(); |
| 200 | |
| 201 | mbInvalidated = false; |
| 202 | Gui::getInstance().eventFrameStart -= newDelegate(this, &TreeControl::notifyFrameEntered); |
| 203 | } |
| 204 | |
| 205 | void TreeControl::updateScroll() |
| 206 | { |
nothing calls this directly
no test coverage detected