Search found 1379 matches

by Kulik
Fri Aug 06, 2010 15:14
Forum: Help
Topic: How to run CEGUI with Irrlicht
Replies: 7
Views: 2513

Re: How to run CEGUI with Irrlicht

Something is wrong because static libraries don't use the __declspec(dllimport)/dllexport. Try to define CEGUI_STATIC before you include any CEGUI include files.

I must say I don't work with static CEGUI, so I am not sure...
by Kulik
Fri Aug 06, 2010 13:43
Forum: CEGUI Library Development Discussion
Topic: Generic animation support for CEGUI::Window
Replies: 35
Views: 11001

Re: Generic animation support for CEGUI::Window

OK, how I think animations should be declared in looknfeel :) Autostarted animation that never stops, starts after window is created and loops to infinity. With autoStart="false" user would have to start it because it isn't bound to any events. <WidgetLook name="Look/Widget"> ......
by Kulik
Fri Aug 06, 2010 13:29
Forum: Help
Topic: How to run CEGUI with Irrlicht
Replies: 7
Views: 2513

Re: How to run CEGUI with Irrlicht

CEGUI.h doesn't include renderer modules. You need to include "RendererModules/Irrlicht/CEGUIIrrlichtRenderer.h". You don't need to add it to path. But you probably will need to add irrlicht includes to path.
by Kulik
Fri Aug 06, 2010 13:23
Forum: CEGUI Library Development Discussion
Topic: Automatic Layouting (horizontal, vertical, grid, ...)
Replies: 53
Views: 15716

Re: Automatic Layouting (horizontal, vertical, grid, ...)

ok, so this was commited and is present in revision 2578 of v-0-7 branch :)
by Kulik
Fri Aug 06, 2010 13:06
Forum: CEGUI Library Development Discussion
Topic: Generic animation support for CEGUI::Window
Replies: 35
Views: 11001

Re: Generic animation support for CEGUI::Window

Ok, so AnimationManager would store animations and would be updated when time pulse is injected. It would step all animations. I think often you want to animate more things at once with one animation, so.. What about Animation having duration, position and replay method (play once, loop, very useful...
by Kulik
Tue Aug 03, 2010 19:41
Forum: CEGUI Library Development Discussion
Topic: Automatic Layouting (horizontal, vertical, grid, ...)
Replies: 53
Views: 15716

Re: Automatic Layouting (horizontal, vertical, grid, ...)

Well the one thing that is still undecided is whether it's OK to have the grid mapped to d_children. If we introduced some lightweight structure next to d_children, no DefaultWindow dummies would be required, plus it would be much faster to resize the grid. The grid was originally planned to be some...
by Kulik
Mon Aug 02, 2010 22:30
Forum: CEGUI Library Development Discussion
Topic: Generic animation support for CEGUI::Window
Replies: 35
Views: 11001

Re: Generic animation support for CEGUI::Window

Adding animations to window renderer means that Windows without WindowRenderer can't be animated, the question is if there are some use cases where animating these could be usefull. However I agree that they are strictly visual. We could even do this by implementing a new singleton that would manage...
by Kulik
Mon Aug 02, 2010 21:07
Forum: Help
Topic: Deployment & OgreRenderer
Replies: 18
Views: 3682

Re: Deployment & OgreRenderer

Please post versions of CEGUI and Ogre. Post your CEGUI.log! I think it could be related to working directory. Visual Studio could set it somewhere whilst after deployment, it would be "./". Or perhaps permissions? However without any more info, it's impossible to write any advice. We aren...
by Kulik
Mon Aug 02, 2010 18:56
Forum: CEGUI Library Development Discussion
Topic: Automatic Layouting (horizontal, vertical, grid, ...)
Replies: 53
Views: 15716

Re: Automatic Layouting (horizontal, vertical, grid, ...)

OK, I am still thinking whether to introduce new type UMargin that would basically be the same thing as URect but with edges instead of points. Having URect as margin would probably confuse people. This would mean having UMargin d_margin inside CEGUI::Window and just setMargin getMargin. Plus only o...
by Kulik
Mon Aug 02, 2010 18:40
Forum: CEGUI Library Development Discussion
Topic: Automatic Layouting (horizontal, vertical, grid, ...)
Replies: 53
Views: 15716

Re: Automatic Layouting (horizontal, vertical, grid, ...)

Why would it slow it down? You have to do a lookup to fetch the property-value either way. Adding a single conditional would not be noticeable, and in cases where the margin is not used you do not have to fetch the value from the property nor do you have to convert it from a string to a numeric. So...
by Kulik
Mon Aug 02, 2010 17:59
Forum: CEGUI Library Development Discussion
Topic: Generic animation support for CEGUI::Window
Replies: 35
Views: 11001

Re: Generic animation support for CEGUI::Window

@Jamarr: You probably haven't read the topic carefully. CEGUI::Window : public PropertySet, EventSet, AnimationSet Window would be a set of animations. EDIT: Damn, I was searching for this and missed UIAE, will look into it... EDIT2: I suck at fast reading - I think having external API isn't good en...
by Kulik
Mon Aug 02, 2010 17:57
Forum: CEGUI Library Development Discussion
Topic: Automatic Layouting (horizontal, vertical, grid, ...)
Replies: 53
Views: 15716

Re: Automatic Layouting (horizontal, vertical, grid, ...)

OK, I have finished the patch and need some code review :-) I tried to stick to CEGUI's coding style but there may be some deviations, habits are hard to break. I made it really easy to add new sequential layouts if somebody wanted them - something like SoupLayoutContainer would probably be nice, it...
by Kulik
Mon Aug 02, 2010 14:12
Forum: CEGUI Library Development Discussion
Topic: Automatic Layouting (horizontal, vertical, grid, ...)
Replies: 53
Views: 15716

Re: Automatic Layouting (horizontal, vertical, grid, ...)

To avoid lots of repetitive code, I have created CEGUI::SequentialLayoutContainer that will implement all the reordering and manipulation of vertical and horizontal layouts. moveChildWindowToPosition(Window* wnd, size_t position) already works, now I must do addChildWindowToPosition, removeChildWind...
by Kulik
Mon Aug 02, 2010 13:12
Forum: CEGUI Library Development Discussion
Topic: Generic animation support for CEGUI::Window
Replies: 35
Views: 11001

Generic animation support for CEGUI::Window

I think it would be really nice to have some sort of animation capabilities in CEGUI::Window. Even though it's mostly just eye candy, in specific cases it aids usability by hinting the user where to look. Plus CEGUI is meant for games and multimedia applications and eye candy is tolerated in that ki...
by Kulik
Sun Aug 01, 2010 19:40
Forum: CEGUI Library Development Discussion
Topic: Automatic Layouting (horizontal, vertical, grid, ...)
Replies: 53
Views: 15716

Re: Automatic Layouting (horizontal, vertical, grid, ...)

The fix worked! No more clipping bugs :-) Thanks a lot.

Go to advanced search