kconfig/lxdialog: refactor color support
Clean up and refactor color support. All color support are now
in util.c including color definitions.
In the process introduced a global variable named 'dlg' which is
used all over to set color - thats the reason why all files are changed.
Signed-off-by:
Sam Ravnborg <sam@ravnborg.org>
Showing
- scripts/kconfig/lxdialog/checklist.c 15 additions, 13 deletionsscripts/kconfig/lxdialog/checklist.c
- scripts/kconfig/lxdialog/colors.h 0 additions, 154 deletionsscripts/kconfig/lxdialog/colors.h
- scripts/kconfig/lxdialog/dialog.h 40 additions, 42 deletionsscripts/kconfig/lxdialog/dialog.h
- scripts/kconfig/lxdialog/inputbox.c 10 additions, 8 deletionsscripts/kconfig/lxdialog/inputbox.c
- scripts/kconfig/lxdialog/lxdialog.c 3 additions, 3 deletionsscripts/kconfig/lxdialog/lxdialog.c
- scripts/kconfig/lxdialog/menubox.c 15 additions, 13 deletionsscripts/kconfig/lxdialog/menubox.c
- scripts/kconfig/lxdialog/msgbox.c 5 additions, 4 deletionsscripts/kconfig/lxdialog/msgbox.c
- scripts/kconfig/lxdialog/textbox.c 10 additions, 9 deletionsscripts/kconfig/lxdialog/textbox.c
- scripts/kconfig/lxdialog/util.c 147 additions, 112 deletionsscripts/kconfig/lxdialog/util.c
- scripts/kconfig/lxdialog/yesno.c 5 additions, 4 deletionsscripts/kconfig/lxdialog/yesno.c
Loading
Please register or sign in to comment