Search found 1379 matches

by Kulik
Tue Sep 14, 2010 17:38
Forum: Help
Topic: (Solved) efficient listener usage
Replies: 4
Views: 710

Re: efficient listener usage

Yeah, this is pretty much the way to do this. UI programming sucks, doesn't it :wink:

PS: I assume listener == subscriber in your post.
by Kulik
Sat Sep 11, 2010 07:05
Forum: Help
Topic: cegui compile problems
Replies: 8
Views: 1980

Re: cegui compile problems

It's not an error, it's just a warning. Otherwise your project compiles fine?

I am not sure why MSVC is bitching about this, IIRC you have to export it to catch it outside the dll.
by Kulik
Thu Sep 09, 2010 18:37
Forum: CEGUI Library Development Discussion
Topic: API breaking consistency fixes intended for CEGUI 0.8.0
Replies: 50
Views: 19994

Re: API breaking consistency fixes intended for CEGUI 0.8.0

I would really really like if everything was CEGUI::Widget based in 0.8 CEGUI, thus removing the need for ItemListbox, etc... And perhaps some discussion about thinning up CEGUI::Widget a bit would be great. Most of elements only need 10% of what CEGUI::Window can do. If CEGUI::Window is renamed to ...
by Kulik
Thu Sep 09, 2010 09:06
Forum: CEGUI Library Development Discussion
Topic: Automatic Layouting (horizontal, vertical, grid, ...)
Replies: 53
Views: 15714

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

Btw, do you plan to add some kind of spacer and/or some constraint policies? I haven't noticed this :-) It certainly is possible to do spacers and constraints but I don't have any specific ideas at the moment partly because I don't need this functionality. How would you like them to work? You can a...
by Kulik
Thu Sep 09, 2010 08:48
Forum: CEGUI Library Development Discussion
Topic: API breaking consistency fixes intended for CEGUI 0.8.0
Replies: 50
Views: 19994

Re: API breaking consistency fixes intended for CEGUI 0.8.0

Jamarr, the main caveat with merging the vertical and horizontal layout container is that it wouldn't be extendable. Imagine somebody wants to do a novelty sequential container. Right now the new class can inherit SequentialLayoutContainer and the only code that has to be overridden is the actual la...
by Kulik
Sat Sep 04, 2010 21:01
Forum: CEGUI Library Development Discussion
Topic: API breaking consistency fixes intended for CEGUI 0.8.0
Replies: 50
Views: 19994

Re: API breaking consistency fixes intended for CEGUI 0.8.0

Jamarr: +1 about layout containers being used for MCL, listbox, etc... I will most likely redo the grid LC implementation so it can withstand being used with MCL (currently it would be slow). I don't think there will be many changes to the vertical and horizontal layout containers. I though about me...
by Kulik
Sat Sep 04, 2010 15:31
Forum: Modifications / Integrations / Customisations
Topic: [solved] About ways to use Animation System
Replies: 9
Views: 3009

Re: About ways to use Animation System

I think there certainly are use cases where this would be really useful. On the other hand, you can't alter look n feel in layouts and just allowing animations here doesn't sound right to me. It also isn't as easy to just crudely plug the animations here, because the window would have to track the i...
by Kulik
Thu Sep 02, 2010 14:15
Forum: Help
Topic: ScrollablePane HorizontalScrollbar
Replies: 7
Views: 1572

Re: ScrollablePane HorizontalScrollbar

there is a patch http://www.cegui.org.uk/phpBB2/viewtopic.php?f=5&t=5030&start=45#p24271 that might make this work flawlessly, I haven't tried though. Please try it and report back. It will probably go into CEGUI svn over the weekend. EDIT: You have to inject time pulses with this patch, oth...
by Kulik
Wed Sep 01, 2010 10:35
Forum: Help
Topic: ScrollablePane HorizontalScrollbar
Replies: 7
Views: 1572

Re: ScrollablePane HorizontalScrollbar

I don't think absWidth is related, it's only used to compare mixed sizes... Unfortunately in my case this works ok :-( I will try some more to reproduce it.
by Kulik
Wed Sep 01, 2010 10:04
Forum: CEGUI Library Development Discussion
Topic: git access
Replies: 18
Views: 5429

Re: git access

SVN can do branches and merging too and would be useless without them, most of the differences are only in the way features are accessed. SVN is still great if you only have a couple of developers, but if you expect more and more people to help out with patches or new ideas, a decentralized versioni...
by Kulik
Wed Sep 01, 2010 08:35
Forum: CEGUI Library Development Discussion
Topic: API breaking consistency fixes intended for CEGUI 0.8.0
Replies: 50
Views: 19994

Re: API breaking consistency fixes intended for CEGUI 0.8.0

There are some inconsistencies between the words draw and render. For example CEGUI::Window has a method "render", but this method uses "drawSelf". I think this should be unified to avoid having to check what of those words should be used. I beliebe in this context, they are syno...
by Kulik
Tue Aug 31, 2010 21:12
Forum: CEGUI Library Development Discussion
Topic: Automatic Layouting (horizontal, vertical, grid, ...)
Replies: 53
Views: 15714

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

Ok, I am on IRC freenode/#cegui. Just to add a note: With this patch you have to call CEGUI::System::injectTimePulse, otherwise layouting will never happen. Lots of users don't realise that because most of CEGUI works even without injecting time pulses. I might move the layouting calls to Window::re...
by Kulik
Tue Aug 31, 2010 21:10
Forum: CEGUI Library Development Discussion
Topic: git access
Replies: 18
Views: 5429

Re: git access

I use SVN for most projects and I think it's a fine and powerful solution. I don't see GIT/Mercurial having any major advantages over SVN for CEGUI. With Git/Mercurial, users would update from the CE's hub anyways so it's the same as SVN as far as that. I haven't used Bazaar at all, it's screenshots...
by Kulik
Tue Aug 31, 2010 18:40
Forum: CEGUI Library Development Discussion
Topic: Automatic Layouting (horizontal, vertical, grid, ...)
Replies: 53
Views: 15714

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

Ok, could you please check if this patch works for you? It seems to have solved all problems with nested containers for me. http://harcov.czenet.com/kulik/CEGUI/nestedLayoutContainers.patch I have to check with CE if it's OK to make Window::update(..) virtual... Take this as an unofficial patch for ...
by Kulik
Tue Aug 31, 2010 17:54
Forum: CEGUI Library Development Discussion
Topic: Automatic Layouting (horizontal, vertical, grid, ...)
Replies: 53
Views: 15714

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

Yeah you're right. I got lucky and reproduced it! It arises pretty often it seems but I missed it initially. I am working on a fix! Basically the order of the layout containers updated is now outside-in whilst it has to be inside-out.

Go to advanced search