0x004BB6B2
| 166 | |
| 167 | // 0x004BB6B2 |
| 168 | static void updateTreeColours(Window& self) |
| 169 | { |
| 170 | if (self.rowHover != -1) |
| 171 | { |
| 172 | auto treeObj = ObjectManager::get<TreeObject>(self.rowHover); |
| 173 | if (treeObj->colours != 0) |
| 174 | { |
| 175 | auto bit = Numerics::bitScanReverse(treeObj->colours); |
| 176 | auto colour = bit == -1 ? Colour::black : static_cast<Colour>(bit); |
| 177 | _treeColour = colour; |
| 178 | } |
| 179 | } |
| 180 | } |
| 181 | |
| 182 | // 0x004BC4B7 |
| 183 | static void updateActiveThumb(Window& self) |
no test coverage detected