CE:
Thank you to the answer before.
Now I want to achieve in the list box add pictures and words within a Item.
How to do?
Hope to obtain your help!
Add pictures and words
Moderators: CEGUI MVP, CEGUI Team
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Re: Add pictures and words
I'm not sure how this question differs from the previous time you asked (viewtopic.php?t=4405).
Or are you now talking about the ListboxItem based Listbox as opposed to the ItemListbox? If this is the case, then you might be able to use the formatting tags if you're using 0.7.x, if you're using 0.6.x or earlier then you'd need to create a custom ListboxItem class.
CE.
Or are you now talking about the ListboxItem based Listbox as opposed to the ItemListbox? If this is the case, then you might be able to use the formatting tags if you're using 0.7.x, if you're using 0.6.x or earlier then you'd need to create a custom ListboxItem class.
CE.
Useful Links: Forum Guidelines | Documentation | Tutorials | HOWTO | Videos | Donate to CEGUI | CEGUI Twitter
- scriptkid
- Home away from home
- Posts: 1178
- Joined: Wed Jan 12, 2005 12:06
- Location: The Hague, The Netherlands
- Contact:
Re: Add pictures and words
Indeed, like this one: http://www.cegui.org.uk/wiki/index.php/ ... istboxItem
Just replace 'checkbox' with 'image'
Just replace 'checkbox' with 'image'
Check out my released snake game using Cegui!
-
- Just popping in
- Posts: 6
- Joined: Wed Oct 14, 2009 10:21
Re: Add pictures and words
Thanks to reply!
The last is simply add pictures,
Now is to achieve images and text in the same Item.
The last is simply add pictures,
Now is to achieve images and text in the same Item.
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Re: Add pictures and words
If you're using 0.7.x you can embed images using the control tags being discussed elsewhere, for example, set the item text to:
If you're not using 0.7.x, then you have to create your own solution!!
CE.
Code: Select all
"This is an item [image='set:TaharezLook image:MouseArrow'] with an embedded image"
If you're not using 0.7.x, then you have to create your own solution!!
CE.
Useful Links: Forum Guidelines | Documentation | Tutorials | HOWTO | Videos | Donate to CEGUI | CEGUI Twitter
-
- Just popping in
- Posts: 6
- Joined: Wed Oct 14, 2009 10:21
Re: Add pictures and words
Thanks!
I tried to do it.
I tried to do it.
Return to “Modifications / Integrations / Customisations”
Who is online
Users browsing this forum: No registered users and 10 guests