Search found 16 matches

by Sponge
Fri Feb 10, 2006 10:27
Forum: Offtopic Discussion
Topic: Site Slow
Replies: 5
Views: 4272

It's fast now!

Image

:)
by Sponge
Fri Dec 16, 2005 19:50
Forum: Modifications / Integrations / Customisations
Topic: CEGUI::String to std::string
Replies: 11
Views: 23895

Re: CEGUI::String to std::string

CEGUI::String x;
std::string z = x.c_str();

compiles for me :)
by Sponge
Fri Dec 16, 2005 19:26
Forum: Modifications / Integrations / Customisations
Topic: A tooltip workaround hack needed ;)
Replies: 0
Views: 1865

A tooltip workaround hack needed ;)

Hi, I want to use CEGUI as much as possible in my game so I don't end up using all kinds of extra font rasterizers and everything. Right now I got a silly problem with the tooltips. They show up allright, and it looks fine. Except, I want to display them in the game window. Now, the default behavior...
by Sponge
Tue Nov 22, 2005 11:31
Forum: CEGUI Library Development Discussion
Topic: How do I get the MouseEvent data?
Replies: 7
Views: 6524

Re: How do I get the MouseEvent data?

Yeah, I'm using the MouseUp event now. Seems to work just as well as Clicked(). Right now I'm onto the placing of objects onto the terrain :). btw, I was wondering. If I have a default window, the root element, which is (ofcourse) the full window size. If I put a scrollwheel handler on that, will it...
by Sponge
Tue Nov 22, 2005 08:59
Forum: CEGUI Library Development Discussion
Topic: How do I get the MouseEvent data?
Replies: 7
Views: 6524

Re: How do I get the MouseEvent data?

Hm, I didn't know that. I'll check out an alternative, (probably a simple left/right click function which call the same function but with a different argument, unless I similar click event which does do both) Thanks! :)
by Sponge
Mon Nov 21, 2005 21:48
Forum: CEGUI Library Development Discussion
Topic: How do I get the MouseEvent data?
Replies: 7
Views: 6524

Re: How do I get the MouseEvent data?

Hm. I want to which button was pressed for the "click" event, and possibly the scrollwheel as well (just a usability thing). Since this was the 'clicked' event I assume it had MouseEvent args as well. (Which looked a bit obvious to me)
by Sponge
Mon Nov 21, 2005 15:26
Forum: CEGUI Library Development Discussion
Topic: How do I get the MouseEvent data?
Replies: 7
Views: 6524

How do I get the MouseEvent data?

Hi :P, I can't exactly figure out how to get the mouse event data. I'm passing data from a Lua event to the C++ function. I can get the window data, but not the mouse data. Notw: I'm using the "Clicked" which is set by a property in the XML layout file. LUA: function cmdIngameBuild_click&#...
by Sponge
Mon Nov 21, 2005 13:21
Forum: Unofficial CEGUI-Related Tools
Topic: CEGUI Layout Editor 1.3 - Bugs and Suggestions
Replies: 25
Views: 19564

Re: CEGUI Layout Editor 1.3 - Bugs and Suggestions

Oh, Just one plain simple idea to make the program even better :). Add identation in the saved format. Just one tab per nested node deeper. It makes the layout files a lot easier to read when applying manual changes 8) ;). (I'm really glad that I found out about CEGUI, it cuts development time a LOT...
by Sponge
Mon Nov 21, 2005 12:02
Forum: CEGUI Library Development Discussion
Topic: [BUG?] set...Image functions?
Replies: 3
Views: 4906

Re: [BUG?] set...Image functions?

Hi, No there isn't anything in the log file. It's not a real problem (I got my scrollable 'image spinner' working), but I was just wondering if I did something wrong. I compared the code to internal code of buttons and stuff - which use the set...Image functions too -, and the code was the same :). ...
by Sponge
Sat Nov 19, 2005 14:26
Forum: CEGUI Library Development Discussion
Topic: [BUG?] set...Image functions?
Replies: 3
Views: 4906

[BUG?] set...Image functions?

Hi guys, Right now I'm working on a scrollable pane in my project.. like a fruit machine. Or, more related, like the common scrolling "build" bar in RTS games. The problem is, that I cannot dynamically set the images the way I want to. I have an imageset, an image, and an rendarable image....
by Sponge
Fri Nov 18, 2005 11:06
Forum: Unofficial CEGUI-Related Tools
Topic: CEGUI Layout Editor 1.3 - Bugs and Suggestions
Replies: 25
Views: 19564

Re: CEGUI Layout Editor 1.3 - Bugs and Suggestions

scriptkid wrote: Hi, i get the feature request. But i don't really understand the accidental moving of a parent. Do you mean that you somethimes miss-click & drag? (no offence ;-)) No, really, I do not misclick. I click on the handles, and then the window "below" gets selected. This h...
by Sponge
Mon Nov 14, 2005 16:00
Forum: Unofficial CEGUI-Related Tools
Topic: CEGUI Layout Editor 1.3 - Bugs and Suggestions
Replies: 25
Views: 19564

Re: CEGUI Layout Editor 1.3 - Bugs and Suggestions

I want to make one suggestion. Make objects lockable. Just a simple checkmark or a hotkey is sufficient, so that it won't move anymore in the editor. It is *so* frustrating when you move the parent accidentally when moving a child object, and have t ocorrect it by manually resetting the object small...
by Sponge
Sun Nov 13, 2005 09:59
Forum: CEGUI Library Development Discussion
Topic: Lua and other DLLs
Replies: 9
Views: 10856

Re: Lua and other DLLs

Unfortunately it seems that, indeed, there's always a "but!" when combining these. Somehow they keep mixing each other's .h files and method calls. I'll stick with toLua now (although it seems it has a small bug with a 'number table' which I have to make (because of an int x[16]), and I ca...
by Sponge
Thu Nov 10, 2005 11:02
Forum: CEGUI Library Development Discussion
Topic: Lua and other DLLs
Replies: 9
Views: 10856

Re: Lua and other DLLs

Hm, I think I got it to work now, I installed TortoiseCVs, downloaded the CVS tree, and tried to compile it. Now compiling it was a project on itself :P. CELua (or something) started to 'whine' about sprintf. Reading the forums, I found that vsprintf or _vsprintf might work. Unfortunately that didn'...
by Sponge
Wed Nov 09, 2005 21:19
Forum: CEGUI Library Development Discussion
Topic: Lua and other DLLs
Replies: 9
Views: 10856

Re: Lua and other DLLs

Hm, I have the same problem. I discovered tolua thanks to the scriptingmod. It's great, I can even use my own homebrewn string class inside Lua now! But, I have one problem. I was using LuaPlus as well, it makes it a *lot* easier to go through tables and call Lua functions from C++. Unfortunatly, it...

Go to advanced search