clickable link widget
Posted: Thu May 31, 2007 20:28
Hi,
I'm trying to make an html style link widget. I'm wondering
what a good strategy would be for me to do this.
At this point i'm interested in just getting it rendered correctly
(no interaction).
The main problem is the underline. I made a custom window
with a StaticText child (the text), had it colored and thats fine.
Can i just draw a colored line in my Window? How do i do something
like that? draw on a texture, etc?
Should i just add another child StaticText with just '_' in it, and figure
out how many underline chars it should be (probably won't work
with non monospaced fonts)
any ideas?
thanks
I'm trying to make an html style link widget. I'm wondering
what a good strategy would be for me to do this.
At this point i'm interested in just getting it rendered correctly
(no interaction).
The main problem is the underline. I made a custom window
with a StaticText child (the text), had it colored and thats fine.
Can i just draw a colored line in my Window? How do i do something
like that? draw on a texture, etc?
Should i just add another child StaticText with just '_' in it, and figure
out how many underline chars it should be (probably won't work
with non monospaced fonts)
any ideas?
thanks