mirror of
https://github.com/dyne/FreeJ.git
synced 2026-06-16 12:59:33 +02:00
fix python test.
This commit is contained in:
@@ -7,10 +7,14 @@ import sys
|
||||
|
||||
# init context
|
||||
cx = freej.Context()
|
||||
cx.init(400,300,0,0)
|
||||
cx.init()
|
||||
#cx.init(400,300,0,0)
|
||||
scr = freej.SdlScreen( 400, 300)
|
||||
cx.add_screen(scr)
|
||||
cx.config_check("keyboard.js")
|
||||
cx.plugger.refresh(cx)
|
||||
|
||||
|
||||
# add a layer
|
||||
# lay = freej.create_layer(cx,sys.argv[1])
|
||||
lay = cx.open(sys.argv[1])
|
||||
|
||||
Reference in New Issue
Block a user