Search found 11 matches

by Rayoom
Thu Sep 08, 2005 23:58
Forum: Modifications / Integrations / Customisations
Topic: Image stretch over button?
Replies: 12
Views: 5362

Re: Image stretch over button?

It's in a file all its own.
by Rayoom
Mon Sep 05, 2005 20:05
Forum: Modifications / Integrations / Customisations
Topic: Image stretch over button?
Replies: 12
Views: 5362

Re: Image stretch over button?

This is very strange... The image will stretch fine horizontally IF the image's width is greater than its height. For example, I have an image that is 128x128, and it does not stretch across the button. If I change that image to 129x128, it stretches just as I would expect...I've tried a few... 140x...
by Rayoom
Mon Sep 05, 2005 18:52
Forum: Modifications / Integrations / Customisations
Topic: Image stretch over button?
Replies: 12
Views: 5362

Re: Image stretch over button?

I've got it working now. Thanks for all the help CE, much appreciated :hammer:.
by Rayoom
Sun Sep 04, 2005 18:59
Forum: Modifications / Integrations / Customisations
Topic: Image stretch over button?
Replies: 12
Views: 5362

Re: Image stretch over button?

In the ChangeLog file it says it is version 0.4.0. If I could get this to work it would make my life much easier. I'm trying to hack around the problem right now and I'm running into more problems at every turn. Right now the MouseEnters event is only being fired when the mouse is over the left half...
by Rayoom
Sat Sep 03, 2005 15:20
Forum: Modifications / Integrations / Customisations
Topic: Image stretch over button?
Replies: 12
Views: 5362

Re: Image stretch over button?

Hey Eddie, thanks for the reply, but that function doesn't do anything :(. In the docs is says this about setAutoSize Set whether to auto re-size custom image areas when the button is sized. "When the button is sized." By the time I call this function hasn't the image already been sized? D...
by Rayoom
Fri Sep 02, 2005 23:39
Forum: Modifications / Integrations / Customisations
Topic: Image stretch over button?
Replies: 12
Views: 5362

Image stretch over button?

I've got a button, and an image. The button is about 2x the size of the image, but if I try to make the button smaller, the image shrinks. So I tried to make the image stretch over the entire button, but I can't get it to work. Here is how I setup the xml: <Window Type="TaharezLook/Button"...
by Rayoom
Thu Jul 14, 2005 01:19
Forum: Modifications / Integrations / Customisations
Topic: Events are being fired WAY too much
Replies: 2
Views: 1629

Re: Events are being fired WAY too much

Thanks, that's pretty much what I was doing.

Each layout has it's own state and each state has an enter and exit function, I was doing all my Subscribing in the Enter() function, whoops :).

Thank you for the help.
by Rayoom
Wed Jul 13, 2005 22:40
Forum: Modifications / Integrations / Customisations
Topic: Events are being fired WAY too much
Replies: 2
Views: 1629

Events are being fired WAY too much

I have two pages/screens, and two buttons to flip back and forth between them (the two layouts). I am using subscribeEvent( CEGUI::PushButton::EventClicked,CEGUI::Event::Subscriber( &CLoginState::handleSkipLogin,this)); Each time I go from the first page to the second, this event...
by Rayoom
Wed Jul 13, 2005 21:16
Forum: Modifications / Integrations / Customisations
Topic: Accepting input into editbox...
Replies: 3
Views: 2212

Re: Accepting input into editbox...

Thank you lindquist for the quick response. Since I'm not familair with regular expressions (but I can figure out what 0-9a-zA-z are ;)) what is the '*' for?
by Rayoom
Wed Jul 13, 2005 20:55
Forum: Modifications / Integrations / Customisations
Topic: Accepting input into editbox...
Replies: 3
Views: 2212

Accepting input into editbox...

I would like the user to only be able to enter alphanumeric characters into my editbox.

There is a function called Editbox::setValidationString(), I'm not sure exactly what this does, but perhaps it is what I am looking for?
by Rayoom
Sat Apr 30, 2005 04:11
Forum: Modifications / Integrations / Customisations
Topic: How to properly load and destroy layouts...?
Replies: 1
Views: 2247

How to properly load and destroy layouts...?

I've been using CEGUI for a few days now...so far I love it. I ran into a problem with the layouts. I have 3 layouts and I'm trying to switch between them when the user clicks on certain buttons, and I'm getting crashes which I believe are caused because events are still being generated (or proccess...

Go to advanced search