Am Dienstag, 20. September 2005 20:27 schrieb Tuomo Valkonen: > Works for me... Can you create a second statusbar on screen 1 while Ion > is running? (Mod1+F3, and type the essential parts of mod_statusbar.create > command in the query.) How about setting screen to 0? > Does ioncore.goto_nth_screen(1) go to screen 1?
Setting screen=0 in mod_statusbar.lua didn't made it for me.It still starts at screen 0.So no difference ... ioncore.goto_nth_screen(1) changes as expected to screen 1 and the same with (0) changes to the other screen.So far so good ... I tested 'mod_statusbar.create(WScreen)' (I hope that was right - i am new to ion and lua ...) with ion-3ds-20050728 and ion-3ds-20050820. Here the results: 20050728: statusbar on screen 1 as i want it. The execution of mod_statusbar.create(WScreen) on screen 0 gives me a second statusbar on screen 0 (sure with less meter than in mod_statusbar.lua) 20050820: statusbar is again on screen 0. Executing the lua call on screen 1 gives me the error "Screen already has an stdisp. Refusing to create a statusbar." I use Gentoo with Lua 5.0.2 and gcc-Version 3.3.5-20050130 (Gentoo Linux 3.3.5.20050130-r1, ssp-3.3.5.20050130-1, pie-8.7.7.1) Even that i use very moderate Compilerflags (i use Gentoo mainly because of the USE and package system), i tested to compile ion3 with -O2 and no further settings to be sure it can't be the settings. I don't know what this could be ... Grepping in both source folders didn't show me anything remarkable (i am no coder ...) Thanks a lot for your work and fast reply, Hans
