text over image

For help with anything that CEGUI doesn't offer straight out-of-the-box, e.g.:
- Implementation of new features, such as new Core classes, widgets, WindowRenderers, etc. ...
- Modification of any existing features for specific purposes
- Integration of CEGUI in new engines or frameworks and writing of new plugins (Renderer, Parser, ...) or modules

Moderators: CEGUI MVP, CEGUI Team

User avatar
Sachin
Just popping in
Just popping in
Posts: 20
Joined: Wed Jul 06, 2005 09:42

text over image

Postby Sachin » Thu Sep 08, 2005 06:46

Well i want to achieve the follwing effect

now for this my idea is to use static image as the background. but the problem is that how do i display the formatted text over it. the text keeps changing so i cannt just put the text in the texture file either.

can anyone suggest some approach that will let me achieve this effect...any help will be highly appreciated.

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Re: text over image

Postby CrazyEddie » Thu Sep 08, 2005 08:26

Hi,

The best way is simply to add some StaticText widgets to the StaticImage - one for each field in the table.

If you're using xml skinning, you can also define a generic widget type that has whichever base imagery you want and multiple additinal text properties for the text output.


Return to “Modifications / Integrations / Customisations”

Who is online

Users browsing this forum: No registered users and 5 guests