Menu

Commit [r11924]  Maximize  Restore  History

Added MENU .. ATTRIBUTES(NORMAL="...", HIGHLIGHT="...")

where NORMAL and HIGHTLIGHT specify the attributes as strings for the normal and highlighted menu options.
Eg.

main
menu "Select" attributes(normal="BLUE", highlight="GREEN,REVERSE")
command "Yes"
message "Yes"
command "No"
message "No"
command "Exit"
exit menu
end menu
end main

mikeaubury 2010-12-11

changed /aubit4glsrc/trunk/lib/libui/ui_curses/curslib.c
changed /aubit4glsrc/trunk/lib/libui/ui_curses/generic_ui.c
/aubit4glsrc/trunk/lib/libui/ui_curses/curslib.c Diff Switch to side-by-side view
Loading...
/aubit4glsrc/trunk/lib/libui/ui_curses/generic_ui.c Diff Switch to side-by-side view
Loading...