Search found 51 matches
- Mon Feb 07, 2011 13:30
- Forum: Help
- Topic: CEGUI 0.7.5 is cool but we have a few issues.
- Replies: 8
- Views: 14085
Re: CEGUI 0.7.5 is cool but we have a few issues.
Thanks a lot for the rescale function, works great ! As for the panel, I seem to like to call it a panel instead of a pane :D I meant ScrollablePane-based widgets. Not a big issue, we've fixed it, it just made it look more obvious with 0.7.5. As for the message propagation, yes, I wrote a function t...
- Tue Feb 01, 2011 14:24
- Forum: Help
- Topic: CEGUI 0.7.5 is cool but we have a few issues.
- Replies: 8
- Views: 14085
Re: CEGUI 0.7.5 is cool but we have a few issues.
I came across a new issue, scrollable panels no longer scroll unless you scroll over the area of the scroll bar, which is kinda weird. I did some searching suggesting the MouseInputPropagationEnabled property but that thing does absolutely nothing. http://www.cegui.org.uk/phpBB2/search.php?keywords=...
- Mon Jan 31, 2011 16:18
- Forum: Help
- Topic: CEGUI 0.7.5 is cool but we have a few issues.
- Replies: 8
- Views: 14085
Re: CEGUI 0.7.5 is cool but we have a few issues.
As a side question, is there a way to enable color tags to multiline edit boxes ? I can add [colour='FF00FF00'] on a simple text widget but I can't on a multiline edit, which is what I'd prefer because of the vertical scrollbar/autoresize functionality. I only need it in read-only mode though.
- Sun Jan 30, 2011 12:25
- Forum: Help
- Topic: CEGUI 0.7.5 is cool but we have a few issues.
- Replies: 8
- Views: 14085
CEGUI 0.7.5 is cool but we have a few issues.
Hi, I'm pleased to announce that Dawntide has just upgraded to CEGUI 0.7.5 which is ~4 times faster than our last integration CEGUI 0.6.2. I'm quite impressed to be honest. Our UI is way more responsive now and doesn't hog the CPU anymore with quad updates when moving windows around. My thanks and g...
- Mon Apr 26, 2010 14:22
- Forum: Offtopic Discussion
- Topic: HorzAlignmentProperty
- Replies: 7
- Views: 4935
Re: HorzAlignmentProperty
Hm, ok this is kinda weird. I'm trying to set the alignment of a piece of text from a tab button to avoid duplicate definitions for just a single property changed. When I used what you gave me it aligned the tab in the center of it's parent window. How do I set the property for the text inside it ?
- Thu Apr 22, 2010 13:17
- Forum: Offtopic Discussion
- Topic: HorzAlignmentProperty
- Replies: 7
- Views: 4935
Re: HorzAlignmentProperty
Yeah like that one, although if you were suggesting setting it from code, I was sorta thinking to use it from the layout file. Or are you saying to just rename the value of the property from CenterAligned to Centre ? (saw the difference in spelling in the link you gave me)
- Wed Apr 21, 2010 15:37
- Forum: Offtopic Discussion
- Topic: HorzAlignmentProperty
- Replies: 7
- Views: 4935
HorzAlignmentProperty
This is killing me for some time and I'm either unaware of the correct spelling or such a feature doesn't exist. I'm using CEGUI 0.6.2 and I'm trying to make a definition for a widget that by default is center aligned and has horizontal alignment property, making it either left or right aligned on o...
- Tue Sep 22, 2009 10:34
- Forum: Help
- Topic: Rescaling a window to fit it's text
- Replies: 3
- Views: 2669
Re: Rescaling a window to fit it's text
Thanks for the code ! It was a StaticText which should be the DefaultWindow in code I figure. Anyway, it seems to work accurately and I can make an artist happy :D. This is the working code if anyone bumps through here looking for a quick solve (deleted a few consts, I know) : CEGUI::Rect getStaticT...
- Mon Sep 21, 2009 15:16
- Forum: Help
- Topic: Rescaling a window to fit it's text
- Replies: 3
- Views: 2669
Rescaling a window to fit it's text
Hi, Recently we began having the need to display a text in a box and rescale the text widget and the box accordingly so that it won't have big empty spaces when switching the text widget's contents. How do I determine the necesary size of a defaultwindow's text ? I know it is internally clipped for ...
- Thu Sep 10, 2009 10:20
- Forum: Help
- Topic: Double Click on scrollbars
- Replies: 4
- Views: 2575
Re: Double Click on scrollbars
Sorry, just realized it could be interpreted as clicking on the space between the buttons. I meant clicking on it's up/down buttons, and I haven't modified the step size for the scrollbar in question; it's length is ~ 1/3 * 1024.
- Tue Sep 08, 2009 16:01
- Forum: Help
- Topic: Double Click on scrollbars
- Replies: 4
- Views: 2575
Double Click on scrollbars
Hi,
This is pretty simple but I have no idea how to stop it. Double clicking on vertical scrollbars, or rather fast consecutive clicks make it scroll to bottom or to top instead of stepping. Is there a way to disable this behaviour ?
This is pretty simple but I have no idea how to stop it. Double clicking on vertical scrollbars, or rather fast consecutive clicks make it scroll to bottom or to top instead of stepping. Is there a way to disable this behaviour ?
- Tue Sep 08, 2009 11:13
- Forum: Help
- Topic: Window::getCaptureWindow() returns NULL
- Replies: 2
- Views: 1981
Re: Window::getCaptureWindow() returns NULL
Thanks ! This piece of code is the solve (in case someone's reading through the post) CEGUI::Editbox* getActiveEditbox() { using namespace CEGUI; Window* root = System::getSingleton().getGUISheet(); if (root) { Window* activeChild = root->getActiveChild(); if ((activeChild != 0) && activeChi...
- Mon Sep 07, 2009 12:12
- Forum: Help
- Topic: Window::getCaptureWindow() returns NULL
- Replies: 2
- Views: 1981
Window::getCaptureWindow() returns NULL
Hi, I'm trying to figure out if the user is in an editable window and typing stuff (so that it doesn't trigger key shortcuts) and I'm having a really bad time with this. When inside a MultiLineEditbox Window::getCaptureWindow() returns NULL, now why is that when I am clearly typing stuff in it ? I a...
- Fri Aug 21, 2009 10:31
- Forum: Help
- Topic: Mouse Hover Through ?
- Replies: 5
- Views: 3081
Re: Mouse Hover Through ?
Actually, you gave me an idea. I did have "pass through" on the hover frame but not on the arrow (I thought it should get the property through inheritance since it should be considered a surface from the parent window, I guess that doesn't apply ?). If we're going back or something I'll tr...
- Wed Aug 19, 2009 12:49
- Forum: Help
- Topic: Mouse Hover Through ?
- Replies: 5
- Views: 3081
Re: Mouse Hover Through ?
Here's a sample [img=http://img146.imageshack.us/img146/3928/guiissue.th.jpg] Every square widget (in the red rectangle) has a hover enter/leave function attached that shows and hides the anexed hover frame (in blue, it has an extra arrow attached outside of it, with ClippedByParent turned to false)...