Search found 30 matches

by thumperj
Mon Aug 01, 2005 16:21
Forum: Modifications / Integrations / Customisations
Topic: How can i restore device lost when using CEGUI and OgreD3D9R
Replies: 1
Views: 2271

Re: How can i restore device lost when using CEGUI and OgreD

I am actively working this issue, too. We have a major product release that is being held up by this problem. As Sinbad has noted, this problem is specific to CEGUI. The Ogre examples do not exhibit this behavior so something about mixing CEGUI and Ogre together makes the cocktail unstable. Here's a...
by thumperj
Wed Feb 23, 2005 15:52
Forum: Modifications / Integrations / Customisations
Topic: unsubscribing for events
Replies: 1
Views: 1925

unsubscribing for events

What is the proper way to unsubscribe for an event after I have subscribed?

I'd like to disconnect the mechanism given a certain circumstance but I can't find a clean way to do that.

Thanks,
Chris
by thumperj
Sun Feb 13, 2005 21:12
Forum: Modifications / Integrations / Customisations
Topic: using RenderableImage
Replies: 2
Views: 2757

Re: using RenderableImage

<slapping forehead>DOH!

:oops: That's exactly what it was. Geeesh....

Thanks very much,
Chris
by thumperj
Sun Feb 13, 2005 20:31
Forum: Modifications / Integrations / Customisations
Topic: using RenderableImage
Replies: 2
Views: 2757

using RenderableImage

Ok, I'm going a little nutty here.... I want to use RenderableImage instead of Image for some things but am missing something because I can't seem to get the image to appear on screen. In my constructor of the containing object I have: Imageset* iset = ImagesetManager::getSingleton().getImageset( Im...
by thumperj
Sun Feb 13, 2005 15:47
Forum: Modifications / Integrations / Customisations
Topic: Locking mouse image for drag between windows
Replies: 19
Views: 11256

Re: Locking mouse image for drag between windows

Those changes would be useful to me, actually. I'm dragging an item out of a list box, a StaticImage, but I'll bet I can make it work as long as the Window class has a way to report if it is drag aware. This will also give me an excuse to get back to the HEAD. I'd like to get your new timer stuff. I...
by thumperj
Sat Feb 12, 2005 20:55
Forum: Modifications / Integrations / Customisations
Topic: Locking mouse image for drag between windows
Replies: 19
Views: 11256

Re: Locking mouse image for drag between windows

Yeah, that's about how I've done it so far: When I start a drag in the first window I captureInput and also fire an event EventDragStarted. Then, when the mouse button comes up I releaseInput and fire a EventDragEnded event. The problem comes in when I want to be able to detect what window I'm over ...
by thumperj
Sat Feb 12, 2005 20:15
Forum: Modifications / Integrations / Customisations
Topic: Locking mouse image for drag between windows
Replies: 19
Views: 11256

Locking mouse image for drag between windows

I'm implementing some dragging code that lets the user drag something from one window to other places on the screen. However, since each window sets it's own image when the mouse is over it, when I change the mouse to be my drag image it is always replaced when I move around on the screen. I don't w...
by thumperj
Wed Feb 09, 2005 16:50
Forum: Modifications / Integrations / Customisations
Topic: Using an image as a full screen backdrop
Replies: 2
Views: 2672

Re: Using an image as a full screen backdrop

Perfect! That's the nugget I needed! As always, thanks!

:D

cheers,
Chris
by thumperj
Tue Feb 08, 2005 23:03
Forum: Modifications / Integrations / Customisations
Topic: Using an image as a full screen backdrop
Replies: 2
Views: 2672

Using an image as a full screen backdrop

Hi, guys- I'm using a 16x9 image for a fixed backdrop for a full screen window. I set it by: Imageset* iset = ImagesetManager::getSingleton().getImageset( "BackgroundLook" ); d_clientbrush.setImage( &iset->getImage( "Backdrop" ) ); d_clientbrush.setPosition( Point( 0, 0 ) ); ...
by thumperj
Wed Dec 01, 2004 21:37
Forum: Bug Reports, Suggestions, Feature Requests
Topic: A minor enhancement to help laying out rows/columns of text
Replies: 8
Views: 7964

A minor enhancement to help laying out rows/columns of text

Hey, spannerman-

How are you triggering the pop-ups based off a delay? In other words, how are you counting time passing with nothing happening in the system?

Thanks for the hint,
Chris
by thumperj
Mon Nov 29, 2004 16:03
Forum: Modifications / Integrations / Customisations
Topic: Deleting windows on button click
Replies: 7
Views: 4526

Deleting windows on button click

Yeah this is a bit of a pain. The crash is due the the object being deleted while the event system is still iterating over the subscribed listeners. Presently, maintaining a window "dead list" is about the only way to go. I've given this a little thought and I might integrate this approac...
by thumperj
Thu Nov 11, 2004 15:50
Forum: Modifications / Integrations / Customisations
Topic: CEGUI::Texture -> CEGUI::Image
Replies: 1
Views: 1660

CEGUI::Texture -> CEGUI::Image

1. Make an imageset based off your texture like so: Imageset* pImageSet = ImagesetManager::getSingleton().createImageset( strYourImageSetName, pYourTexture ); 2. Define an image in your image set like so: pImageSet-&gt;defineImage( strNameOfNewImage, Point( 0.0f, 0.0f ...
by thumperj
Wed Nov 03, 2004 20:07
Forum: Bug Reports, Suggestions, Feature Requests
Topic: A minor enhancement to help laying out rows/columns of text
Replies: 8
Views: 7964

A minor enhancement to help laying out rows/columns of text

We will be releasing the source code when the editor is done, but if you are interested I can show you the code of how I implemented it if you like. If it's not too much trouble..... :) I'm am gearing up to be doing a lot of coding and I'm trying to setup things so that it is as easy (and bug-free)...
by thumperj
Fri Oct 15, 2004 03:23
Forum: CEGUI Library Development Discussion
Topic: bug in String::grow...
Replies: 5
Views: 6982

bug in String::grow...

I'm with you on that. Especially the "I go crazy with them in my code" part. I use the heck out of asserts. They can be a real time saver. Early and often is the best time to catch bugs, especialy subtle ones. The best bug in the world is the one that explodes like a nuclear bomb so you ca...

Go to advanced search