[syslinux] Menu Position in 2.10-pre3

ganapathy murali krishnan gmurali at cs.uchicago.edu
Wed May 19 13:07:17 PDT 2004


It was decided that instead of having a handler for the menu positions, 
you can set the position of each menu using
set_menu_pos(row,col). It sets the position of the "current" menu. See 
complex.c for an example.

csprint now takes an additional argument (the attribute with which to 
write).

- Murali

Aaron McSorley wrote:

>What happened to the menupos handler?
>
>~/syslinux-2.10-pre3/menu> make 
>gcc -m32 -funsigned-char -g -W -Wall -march=i386 -falign-functions=0 -falign-jumps=0 -falign-loops=0 -Os -MMD -S -o mainmenu.s mainmenu.c
>mainmenu.c: In function `menupos_handler':
>mainmenu.c:24: warning: unused parameter `par_tl'
>mainmenu.c:24: warning: unused parameter `menu_width'
>mainmenu.c:25: warning: unused parameter `child_index'
>mainmenu.c: In function `menumain':
>mainmenu.c:75: error: too many arguments to function `reg_handler'
>mainmenu.c:160: warning: passing arg 5 of `add_item' makes integer from pointer without a cast
>mainmenu.c:172: warning: passing arg 5 of `add_item' makes integer from pointer without a cast
>mainmenu.c:173: warning: passing arg 5 of `add_item' makes integer from pointer without a cast
>mainmenu.c:212: error: too few arguments to function `csprint'
>mainmenu.c:215: error: too few arguments to function `csprint'
>make: *** [mainmenu.s] Error 1
>
>
>
>_______________________________________________
>SYSLINUX mailing list
>Submissions to SYSLINUX at zytor.com
>Unsubscribe or set options at:
>http://www.zytor.com/mailman/listinfo/syslinux
>Please do not send private replies to mailing list traffic.
>
>
>  
>





More information about the Syslinux mailing list