Search found 813 matches

by Jamarr
Fri Jul 22, 2011 19:03
Forum: Help
Topic: MenuItem Fail with "new" Keyword
Replies: 1
Views: 2055

Re: MenuItem Fail with "new" Keyword

Because WindowManager::createWindow takes a TargetType and MenuItem::MenuItem takes a WindowType . These are not the same thing and these two methods are not equivalent. The WindowManager uses the TargetType to look up the FalagardType, which it uses to assign the appropriate Renderer and LookNFeel ...
by Jamarr
Fri Jul 22, 2011 16:27
Forum: Modifications / Integrations / Customisations
Topic: Crash when unregistering and reloading imagesets
Replies: 10
Views: 7243

Re: Crash when unregistering and reloading imagesets

Yeah, I can tell you for sure that Imageset::undefineAllImages is not sufficient as it only undefines the (image-name, area) pairs associated with the imageset; the underlying texture is still preserved, and the ImagesetManager still contains the (imageset-name, object-pointer) reference. The approa...
by Jamarr
Fri Jul 22, 2011 15:28
Forum: Modifications / Integrations / Customisations
Topic: modifying shape
Replies: 3
Views: 5156

Re: modifying shape

This is why you need to provide all information up front, so as not to waste anyone's time. You should have linked that image to begin with; the only thing you said was I wish to create some circular progress bar . Anyway, I do not think you can do this out of the box with CEGUI and/or the CEGUI Ani...
by Jamarr
Fri Jul 22, 2011 14:46
Forum: Modifications / Integrations / Customisations
Topic: modifying shape
Replies: 3
Views: 5156

Re: modifying shape

http://www.cegui.org.uk/phpBB2/viewtopic.php?f=6&t=3358#p15226 ... ⋅ Before you consider posting, search for similar topics that may already contain a solution. ... Please make sure you have read and understand the Forum Usage Guidelines linked above. In particular, please make sure t...
by Jamarr
Thu Jul 21, 2011 20:33
Forum: Modifications / Integrations / Customisations
Topic: Crash when unregistering and reloading imagesets
Replies: 10
Views: 7243

Re: Crash when unregistering and reloading imagesets

I see. I misunderstood your post; I should have read the title lol. Anyway, that does seem to be an odd crash. Can you post your CEGUI.log so we know what version, compiler, etc. you are using and perhaps there is some error message in the log? And could you also post some relevant chunks of code so...
by Jamarr
Thu Jul 21, 2011 18:24
Forum: Modifications / Integrations / Customisations
Topic: Crash when unregistering and reloading imagesets
Replies: 10
Views: 7243

Re: Crash when unregistering and reloading imagesets

It sounds like you just want to update the underlying texture being used by the Imageset? You can do so using CEGUI::Imageset::getTexture . Then you merely update the underlying texture (by copying over the texture data you want) and then all windows using that imageset will be automatically updated...
by Jamarr
Thu Jul 21, 2011 15:30
Forum: Help
Topic: Misterious crash under windows
Replies: 2
Views: 2302

Re: Misterious crash under windows

http://www.cegui.org.uk/phpBB2/viewtopic.php?f=6&t=3358 ... ⋅ Always post your CEGUI log (by default 'CEGUI.log' in the working directory). Even if you check the log and there are no obvious errors, posting the log can still be of use. ⋅ Post your system information, all err...
by Jamarr
Thu Jul 14, 2011 22:20
Forum: Help
Topic: lclick/rclick on a button
Replies: 3
Views: 2560

Re: lclick/rclick on a button

How can I tell inside the event handler if the widget received a left click or a mouse click? I need to implement different behaviours for each click in my buttons, but I havent found a clue about how to get that from EventArgs. ⋅ From a Forum Search: http://www.cegui.org.uk/phpBB2/viewto...
by Jamarr
Wed Jul 13, 2011 19:06
Forum: Help
Topic: [solved] pixmap font crash
Replies: 1
Views: 1429

Re: pixmap font crash

I do not think this can be answered without CE or Kulik actually getting into the code and testing this. You might try providing a minimal test-case (code, imagesets, layouts, etc.) for them to look at, but I believe they are both still very busy. Unfortunately, unless you hear from either of them, ...
by Jamarr
Wed Jul 13, 2011 19:00
Forum: Help
Topic: [SOLVED]ListBoxItem setText() problem
Replies: 2
Views: 1753

Re: ListBoxItem setText() problem

Did you try calling m_mclScore->handleUpdatedItemData() after your code finishes updating the item data?
by Jamarr
Wed Jul 13, 2011 18:47
Forum: Modifications / Integrations / Customisations
Topic: Clip a stretched image.
Replies: 5
Views: 5104

Re: Clip a stretched image.

It is difficult to answer your question since you provided so little information. No screen shots, no layout-xml, no code, no log / version info, no mention of the widgets you are using, etc. So until you provide more information the only thing I can really suggest is to look into the ClippedByParen...
by Jamarr
Wed Jul 13, 2011 18:41
Forum: Modifications / Integrations / Customisations
Topic: XORing textures...
Replies: 1
Views: 3060

Re: XORing textures...

There is definitely a way to do this. Typically people will use a RTT (Render To Texture) technique for things like this; and it sounds like you will also want to apply a Masking technique when painting the texture. CEGUI uses Imagesets for imagery, and Imagesets are wrappers for the underlying rend...
by Jamarr
Tue Jul 12, 2011 22:40
Forum: Help
Topic: Dependancies
Replies: 2
Views: 1574

Re: Dependancies

Hey, this might be a stupid question but does crazy eddies GUI depend on the ogre framework? No. I believe you can actually configure / compile CEGUI without any external dependencies although that would be mostly pointless; the point is you can configure the dependencies to your needs and/or imple...
by Jamarr
Tue Jul 12, 2011 17:22
Forum: Help
Topic: imageset loads differntly on different computers
Replies: 9
Views: 3395

Re: imageset loads differntly on different computers

Kulik wrote:I myself wouldn't rely on 4096, the most I would rely on is 2048 I think...


Seconded ;)
by Jamarr
Tue Jul 12, 2011 17:20
Forum: Help
Topic: 0.5 != 0.5000000000 ??? why ??
Replies: 4
Views: 3215

Re: 0.5 != 0.5000000000 ??? why ??

i create a tab button and tab control without any problem, but when i resize it i do two value 0.5 and 0.500, but imagine what happen: if i use 0.5 i get very small size, in other hand i use 0.500 i get big size. I am pretty sure he is not talking about comparing two floats, despite the title of th...

Go to advanced search