Search found 34 matches

by spracle
Thu Nov 25, 2010 07:33
Forum: Official Announcements, Works in Progress, and Future Directions
Topic: CEGUI 0.7.5 is Released!
Replies: 12
Views: 14916

Re: CEGUI 0.7.5 is Released!

Congratulations to everyone, :D
by spracle
Wed Nov 24, 2010 02:38
Forum: Modifications / Integrations / Customisations
Topic: [solved]How to realize color palette ?
Replies: 5
Views: 1060

Re: How to realize color palette ?

Out for several days..

Thanks,CE and Kulik.You guys are really helpful~

I decided to use secondary buffer in system RAM that contains a copy of the rendered texture,and performance may well not be a big problem.

one more question: why "Direct3D9Texture::saveToMemory" is Unimplemented?
by spracle
Thu Nov 18, 2010 03:05
Forum: Modifications / Integrations / Customisations
Topic: [solved]How to realize color palette ?
Replies: 5
Views: 1060

[solved]How to realize color palette ?

I think, we should use staticImage,and set an colour picture as its image; when click the staticImage, we can getMousePostion(x,y); As the picture's size is the same to the staticImage's size,so we can treat (x,y) as the picture's coordinate. The problem is how can we get the colourValue at the poin...
by spracle
Wed Oct 20, 2010 09:35
Forum: Modifications / Integrations / Customisations
Topic: [solved] lua binding new c++ function
Replies: 4
Views: 1659

Re: lua binding new c++ function

I deleted "-L exceptions.lua", it worked ,and Lua_CEGUI.cpp was Generated automatically. But there are still two questions: 1. In lua_CEGUI.cpp, no interface at all like "createFormattedListboxTextItem()" ; 2. toluabind.c and toluabind.h also should be generated automatically , b...
by spracle
Tue Oct 19, 2010 02:57
Forum: Modifications / Integrations / Customisations
Topic: [solved] lua binding new c++ function
Replies: 4
Views: 1659

Re: lua binding new c++ function

thank you,kulik :D I did this: execute cegui/cegui/src/ScriptingModules/LuaScriptModule/package/make.dat But I got this: E:\kk2\code\contrib\cegui\CEGUI-0.7.1\cegui\src\ScriptingModules\LuaScriptModule \package>tolua++cegui_D.exe -o ..\lua_CEGUI.cpp -L exceptions.lua CEGUI.pkg ** tolua internal erro...
by spracle
Mon Oct 18, 2010 06:58
Forum: Modifications / Integrations / Customisations
Topic: [solved] lua binding new c++ function
Replies: 4
Views: 1659

[solved] lua binding new c++ function

hi~ In lua, i can call the function"createListboxTextItem(..)" to new a listboxTextItem; Now, i created a new class called FormattedListboxItem inherited from ListboxTextItem, and I want to call the function"createFormattedListboxItem()" to new a formattedListboxItem in lua. Ques...
by spracle
Fri Sep 17, 2010 01:36
Forum: Modifications / Integrations / Customisations
Topic: sos, RenderedStringParser system ,help me
Replies: 4
Views: 1134

Re: sos, RenderedStringParser system ,help me

thanks CE,You are always so patient :D The colour thing is my mistake .At that time I was wondering it should be [00000000] or [FFFFFFFF]. With not checking, I chosed [0000000] casually.Forgive me, :wink: Finally, I understood why the [window] tag didn't work,sigh~~ Next, i will give it a try to cha...
by spracle
Thu Sep 16, 2010 02:05
Forum: Modifications / Integrations / Customisations
Topic: sos, RenderedStringParser system ,help me
Replies: 4
Views: 1134

Re: sos, RenderedStringParser system ,help me

ok,now I can figure out my second question: void BasicRenderedStringParser::handleImage(RenderedString& rs, const String& value) { RenderedStringImageComponent ric( PropertyHelper::stringToImage(value)); ric.setPadding(d_padding); ric.setColours(d_colours); ric.setVerticalFormatting(d_vertAl...
by spracle
Thu Sep 16, 2010 00:55
Forum: Modifications / Integrations / Customisations
Topic: [solved] About ways to use Animation System
Replies: 9
Views: 1838

Re: About ways to use Animation System

It's great work to build such animation system,and I appreciate what you have done very much ,kulik~~
I'm not quite familar with CEGUI,but i will work hard to get it.Now tough and fun :hammer:
by spracle
Wed Sep 15, 2010 12:30
Forum: Modifications / Integrations / Customisations
Topic: [solved] About ways to use Animation System
Replies: 9
Views: 1838

Re: About ways to use Animation System

spracle is right. Some animation behavior should not be widget type related. But it is still a hard work to set image property if there are dozens of frames in the animation with layout support. :pint: thanks :D Seriously I can't get what kulik have said(maybe because I am new to cegui),and I still...
by spracle
Wed Sep 15, 2010 12:22
Forum: Modifications / Integrations / Customisations
Topic: sos, RenderedStringParser system ,help me
Replies: 4
Views: 1134

sos, RenderedStringParser system ,help me

2 problems: 1. [window] tag can't work ,here's my key codes: Listbox* Lbox = static_cast<Listbox*>(winMgr.getWindow("ChatItem/FrameWindow1/Listbox1")); CEGUI::String tx2("[window='Animation/StaticImage1']"); ListboxTextItem *Lptr3 = new ListboxTextItem(tx2); Lbox->addItem(static_...
by spracle
Sat Sep 04, 2010 02:31
Forum: Modifications / Integrations / Customisations
Topic: [solved] About ways to use Animation System
Replies: 9
Views: 1838

Re: About ways to use Animation System

Imagine these situations: 1.a kind of StaticImage that can fade away,and all I need is fade away over the time ; 2. another kind of StaticImage that can change its "image" property over the time 3. another kind of StaticImage that can change its size over the time . ... Every new kind of S...
by spracle
Fri Sep 03, 2010 09:51
Forum: Modifications / Integrations / Customisations
Topic: [solved] About ways to use Animation System
Replies: 9
Views: 1838

Re: About ways to use Animation System

confirmed that couldn't configure it in a layout , :(
But I can't figure out why? I think it more flexible to use layout xml than looknfeel xml

being confused ....
by spracle
Fri Sep 03, 2010 09:05
Forum: Modifications / Integrations / Customisations
Topic: [solved] How to Animate gifs
Replies: 7
Views: 2906

Re: How to Animate gifs

hoho~ Problems solved :D
It's about "injectTimepulse()" function, and it's my problem~
by spracle
Fri Sep 03, 2010 03:17
Forum: Modifications / Integrations / Customisations
Topic: [solved] About ways to use Animation System
Replies: 9
Views: 1838

[solved] About ways to use Animation System

As we know, there are 3 ways to use the animation system: pure code, Falagard looknfeel XML, and code && separate XML . Is there any possibility that I can use it in a layout,such as: <Window Type="TaharezLook/Editbox" Name="TextDemo/editAge" > <Property Name="Text&q...

Go to advanced search