update tests: new scene API

This commit is contained in:
John McCardle 2026-01-03 10:59:52 -05:00
commit 838da4571d
142 changed files with 616 additions and 601 deletions

View file

@ -12,7 +12,7 @@ def test_nested_clipping(runtime):
print("Testing advanced UIFrame clipping with nested frames...")
# Create test scene
scene = mcrfpy.sceneUI("test")
scene = test.children
# Create outer frame with clipping enabled
outer = Frame(pos=(50, 50), size=(400, 300),
@ -94,8 +94,8 @@ def test_nested_clipping(runtime):
# Main execution
print("Creating advanced test scene...")
mcrfpy.createScene("test")
mcrfpy.setScene("test")
test = mcrfpy.Scene("test")
test.activate()
# Schedule the test
mcrfpy.setTimer("test_nested_clipping", test_nested_clipping, 100)