Search found 15 matches

by zaexage
Sun Oct 07, 2012 05:16
Forum: Bug Reports, Suggestions, Feature Requests
Topic: How about CEGUI for Unity?
Replies: 0
Views: 4732

How about CEGUI for Unity?

1. I think CEGUI is a better solution than UnityGUI for many developers. 2. This port may take some work, but shouldn't be mission-impossible. e.g.: http://forum.unity3d.com/threads/51291-Demo-CEGUI-in-Unity 3. CEGUI for Unity could enlarge the user and developer community effectively: PC, Mac, Mobi...
by zaexage
Fri Jul 13, 2012 07:19
Forum: Bug Reports, Suggestions, Feature Requests
Topic: Typo in ScrollablePaneProperties
Replies: 1
Views: 2733

Typo in ScrollablePaneProperties

CEGUIScrollablePaneProperties.cpp
VertStepSize::get() invokes getHorizontalStepSize()
by zaexage
Tue Feb 28, 2012 03:26
Forum: Modifications / Integrations / Customisations
Topic: [SOLVED]I want to create the effect of radar scanning
Replies: 5
Views: 6234

Re: I want to create the effect of radar scanning,but i fail

well, the case might not be the same, but I think this might be of some use or reference. we once created the a round skill cool-down effect like in the WOW, the main work here is also use the RenderEffect; What's different here is we used a directx effect script, i think it might be easier to code ...
by zaexage
Mon Jul 11, 2011 02:03
Forum: Bug Reports, Suggestions, Feature Requests
Topic: StaticText scrollbar position not updated after setText
Replies: 2
Views: 3407

StaticText scrollbar position not updated after setText

It seems that StaticText's scrollbar position is not updated after setText(), we made a quick fix to add two method calls in configureScrollbars(): vertScrollbar->setScrollbarPosition(vertScrollbar->getScrollPosition()); horzScrollbar->setScrollbarPosition(horzScrollbar->getScrollPosition());
by zaexage
Fri Jul 08, 2011 08:32
Forum: Bug Reports, Suggestions, Feature Requests
Topic: StaticText VertScrollbar over Text
Replies: 2
Views: 3768

StaticText VertScrollbar over Text

like the thread said: http://www.cegui.org.uk/phpBB2/viewtopic.php?f=10&t=5213 Things go like this: setText --> FalagardStaticText::onTextChanged --> configureScrollbars : in configureScrollbars, 1. getDocumentSize() will call FormattedRenderedString::format(), under the old renderArea; 2. scrol...
by zaexage
Fri Jul 08, 2011 01:00
Forum: Bug Reports, Suggestions, Feature Requests
Topic: StaticText ignores empty line
Replies: 2
Views: 3372

Re: StaticText ignores empty line

Glad to know, looking forward to new release. :)
by zaexage
Thu Jul 07, 2011 09:50
Forum: Bug Reports, Suggestions, Feature Requests
Topic: StaticText ignores empty line
Replies: 2
Views: 3372

StaticText ignores empty line

It seems that StaticText will not render empty lines. e.g.: A\n\nB, the empty line will be missing I gave it a quick dirty fix on RenderedString::getPixelSize(size_t), when the returned height for this line is near zero, I just change the height to 10.f; it might be better to use current font's heig...
by zaexage
Thu Jul 07, 2011 01:16
Forum: Modifications / Integrations / Customisations
Topic: How to clip the child windows with given rect
Replies: 4
Views: 4423

Re: How to clip the child windows with given rect

I tried SetClippingRegion and it does work, but the hitTest still failed, I think maybe this method needs a hack to add setUnclippedRect to CEGUI::Window...

Anyway, I think your method should be better. :)
by zaexage
Wed Jul 06, 2011 02:21
Forum: Modifications / Integrations / Customisations
Topic: How to clip the child windows with given rect
Replies: 4
Views: 4423

Re: How to clip the child windows with given rect

I do have written a WindowRenderer (but it is just for rendering separator & frame anyway), how can i use it to clip the children windows?

I'm thinking about using GeometryBuffer::setClippingRegion for this task. Is it a viable method?
by zaexage
Wed Jul 06, 2011 01:40
Forum: Bug Reports, Suggestions, Feature Requests
Topic: Cloning window might go wrong
Replies: 3
Views: 4160

Re: Cloning window might go wrong

Is it necessary to set the property and incur setLookNFeel again?

How about we just ban the `looknfeel', and assign the d_lookName from src to dst window at the end of clone()?
Will it bring up any problem?
by zaexage
Fri Jul 01, 2011 08:41
Forum: Bug Reports, Suggestions, Feature Requests
Topic: Cloning window might go wrong
Replies: 3
Views: 4160

Cloning window might go wrong

I use the Window::clone to clone new window, but some properties in new window are not correct. It seems that clone() will clone un-banned properties from src to dst window, including `LookNFeel' property. And, it seems that Cloning `LookNFeel' may cause some properties to be overwritten again. our ...
by zaexage
Thu Jun 30, 2011 10:48
Forum: Modifications / Integrations / Customisations
Topic: How to clip the child windows with given rect
Replies: 4
Views: 4423

How to clip the child windows with given rect

Hi, all I'm making a UI control that kind of like the GridLayoutContainer, but it could make constraints on the width/height of some columns or rows. When the size of the cell is determined by client's specified value, I wanna clip the child window inside the cell. My question is how to clip the a c...
by zaexage
Mon Mar 14, 2011 10:06
Forum: Bug Reports, Suggestions, Feature Requests
Topic: missing 'SelectedHover' not fall back to 'SelectedNormal'
Replies: 1
Views: 2923

missing 'SelectedHover' not fall back to 'SelectedNormal'

according to http://cegui.org.uk/docs/current/fal_wr_ref.html#fal_wr_ref_sec_16, Falagard/ToggleButton should fall back to 'SelectedNormal' if 'SelectedHover' state imagery not found. However, if we only have 'Hover' but miss 'SelectedHover', then FalButton will accepted 'Hover', and FalToggleButton...
by zaexage
Wed Mar 02, 2011 03:28
Forum: Bug Reports, Suggestions, Feature Requests
Topic: bug on RenderedStringParser processing `[' at the end of str
Replies: 1
Views: 2968

bug on RenderedStringParser processing `[' at the end of str

it seems that the parser will drop the last section if the to-be-parsed string is ended with a `[' e.g.: hello world\[ The parse() function will detect the last `[', but do nothing and try to continue to find more content with advancing curr_pos by 1. As this `[' is the last character in string, the...

Go to advanced search