how to put background image in StaticText?

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

phoenixy
Just popping in
Just popping in
Posts: 14
Joined: Tue Feb 27, 2007 01:18

how to put background image in StaticText?

Postby phoenixy » Sat Mar 17, 2007 04:31

Hi, all..

I'm trying to upgrade CEGUI from 0.4.x to 0.5.0b..
and it looks like there's no more background image things in StaticText.

There was a method called setBackgroundImage in 0.4.x, but now it's gone, and I can't even set the property using setProperty.

Does anybody know how to do this?

thanks in advance~

User avatar
Levia
Quite a regular
Quite a regular
Posts: 83
Joined: Mon May 22, 2006 18:25
Location: Bergen op zoom, The Netherlands
Contact:

Postby Levia » Sat Mar 17, 2007 07:32

Well...you should be able to do it with setProperty I suppose, but Im not sure because I dont use 0.5.

Code: Select all

window->setProperty("BackgroundImage", "image:ImageName");

Or something like that. Sorry :)
Image
Image

phoenixy
Just popping in
Just popping in
Posts: 14
Joined: Tue Feb 27, 2007 01:18

Postby phoenixy » Mon Mar 19, 2007 19:21

Levia wrote:Well...you should be able to do it with setProperty I suppose, but Im not sure because I dont use 0.5.

Code: Select all

window->setProperty("BackgroundImage", "image:ImageName");

Or something like that. Sorry :)


I hope I should be able to do it using setProperty,

but there's no such property in StaticText of 0.5..


Return to “Help”

Who is online

Users browsing this forum: No registered users and 13 guests