Customized Image Control

Discussion regarding the development of CEGUI itself - as opposed to questions about CEGUI usage that should be in the help forums.

Moderators: CEGUI MVP, CEGUI Team

User avatar
parul
Not too shy to talk
Not too shy to talk
Posts: 22
Joined: Mon Feb 14, 2005 05:11

Customized Image Control

Postby parul » Wed Jun 01, 2005 14:21

Hi All,

I need to create a customized Image Control, which is drive from Static Image.
I am able to display my image at run time and display a single line border around it.

The issue is in change the border size at run time as displayed in the snap shots attached with the mail.


I am not able to understand how to achieve the functionality. Can any body please help me in resolving the issue?


Thanks,
Parul

User avatar
lindquist
CEGUI Team (Retired)
Posts: 770
Joined: Mon Jan 24, 2005 21:20
Location: Copenhagen, Denmark

Re: Customized Image Control

Postby lindquist » Wed Jun 01, 2005 14:25

Let me just get this right...

You need to stretch the image to fill out the static image, and always leave a 1px border around it?

User avatar
ritz
Quite a regular
Quite a regular
Posts: 49
Joined: Wed Jan 12, 2005 12:06

Re: Customized Image Control

Postby ritz » Thu Jun 02, 2005 09:53

Hi,

We need to create HTML Viewer Widget supporting drawing of IMG tag.

Img tag also supports border attribute. Border thickness can be set using this attrib.

We are able to draw image and one pixel border around it. where as i could not understood how to draw border with different sizes.

Thanks,
Ritz


Return to “CEGUI Library Development Discussion”

Who is online

Users browsing this forum: No registered users and 7 guests