update tests: new scene API
This commit is contained in:
parent
f62362032e
commit
838da4571d
142 changed files with 616 additions and 601 deletions
|
|
@ -25,9 +25,9 @@ def take_screenshot_and_exit():
|
|||
|
||||
# Set up a simple scene
|
||||
print("Creating test scene...")
|
||||
mcrfpy.createScene("test")
|
||||
mcrfpy.setScene("test")
|
||||
ui = mcrfpy.sceneUI("test")
|
||||
test = mcrfpy.Scene("test")
|
||||
test.activate()
|
||||
ui = test.children
|
||||
|
||||
# Add visible content - a white frame on default background
|
||||
frame = mcrfpy.Frame(pos=(100, 100), size=(200, 200),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue