Search found 34 matches
- Mon Nov 26, 2012 03:29
- Forum: Modifications / Integrations / Customisations
- Topic: sos - resolution problem
- Replies: 1
- Views: 11215
sos - resolution problem
Hi,CE. Long time no see :-) A resolution problem has puzzled me for a few days: Our game need 4 kinds of resolution-- 1280 * 720, 1366 * 768, 1600 * 900, 1920 * 1080. We made our layout in coordinate(0,x). You see the scale factor is always 0 and we edited it at 1280 * 720 mode .When resolution chan...
- Mon Mar 28, 2011 15:24
- Forum: Modifications / Integrations / Customisations
- Topic: How to apply the animation of gif pic in the MouseCursor?
- Replies: 6
- Views: 6971
Re: How to apply the animation of gif pic in the MouseCursor
if I use the window's cursor, I can't get the events when the window's cursor goes through
the cegui's window or other conditions. That is to say the cegui's window wil be disabled.
No,You just hide CEGUI's cursor(don't render it),so you can still get events,
![Very Happy :D](./images/smilies/icon_biggrin.gif)
- Mon Mar 28, 2011 03:34
- Forum: Modifications / Integrations / Customisations
- Topic: How to apply the animation of gif pic in the MouseCursor?
- Replies: 6
- Views: 6971
Re: How to apply the animation of gif pic in the MouseCursor
You can use window's cursor instead of CEGUI' cursor.
A picture of .ani (or .cur) can be animated
A picture of .ani (or .cur) can be animated
- Sat Mar 26, 2011 10:09
- Forum: Modifications / Integrations / Customisations
- Topic: MultilineEditbox and '\n'
- Replies: 0
- Views: 3948
MultilineEditbox and '\n'
//----------------------------------------------------------------------------// void MultiLineEditboxWindowRenderer::onLookNFeelAssigned() { assert(d_window != 0); // ensure window's text has a terminating \n String text(d_window->getText()); if (text.empty() || text[text.length() - 1] != '\n') { t...
- Thu Mar 17, 2011 06:00
- Forum: Modifications / Integrations / Customisations
- Topic: About Animation System
- Replies: 6
- Views: 7755
Re: About Animation System
Ok,I got it.
Actully, you guys have done this and I can use the API:instantiation->setSpeed()![Very Happy :D](./images/smilies/icon_biggrin.gif)
Actully, you guys have done this and I can use the API:instantiation->setSpeed()
![Very Happy :D](./images/smilies/icon_biggrin.gif)
- Wed Mar 16, 2011 07:51
- Forum: Modifications / Integrations / Customisations
- Topic: About Animation System
- Replies: 6
- Views: 7755
About Animation System
Requirement: A point moves from Place.1 to Place.2 with uniform speed. case 1: duration of time is 1s case 2: duration of time is 5s case 3: duraiton of time is 10s case 4: .... .... If there are 1,000 situations,we need 1,000 configurations.Kind of unacceptable :? So,is there any convenient way to ...
- Fri Jan 14, 2011 06:52
- Forum: Modifications / Integrations / Customisations
- Topic: [solved]VerticalLayoutContainer:getUnclippedOuterRect()
- Replies: 7
- Views: 7917
Re: VerticalLayoutContainer:getUnclippedOuterRect(), a bug?
layoutIfNecessary instead of layout is pretty cool .
My point is that ,if you don't call the function layoutIfNecessary() manually between removeChild() and getUnclippedOuterRect(),you will not get the right rect ten to one
kind of weird..
Anyway,thanks kulik,you are very helpful~
My point is that ,if you don't call the function layoutIfNecessary() manually between removeChild() and getUnclippedOuterRect(),you will not get the right rect ten to one
kind of weird..
Anyway,thanks kulik,you are very helpful~
- Fri Jan 14, 2011 02:34
- Forum: Modifications / Integrations / Customisations
- Topic: [solved]VerticalLayoutContainer:getUnclippedOuterRect()
- Replies: 7
- Views: 7917
Re: VerticalLayoutContainer:getUnclippedOuterRect(), a bug?
By the way , i called the function "layout()" between "romove(or add)ChildWindow" and "getUnclippedOuterRect()",and it 's not working all the same. --Sorry about this,it works, so outer rect isn't broken My Problem was that VerticalLayoutContainer had one chlid whose t...
- Thu Jan 13, 2011 01:46
- Forum: Modifications / Integrations / Customisations
- Topic: [solved]VerticalLayoutContainer:getUnclippedOuterRect()
- Replies: 7
- Views: 7917
Re: VerticalLayoutContainer:getUnclippedOuterRect(), a bug?
layoutContainer: A ----------- B | (child_1) | C----------- D | (child_2) | -------------- | (child_3) | E------------F When getUnclippedOuterRect(),the result should be ABEF; when removeChildWindow(child_1),then result should be CDEF; Hope I figured it out clearly
- Wed Jan 12, 2011 11:40
- Forum: Modifications / Integrations / Customisations
- Topic: [solved]VerticalLayoutContainer:getUnclippedOuterRect()
- Replies: 7
- Views: 7917
Re: VerticalLayoutContainer:getUnclippedOuterRect(), a bug?
By the way , i called the function "layout()" between "romove(or add)ChildWindow" and "getUnclippedOuterRect()",and it 's not working all the same.
- Wed Jan 12, 2011 11:33
- Forum: Modifications / Integrations / Customisations
- Topic: [solved]VerticalLayoutContainer:getUnclippedOuterRect()
- Replies: 7
- Views: 7917
[solved]VerticalLayoutContainer:getUnclippedOuterRect()
For VerticalLayoutContainer,if you do something like this: (VerticalLayoutContainer *)vcPtr->removeChildAtPosition(2); rect = vcPtr->getUnclippedOuterRect(); you'll get wrong answer.The size of rect is previous,before removeChildWindow. Later,I did something like this: (vcPtr->setPosition(pos); rect...
- Tue Dec 28, 2010 09:32
- Forum: Modifications / Integrations / Customisations
- Topic: [solved]How to realize color palette ?
- Replies: 5
- Views: 5410
Re: How to realize color palette ?
CrazyEddie wrote:The technique is described more fully here: http://www.cegui.org.uk/wiki/index.php/ ... EGUI_0.7.x where I discuss using the technique for non-rectangular hit-testing of windows.
Got it in this way
![Smile :)](./images/smilies/icon_smile.gif)
- Thu Dec 23, 2010 07:52
- Forum: Help
- Topic: what's the update frequency in cegui?
- Replies: 3
- Views: 3472
Re: what's the update frequency in cegui?
I don't know where to call the function "Window::update()"
- Wed Dec 22, 2010 08:37
- Forum: Help
- Topic: what's the update frequency in cegui?
- Replies: 3
- Views: 3472
what's the update frequency in cegui?
better if anyone can talk about more information about this ![Very Happy :D](./images/smilies/icon_biggrin.gif)
![Very Happy :D](./images/smilies/icon_biggrin.gif)
- Thu Nov 25, 2010 07:35
- Forum: Modifications / Integrations / Customisations
- Topic: [solved] lua binding new c++ function
- Replies: 4
- Views: 5921
Re: lua binding new c++ function
It appears that 0.7.2 lacked some pkg files,and now problems were solved ![Very Happy :D](./images/smilies/icon_biggrin.gif)
![Very Happy :D](./images/smilies/icon_biggrin.gif)