New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

color helptext= does not work if before color normal= #163

Closed
steve6375 opened this Issue Dec 19, 2017 · 5 comments

Comments

Projects
None yet
2 participants
@steve6375

steve6375 commented Dec 19, 2017

Preview

In 2017-12-05, color normal is also setting helptext color..
menu.lst

color helptext=0x0001FF
color normal=0xFF0000
graphicsmode -1 800

title TEST\nHELP TEXT
root ()

causes helptext to be in same color as normal text!!!

but

color normal=0xFF0000
color helptext=0x0001FF

works OK

Please fix. Worked in previous versions of 0.4.6a and 0.4.5c

@steve6375 steve6375 changed the title from color helptext= does not work if before to color helptext= does not work if before color normal= Dec 19, 2017

@steve6375

This comment has been minimized.

Show comment
Hide comment
@steve6375

steve6375 Dec 20, 2017

not fixed ???

graphicsmode -1 800
setmenu --box x=3 y=3 w=40
color helptext=0x0001FF
color normal=0xFF0000

set L1="a" ;; set L2="b" ;; set L3="c" ;; set L4="d" ;; set L5="e" ;; set L6="f"

# clear strings buffer because only 16 allowed
setmenu --string=
# write string commands to string command buffer
setmenu --string=65=15=0xFFFF00=%L1%
setmenu --string=65=16=0xFFFF00=%L2%
setmenu --string=65=17=0xFFFF00=%L3%
setmenu --string=65=18=0xFFFF00=%L4%
setmenu --string=65=19=0xFFFF00=%L5%
setmenu --string=65=20=0xFFFF00=%L6%

# clear strings buffer because only 16 allowed
setmenu --string=
# write string commands to string command buffer
setmenu --string=66=15=0xFFFF00=%L1%
setmenu --string=66=16=0xFFFF00=%L2%
setmenu --string=66=17=0xFFFF00=%L3%
setmenu --string=66=18=0xFFFF00=%L4%

title test\nThis should be blue
root ()
boot

image

steve6375 commented Dec 20, 2017

not fixed ???

graphicsmode -1 800
setmenu --box x=3 y=3 w=40
color helptext=0x0001FF
color normal=0xFF0000

set L1="a" ;; set L2="b" ;; set L3="c" ;; set L4="d" ;; set L5="e" ;; set L6="f"

# clear strings buffer because only 16 allowed
setmenu --string=
# write string commands to string command buffer
setmenu --string=65=15=0xFFFF00=%L1%
setmenu --string=65=16=0xFFFF00=%L2%
setmenu --string=65=17=0xFFFF00=%L3%
setmenu --string=65=18=0xFFFF00=%L4%
setmenu --string=65=19=0xFFFF00=%L5%
setmenu --string=65=20=0xFFFF00=%L6%

# clear strings buffer because only 16 allowed
setmenu --string=
# write string commands to string command buffer
setmenu --string=66=15=0xFFFF00=%L1%
setmenu --string=66=16=0xFFFF00=%L2%
setmenu --string=66=17=0xFFFF00=%L3%
setmenu --string=66=18=0xFFFF00=%L4%

title test\nThis should be blue
root ()
boot

image

@steve6375

This comment has been minimized.

Show comment
Hide comment
@steve6375

steve6375 Dec 20, 2017

Need code adding for - if helptext_color not set, then helptext_color = normal_color ???

steve6375 commented Dec 20, 2017

Need code adding for - if helptext_color not set, then helptext_color = normal_color ???

@yaya2007

This comment has been minimized.

Show comment
Hide comment
@yaya2007

yaya2007 Dec 22, 2017

Collaborator

Have been amended

Collaborator

yaya2007 commented Dec 22, 2017

Have been amended

@steve6375

This comment has been minimized.

Show comment
Hide comment
@steve6375

steve6375 Dec 22, 2017

All testing OK - please release. Thanks!

steve6375 commented Dec 22, 2017

All testing OK - please release. Thanks!

@steve6375

This comment has been minimized.

Show comment
Hide comment
@steve6375

steve6375 commented Dec 23, 2017

Thanks!

@steve6375 steve6375 closed this Dec 23, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment