Search found 1379 matches

by Kulik
Tue Aug 31, 2010 17:28
Forum: CEGUI Library Development Discussion
Topic: Automatic Layouting (horizontal, vertical, grid, ...)
Replies: 53
Views: 15718

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

Sadly I can't reproduce this :-( I immediately see all 5 buttons. I will try some more. layout() actually does work in recursion but it works inside-out, not like you suggested. When size of the parent window changes or windows are added/removed, layout containers react and mark themselves for relay...
by Kulik
Tue Aug 31, 2010 17:19
Forum: Help
Topic: ScrollablePane HorizontalScrollbar
Replies: 7
Views: 1572

Re: ScrollablePane HorizontalScrollbar

I've ran into something different before and it's likely a bug in scrollable pane but it wasn't discovered yet. Scrollable pane sometimes decides to go haywire and (at least for me) doesn't allow scrolling all the way to the end. When scrollbars appear though, content inside is resized for me automa...
by Kulik
Mon Aug 30, 2010 23:52
Forum: CEGUI Library Development Discussion
Topic: Automatic Layouting (horizontal, vertical, grid, ...)
Replies: 53
Views: 15718

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

Just a note: I finally got around to try the snippet and it works for me (0.7.2 release), I tried to do other nested layout containers and it worked too...

Can you please post a screenshot of whats wrong?

TBH it wasn't intentional that it works but it does :lol:
by Kulik
Mon Aug 30, 2010 10:36
Forum: CEGUI Library Development Discussion
Topic: Generic animation support for CEGUI::Window
Replies: 35
Views: 11001

Re: Generic animation support for CEGUI::Window

r0br0y: Subscribe the animations to "Shown" event, this way the animation is started when the window is ready and shown, just make sure the window is invisible and you set it to visible when everything is ready. I do it all the time and it works for me :-) EDIT: I've given it some thought ...
by Kulik
Sat Aug 28, 2010 11:46
Forum: Help
Topic: Error Loading Windows Layout
Replies: 6
Views: 1396

Re: Error Loading Windows Layout

I think the paths probably changed, check for that...

There is no scheme resource group to load Taharez from. Once it loads Taharez, both exceptions will go away.
by Kulik
Fri Aug 27, 2010 11:24
Forum: Help
Topic: compiling imageset editor
Replies: 14
Views: 3277

Re: compiling imageset editor

What error? Could you copy the message? We can't provide ANY help if we don't get relevant info... There are tons of errors that could pop up...
by Kulik
Thu Aug 26, 2010 18:47
Forum: CEGUI Library Development Discussion
Topic: Automatic Layouting (horizontal, vertical, grid, ...)
Replies: 53
Views: 15718

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

Layout can't contain other layouts. It can contain layouted windows. So the easiest solution here is to create a DefaultWindow and layout it with Horizontal Layout Container. So you would have a Vertical Layout Container containing DefaultWindows that would contain Horizontal Layout Containers :-) I...
by Kulik
Thu Aug 26, 2010 17:44
Forum: Help
Topic: [SOLVED]tab problem
Replies: 6
Views: 733

Re: tab problem

If you just need to make Tabs, see this wiki article http://www.cegui.org.uk/wiki/index.php/WidgetGalore#TabControl.
by Kulik
Thu Aug 26, 2010 14:54
Forum: CEGUI Library Development Discussion
Topic: Automatic Layouting (horizontal, vertical, grid, ...)
Replies: 53
Views: 15718

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

OK this patch seems to work for me...

http://harcov.czenet.com/kulik/CEGUI/minsize_fix.patch

Please confirm whether it works for you :)
by Kulik
Thu Aug 26, 2010 09:11
Forum: CEGUI Library Development Discussion
Topic: Generic animation support for CEGUI::Window
Replies: 35
Views: 11001

Re: Generic animation support for CEGUI::Window

r0br0y: Thanks for the feedback! The position between 2 keyframes is always scaled down to <0.0, 1.0> to make things easier for the interpolators. If you want bool value to change after it has reached the keyframe, try discrete progression. I also started some crude documentation on wiki http://www....
by Kulik
Wed Aug 25, 2010 15:32
Forum: CEGUI Library Development Discussion
Topic: Automatic Layouting (horizontal, vertical, grid, ...)
Replies: 53
Views: 15718

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

I think this is related to min size. Try to set min size of both child windows to UVector2(UDim(0,0), UDim(0, 0)) to confirm. This is indeed bug in my code :-) The layouting code uses getSize, this should already be constrained by min/max size... I will have to dig into it and hopefully I can create...
by Kulik
Wed Aug 25, 2010 09:34
Forum: CEGUI Library Development Discussion
Topic: Automatic Layouting (horizontal, vertical, grid, ...)
Replies: 53
Views: 15718

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

Could you please post a test case? I will run it and report back to you. The log looks fine. Layouting is really simple with sequential layouts (You basically just add the windows in the order they should show up and it works 8) ) and only a bit harder with a grid, are you using a sequential layout ...
by Kulik
Mon Aug 23, 2010 09:22
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

PropertyHelper will only convert from and to CEGUI::String, converting from UVector2 to Size or something like that doesn't make much sense. Converting from and to std::string, wstring or plain utf8* is not desired as these all can be represented by CEGUI::String and in CEGUI, you should only use CE...
by Kulik
Sun Aug 22, 2010 16:45
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

MarkR wrote:How about kicking the whole PropertyHelper and implement something like boost::lexical_cast instead?


That's what this is basically... Only faster because lexical_cast uses std::stringstream whilst this will remain C sscanf based :) I can't think of a better name for it...
by Kulik
Sun Aug 22, 2010 10:28
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

As discussed on IRC: PropertyHelper should be reimplemented with templates. PropertyHelper::floatToString becomes PropertyHelper::toString<float>, PropertyHelper::stringToFloat becomes PropertyHelper::fromString<float> This little change will shrink BasicInterpolators code to 2 templated interpolato...

Go to advanced search