Hi !
I want to put some nice statistics in my GUI, represented by graphical curves, lines, bars, or whatever.
Are you guys thinking in something right now in CEGUI that I should know ? Something to help me doing this ?
The ideal would be anything that let me directly draw lines, in imageset images for example. So far I found nothing, but I'm sure there is something somewhere, right ?
Drawing some statistics nice graphics
Moderators: CEGUI MVP, CEGUI Team
- vinny_the_true
- Just popping in
- Posts: 7
- Joined: Wed Aug 10, 2005 10:11
- lindquist
- CEGUI Team (Retired)
- Posts: 770
- Joined: Mon Jan 24, 2005 21:20
- Location: Copenhagen, Denmark
CEGUI does'nt provide this kind of rendering functions, but a Imageset is just a texture, and a image is just some part of this texture.
So to do this you'll need to render your statistics to a texture. The CEGUI renderer you use is providing a specialised CEGUI::Texture to match your "platform". By casting the Imageset texture pointer to this you should be able to extract the texture id or whatever it's called in your case.
If you update the texture, you should request a redraw.
HTH
So to do this you'll need to render your statistics to a texture. The CEGUI renderer you use is providing a specialised CEGUI::Texture to match your "platform". By casting the Imageset texture pointer to this you should be able to extract the texture id or whatever it's called in your case.
If you update the texture, you should request a redraw.
HTH
- vinny_the_true
- Just popping in
- Posts: 7
- Joined: Wed Aug 10, 2005 10:11
Return to “Modifications / Integrations / Customisations”
Who is online
Users browsing this forum: No registered users and 1 guest