Search found 254 matches

by daves
Sun Aug 03, 2008 11:59
Forum: Help
Topic: How to create a new imageset?
Replies: 6
Views: 4490

Yes you can. You dont need the looknfeel line. This was just a quick example I grabbed.
by daves
Sun Aug 03, 2008 11:48
Forum: Help
Topic: How to create a new imageset?
Replies: 6
Views: 4490

I create imagesets dynamically in a couple of ways (the first of these is the one that seems to be pertinent to you - the key is to create a scheme file and then load this scheme file). Scenario 1: The first way is to define a scheme file and to load it as follows: void Troupe::loadTargetIconScheme&...
by daves
Sun Aug 03, 2008 11:30
Forum: Help
Topic: Destroying Custom Windows
Replies: 7
Views: 3889

Do you build CEGUI from code? Do you know which object is being accessed at the time of the access violation? Have you subscribed any event handlers to your window? If so you might try to hold on to the connection that is returned by the subscribe and disconnect the connection prior to window destru...
by daves
Sat Aug 02, 2008 18:03
Forum: Help
Topic: [WORK-AROUND FOUND] Crash on Shutdown .. SubscriberSlots ..
Replies: 8
Views: 4341

With regards to the logging of the window object addresses, I'd actually not forgotten about this (amazingly), CE. Doesn't amaze me. Your quite attentive. Edit: I've added this on mantis so it's now an 'official' feature request - http://www.cegui.org.uk/mantis/view.php?id=224 CE. Thats awesome. Th...
by daves
Sat Aug 02, 2008 14:30
Forum: Help
Topic: [WORK-AROUND FOUND] Crash on Shutdown .. SubscriberSlots ..
Replies: 8
Views: 4341

By the way, I mentioned once that printing the pointer to a newly created CEGUI window to the CEGUI.log is invaluable. Without the following modification to CEGUI::WindowManager I would never have been able to isolate this issue to a specific cegui window. Window* newWindow = factory->createWindow&#...
by daves
Sat Aug 02, 2008 13:51
Forum: Help
Topic: [WORK-AROUND FOUND] Crash on Shutdown .. SubscriberSlots ..
Replies: 8
Views: 4341

Hmm. I just noticed that my label is not defined as a DEFAULTWINDOW (which it should be) when I posted that code. Let me post some of the particulars to the scheme file.. (while I compile a tweak to my code). <FalagardMapping WindowType="SVTLook/DialogItemLabel" TargetType="DefaultWin...
by daves
Sat Aug 02, 2008 13:40
Forum: Help
Topic: [WORK-AROUND FOUND] Crash on Shutdown .. SubscriberSlots ..
Replies: 8
Views: 4341

I'll post the particulars of both scenarios. Keep in mind that my "cegui usage environment" is fairly complex. I use cegui for a LOT of our application. It has been at the root of many of the features we have developed. There is a lot of dynamic creation/destruction of windows, registratio...
by daves
Fri Aug 01, 2008 07:37
Forum: Help
Topic: [WORK-AROUND FOUND] Crash on Shutdown .. SubscriberSlots ..
Replies: 8
Views: 4341

I have a new clue. If I disconnect the connection just prior to destroying this window (on shutdown) then I no longer crash. What would cause this? Typically I do not have to disconnect. This just happens naturally. Well, I just found another widget that seems to have the same issue. I applied the s...
by daves
Thu Jul 31, 2008 20:30
Forum: Help
Topic: [WORK-AROUND FOUND] Crash on Shutdown .. SubscriberSlots ..
Replies: 8
Views: 4341

[WORK-AROUND FOUND] Crash on Shutdown .. SubscriberSlots ..

I have a shutdown issue that I'm trying to resolve. A particular widget subscribes to mouse clicks using the following call: mImgWindow->subscribeEvent(CEGUI::Window::EventMouseClick, CEGUI::Event::Subscriber(&DisplayedImage::handleMouseClick, this)); When the CEGUI is cleaning u...
by daves
Thu Jul 24, 2008 22:30
Forum: Offtopic Discussion
Topic: The State of CEGUI
Replies: 9
Views: 6450

Re: The State of CEGUI

CrazyEddie wrote: Basically, having CEGUI depend on parts of boost is one thing, but having user / client code inherit that dependency due to those parts being present in the public interface was/is unacceptable.

Makes sense.
by daves
Thu Jul 24, 2008 12:38
Forum: Offtopic Discussion
Topic: The State of CEGUI
Replies: 9
Views: 6450

Re: The State of CEGUI

2) Are animated buttons/graphics possible without hacks? Depends on your definition of hack, I suppose. There is still not much in the way of what you might call "integrated" animation support. CE. I also like animated windows (motion, fading, sizing, flashing), i've created my own animat...
by daves
Thu Jul 24, 2008 10:08
Forum: Help
Topic: image stretching [SOLVED.]
Replies: 10
Views: 7993

Wow. Its simply amazing to me. The solution to such problems is always so easy, and yet the getting there seems so hard. CE you hit the nail on the head yet again. Let me see if I can pull out my 200th hand so that I can update the count of times that the you've whacked the nail; I use very crude ca...
by daves
Thu Jul 24, 2008 09:39
Forum: Help
Topic: image stretching [SOLVED.]
Replies: 10
Views: 7993

Ah, so this truncation is expected. I read that before, and did not really understand it (sorry for being thick!!). I'll think about this and see if I can change my approach. So called "red-herrings" never bother me, they get me thinking about all the kinds of things that I should be think...
by daves
Thu Jul 24, 2008 06:01
Forum: Help
Topic: How can I do this?
Replies: 4
Views: 1976

Re: How can I do this?

Hi... I need to do this http://img521.imageshack.us/img521/4894/36893875ig2.jpg Instead of... http://img521.imageshack.us/img521/13/67587955lb8.jpg Any ideas? I've changed some data in the looknfeel XML but is still on top the Windows instead of the left. Well I think your in the right place if you...
by daves
Thu Jul 24, 2008 04:58
Forum: Help
Topic: Spinner Increment Change
Replies: 2
Views: 2236

The method to call in order to mute events: w->setMutedState( true ); w is any cegui window. Just remember that this will mute ALL events on that window. so you'll want to change the value (e.g. initialize it), and then immediatelly call the method again and pass it false to disable the mute...

Go to advanced search