Search found 38 matches

by Arcanor
Tue Feb 10, 2009 21:10
Forum: Help
Topic: createImagesetFromImageFile() image is blurry
Replies: 6
Views: 5070

Thanks CE, your suggestion worked. If I create all my images as powers of two (256x256, 1024x1024, etc.) they work fine, without distortion. Currently I'm using TOP and LEFT alignment, and just ignoring the rest of the imagesets created from file. This works fine, but seems wasteful of all the empty...
by Arcanor
Tue Feb 10, 2009 17:35
Forum: Help
Topic: createImagesetFromImageFile() image is blurry
Replies: 6
Views: 5070

Ok, well I've upgraded to Ogre 1.6.1, but unfortunately I'm seeing the same results. When using Direct3D9 Rendering Subsystem things look great, but when using OpenGL Rendering Subsystem it looks overcompressed/garbled, as described in my initial post in this thread. Anyone else seeing this problem,...
by Arcanor
Tue Feb 10, 2009 13:19
Forum: Help
Topic: createImagesetFromImageFile() image is blurry
Replies: 6
Views: 5070

What codec are you using to load images? (I mean SILLY, DevIL, ...?) Thanks for your idea Pompei2. I'm using Ogre 1.6.0, which I think uses FreeImage, but I'm not sure how to verify that except to note that in the Ogre dependencies folder there is a FreeImaged.lib, but nothing looking like SILLY.li...
by Arcanor
Tue Feb 10, 2009 10:45
Forum: Help
Topic: createImagesetFromImageFile() image is blurry
Replies: 6
Views: 5070

createImagesetFromImageFile() image is blurry

I'm having a problem using createImagesetFromImageFile(). It seems that it's compressing my image for some reason, and I don't understand what's happening. Here's the graphic I'm using: http://www.arcanoria.com/tmp/logo.png Here's the code I am using to bring the PNG into my application: CEGUI::Imag...
by Arcanor
Thu Jan 29, 2009 15:01
Forum: Help
Topic: listbox margin/padding
Replies: 8
Views: 5194

Awesome, it's working perfectly. Very instructive, thanks so much CE!
by Arcanor
Thu Jan 29, 2009 13:41
Forum: Help
Topic: listbox margin/padding
Replies: 8
Views: 5194

One last question on this topic...

Is it possible to apply this sort of formatting on a per window basis, dynamically?
by Arcanor
Thu Jan 29, 2009 13:36
Forum: Help
Topic: listbox margin/padding
Replies: 8
Views: 5194

Thanks CE, that did it.
by Arcanor
Thu Jan 29, 2009 12:41
Forum: Help
Topic: listbox margin/padding
Replies: 8
Views: 5194

I'm still a bit confused as to how to implement your suggestion #2 above. I'm looking in my looknfeel file at what I think is the correct place. Here is the top bit of my listbox definition section: <WidgetLook name="ArcanoriaLook/Listbox"> <NamedArea name="ItemRenderingArea"> <A...
by Arcanor
Thu Jan 29, 2009 12:02
Forum: Help
Topic: listbox margin/padding
Replies: 8
Views: 5194

Thanks CE, I had been looking in the .layout file. I'll look in the .looknfeel file instead.
by Arcanor
Thu Jan 29, 2009 04:56
Forum: Help
Topic: listbox margin/padding
Replies: 8
Views: 5194

listbox margin/padding

This is probably simple to do, but I've been searching and can't find the answer. I've got a listbox control and the listboxtextitems that it contains are showing their text too close to the left edge of the window. How can I add 10 pixels in between the left edge of the window and the beginning of ...
by Arcanor
Fri Jan 16, 2009 10:37
Forum: Help
Topic: Listbox::EventMouseClick event firing twice
Replies: 6
Views: 4739

Just a hint for the future: Thanks for letting me know that I can simply recast this and access the other elements relevant to a mouse! This is very helpful. I think if you are unsure about something and the documentation doesn't help, you could just try it out using the dynamic_cast , he tells you...
by Arcanor
Thu Jan 15, 2009 21:13
Forum: Help
Topic: Listbox::EventMouseClick event firing twice
Replies: 6
Views: 4739

You could also try to subscribe to this event in another window (other then listbox) and see what happens there (should be the same) Also, make sure you don't inject something twice while injecting input into CEGUI! Thanks for your reply Pompei2. I did try this as well and I'm still getting the eve...
by Arcanor
Thu Jan 15, 2009 21:10
Forum: Help
Topic: Listbox::EventMouseClick event firing twice
Replies: 6
Views: 4739

First, I have serious doubts about EventMouseClick fireing twice for no reason; this event is handled by the Window base class, and I haven't had any issues with this event on other Window-based objects. But who knows? Second, have you tried using a different event, like EventMouseButtonDown (shoul...
by Arcanor
Thu Jan 15, 2009 05:12
Forum: Help
Topic: Listbox::EventMouseClick event firing twice
Replies: 6
Views: 4739

Listbox::EventMouseClick event firing twice

I've got a Listbox, containing several ListboxTextItems. I'm subscribing to the Listbox::EventMouseClick and sending it to a function named h_InteractionChoiceMouseClick. I've only subscribed once, yet the event is firing twice each time I click in the Listbox. Why is this happening? How can I preve...
by Arcanor
Tue Mar 25, 2008 21:13
Forum: Help
Topic: Editbox control skipping some input characters at low FPS
Replies: 12
Views: 5929

If anyone's interested, I've fixed the problem. The culprit was my input handler functions returning false sometimes instead of always true, which is apparently what OIS requires, otherwise OIS throws out the remaining contents of the input buffer . Here's a link to the relevant thread over at the O...

Go to advanced search