Showing image from file

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

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:

Showing image from file

Postby Levia » Thu May 25, 2006 16:15

Hey

I was wondering if it is possible to load a image from file, and then show it somewhere on screen. Ive seen methods using imageset files, but I dont want to use those. Is there someway to get this done?
Thanks

Levia

Rackle
CEGUI Team (Retired)
Posts: 534
Joined: Mon Jan 16, 2006 11:59
Location: Montréal

Postby Rackle » Thu May 25, 2006 17:01

You could try a static image. Look at Widget Galore for an example. It uses a .layout file to position and dimension the StaticImage widget but you could just as easily do that with code.

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 » Thu May 25, 2006 17:30

I have tried and it is not working. I have an old version of CEGUI, and I cannot update for a while. The function doesnt exist in this version.


Return to “Help”

Who is online

Users browsing this forum: No registered users and 19 guests