mirror of
https://github.com/dyne/FreeJ.git
synced 2026-06-16 12:59:33 +02:00
Factory is now used also for Screens
Screen API changed a bit: now size args are taken from init(w,h) screen implementations should provide an _init(w,h) as well constructors are without arguments (as in the rest of freej)
This commit is contained in:
@@ -9,7 +9,8 @@ import sys
|
||||
cx = freej.Context()
|
||||
cx.init()
|
||||
#cx.init(400,300,0,0)
|
||||
scr = freej.SdlScreen( 400, 300)
|
||||
scr = freej.SdlScreen()
|
||||
scr.init( 400, 300 );
|
||||
cx.add_screen(scr)
|
||||
cx.config_check("keyboard.js")
|
||||
cx.plugger.refresh(cx)
|
||||
|
||||
Reference in New Issue
Block a user