Search found 24 matches

by Turtle
Tue Nov 16, 2010 09:27
Forum: Bug Reports, Suggestions, Feature Requests
Topic: Extending ItemListBox
Replies: 9
Views: 8603

Re: Extending ItemListBox

Hi CE, Most probably will take me a day or two. :oops: I'm still working on this - it's been a bit slooow with work and stuff. (and most of the effort has been with the Sample.) Are you adverse to me including some public domain graphics in the Sample? I'm looking at having three different windows w...
by Turtle
Tue Oct 19, 2010 10:24
Forum: Help
Topic: Subscribing Lua functions to buttons
Replies: 7
Views: 6817

Re: Subscribing Lua functions to buttons

Ahh, I see. The code from the Wiki is C++ code for creating Lua events and can't go into a Lua file as is - it would need to be modified to the Lua equivalent. Offhand (ie: I haven't tested this), you might be able to do this: local pb = CEGUI.WindowManager:getSingleton().createWindow("TaharezL...
by Turtle
Sun Oct 17, 2010 20:51
Forum: Help
Topic: Subscribing Lua functions to buttons
Replies: 7
Views: 6817

Re: Subscribing Lua functions to buttons

Hi,

Did you do an executeScriptFile above this to load your script into memory, and do you know for sure that it loaded?

Also, when in doubt, I strip my event function down to the point that it's empty and then start adding the code back to it once I'm sure it's running.

Cheers.
by Turtle
Fri Oct 15, 2010 02:13
Forum: Help
Topic: Drag And Drop Listbox Item
Replies: 2
Views: 2729

Re: Drag And Drop Listbox Item

I've done this with an ItemListbox instead of Listbox, but it requires a little work. The ItemListbox, unlike the Listbox, uses "ItemEntry" Windows for it's items. ItemEntry windows inherit the Window class which allows them to have child Windows. So what I do (and it's a little convoluted...
by Turtle
Sat Sep 04, 2010 04:10
Forum: Bug Reports, Suggestions, Feature Requests
Topic: Extending ItemListBox
Replies: 9
Views: 8603

Re: Extending ItemListBox

Hi CE, I've cleaned up the code but I'm unable to logon to your mantis system with my forum account - do I need to be granted access to this? Also, would you like a sample/demo app that shows some of the features? I could do one that uses Lua and drag and drop between ItemListboxes if you would like...
by Turtle
Thu Sep 02, 2010 09:47
Forum: Bug Reports, Suggestions, Feature Requests
Topic: Extending ItemListBox
Replies: 9
Views: 8603

Re: Extending ItemListBox

Thanks for the link. :) I'll modify my code to match the CEGUI formatting and give it a few more comments before I submit the patch.

Most probably will take me a day or two.

Cheers.
by Turtle
Wed Sep 01, 2010 21:15
Forum: Bug Reports, Suggestions, Feature Requests
Topic: Extending ItemListBox
Replies: 9
Views: 8603

Extending ItemListBox

Hi CE, I'm in love with ItemListBox but for my own purposes I was after a bit of extra functionality. I added these and I was wondering if you would like them (in one form or another) for the main source. I added the following properties: "Orientation" (set to "Vertical" or "...
by Turtle
Mon Jun 25, 2007 11:23
Forum: Unofficial CEGUI-Related Tools
Topic: Creating Texture Atlas
Replies: 6
Views: 8665

Here it is: http://www.unknown-files.net/download.png This site only holds files for 14 days, so you'd better download it quick :) And as I said before, it's rough. It's also only the source code :cry: (The site that its held on is by a guy who hosts all the maps etc for the freeware/open source gam...
by Turtle
Mon Jun 25, 2007 03:41
Forum: Unofficial CEGUI-Related Tools
Topic: Creating Texture Atlas
Replies: 6
Views: 8665

I found the code this morning. I have to warn you that it's quite "rough", but it did the job for me. It uses the Allegro library along with a png addon to load and save png images. It only accepts png files (I think), but should be easy to change. It shouldn't be too hard to change from A...
by Turtle
Fri Jun 22, 2007 02:30
Forum: Unofficial CEGUI-Related Tools
Topic: Creating Texture Atlas
Replies: 6
Views: 8665

Hi ppl, If I'm not too late - I wrote a rudimentary tool to pack a set of separate image into a single one and to spit out an imageset file. It was a while ago (about this time last year :)), but I'll have a look around on my laptop for it. It used some box packing code that I found on the internet ...
by Turtle
Fri Nov 24, 2006 21:39
Forum: Modifications / Integrations / Customisations
Topic: how to use CEGUI (0.5)FONT TEXTURE render 3d effect?
Replies: 5
Views: 5372

Hi silenttree, Sorry for the delay - I haven't been on the Internet much of late. I personally use MoveableText from the Ogre Wiki: http://www.ogre3d.org/wiki/index.php/MovableText Of course, this means you'll need to give Ogre a .fontdef file so that Ogre knows how to define the font. Details of th...
by Turtle
Tue Sep 05, 2006 08:36
Forum: Modifications / Integrations / Customisations
Topic: how to use CEGUI (0.5)FONT TEXTURE render 3d effect?
Replies: 5
Views: 5372

Hi skydog, So did you want to use a CEGUI font within your 3d scene? If that's the case, it's dependent on the 3d engine you're using. It can be done in Ogre - you can use the same font texture to write text in the 3d scene, although you'll need to use an Ogre font definition file to kind of detail ...
by Turtle
Wed Aug 23, 2006 08:55
Forum: Modifications / Integrations / Customisations
Topic: how to use CEGUI (0.5)FONT TEXTURE render 3d effect?
Replies: 5
Views: 5372

Hi skydog, Do you want to be able to use a texture that contains a set of characters like, say this?: http://img182.imageshack.us/img182/62/glowingredwshadowif4.th.png To do this you need to define: - your image (a square, power of 2 length and sides) - an .imageset file that defines the location of...
by Turtle
Fri Aug 04, 2006 08:16
Forum: Bug Reports, Suggestions, Feature Requests
Topic: How to draw line and box?
Replies: 5
Views: 6690

Actually, that would most likely be slower...
by Turtle
Wed Aug 02, 2006 10:01
Forum: Bug Reports, Suggestions, Feature Requests
Topic: How to draw line and box?
Replies: 5
Views: 6690

Hi PeakGao, You could always "render" your entire HTML to your own texture and then pass this over to CEGUI to display. Not sure if this is a good idea or not mind you ;) Hmm.. you might even be able to use a library such as antigrain ( http://www.antigrain.com/ ) to do the rendering to a ...

Go to advanced search