| 1254 | } |
| 1255 | |
| 1256 | void MyPingPongComplete2(dmGui::HScene scene, |
| 1257 | dmGui::HNode node, |
| 1258 | bool finished, |
| 1259 | void* userdata1, |
| 1260 | void* userdata2) |
| 1261 | { |
| 1262 | ++PingPongCount; |
| 1263 | dmhash_t property = dmGui::GetPropertyHash(dmGui::PROPERTY_POSITION); |
| 1264 | dmGui::AnimateNodeHash(scene, node, property, Vector4(1,0,0,0), dmEasing::Curve(dmEasing::TYPE_LINEAR), dmGui::PLAYBACK_ONCE_FORWARD, 1.0f, 0, &MyPingPongComplete1, (void*)(uintptr_t) node, 0); |
| 1265 | } |
| 1266 | |
| 1267 | TEST_F(dmGuiTest, PingPong) |
| 1268 | { |
nothing calls this directly
no test coverage detected