Search found 37 matches

by pav
Fri Mar 22, 2013 13:44
Forum: Modifications / Integrations / Customisations
Topic: ItemEntry: WindowRenderer for var height and word-wrapping
Replies: 6
Views: 14252

Re: ItemEntry: WindowRenderer for var height and word-wrappi

I've finally made some real progress. It seems that there are a few related problems and my code was triggering them randomly making it really hard to tell what's wrong. I still need some help but now I have a simplified testcase! It's a small CEGUI app (CEGUI from Mercurial, OGRE 1.8, OIS) that sho...
by pav
Tue Jan 22, 2013 11:26
Forum: Help
Topic: [Solved] Problem linking CEGUISampleFramework (boost/OGRE)
Replies: 4
Views: 4111

Re: Problem linking CEGUISampleFramework (boost/OGRE)

Thanks, I had to change the last line of "samples_framework/CMakeLists.txt" from:

Code: Select all

cegui_target_link_libraries(${CEGUI_TARGET_NAME} ${CEGUI_BASE_LIBNAME})


to

Code: Select all

cegui_target_link_libraries(${CEGUI_TARGET_NAME} ${CEGUI_BASE_LIBNAME} boost_system)
by pav
Tue Jan 22, 2013 10:55
Forum: Modifications / Integrations / Customisations
Topic: ItemEntry: WindowRenderer for var height and word-wrapping
Replies: 6
Views: 14252

Re: ItemEntry: WindowRenderer for var height and word-wrappi

Thanks, I will try the things you said and I'll get back to you.
by pav
Thu Jan 17, 2013 10:17
Forum: Help
Topic: [Solved] Problem linking CEGUISampleFramework (boost/OGRE)
Replies: 4
Views: 4111

Re: Problem linking CEGUISampleFramework (boost/OGRE)

Kulik wrote:This is a change in boost that they made in 1.50 release AFAIK. You have to link to boost_system now.

So it's CEGUI's build script that has to be updated, right? Or Ogre's? :? (aka "How to fix without studying for 2 days and nights")
by pav
Thu Jan 17, 2013 08:49
Forum: Help
Topic: [Solved] Problem linking CEGUISampleFramework (boost/OGRE)
Replies: 4
Views: 4111

[Solved] Problem linking CEGUISampleFramework (boost/OGRE)

I'm getting the following error when building from Mercurial. [ 67%] Linking CXX executable ../bin/CEGUISampleFramework /usr/bin/ld: CMakeFiles/CEGUISampleFramework.dir/src/SamplesFrameworkBase.cpp.o: undefined reference to symbol '_ZN5boost6system15system_categoryEv' /usr/bin/ld: note: '_ZN5boost6s...
by pav
Thu Jan 17, 2013 08:13
Forum: Modifications / Integrations / Customisations
Topic: ItemEntry: WindowRenderer for var height and word-wrapping
Replies: 6
Views: 14252

Re: ItemEntry: WindowRenderer for var height and word-wrappi

I see CE is back, answering all kinds of questions again. :D

Can you please point me in the right direction? I'll (try to) do the rest.
by pav
Sun Dec 09, 2012 15:07
Forum: Help
Topic: Disabling a Window from receiving an activation?
Replies: 1
Views: 2230

Re: Disabling a Window from receiving an activation?

I had the same problem, the only solution I found was: 1. subscribe to the Window::EventActivated event of the windows I don't want to receive focus 2. on the event handler, "queue" a call to activate() on the window that I want to receive the focus instead. This activate() has to be done ...
by pav
Wed Nov 21, 2012 07:54
Forum: Help
Topic: Scrolling to the top of a Static Text
Replies: 2
Views: 2270

Re: Scrolling to the top of a Static Text

Shouldn't

Code: Select all

descriptionArea->setText(ss.str());
CEGUI::ScrollablePane* desc = (CEGUI::ScrollablePane*)&descriptionArea;

be

Code: Select all

descriptionArea->setText(ss.str());
CEGUI::ScrollablePane* desc = (CEGUI::ScrollablePane*)descriptionArea;

?
by pav
Mon Oct 22, 2012 11:29
Forum: Help
Topic: PyCEGUI
Replies: 4
Views: 4090

Re: PyCEGUI

Maybe it's because you're using Python 3.2... I'm using Arch linux and I had to override the detection so it uses Python 2.7, like this: cmake . \ -DCMAKE_INSTALL_PREFIX:PATH=/usr \ -DCEGUI_SLOTTED_INSTALLATION:BOOL=OFF \ -DPYTHON_EXECUTABLE=/usr/bin/python2 \ -DPYTHON_LIBRARY=/usr/lib/libpython2.7....
by pav
Sun Oct 07, 2012 22:57
Forum: Help
Topic: HelpMePlease!Why can't I find "setDefaultMouseCursor(..)"
Replies: 1
Views: 2049

Re: HelpMePlease!Why can't I find "setDefaultMouseCursor(..)

See CEGUI::System::getSingleton().getDefaultGUIContext().getMouseCursor().setDefaultImage()
by pav
Fri Sep 21, 2012 08:38
Forum: Modifications / Integrations / Customisations
Topic: ItemEntry: WindowRenderer for var height and word-wrapping
Replies: 6
Views: 14252

Re: ItemEntry: WindowRenderer for var height and word-wrappi

OK, I still haven't solved it but I've made some progress. When the formatter tries to wrap the string (creating multiple lines, interally) in RenderedStringWordWrapper<T>::format(const Window* ref_wnd, const Sizef& area_size), area_size.d_width is -127. As a result, it keeps splitting the strin...
by pav
Wed Sep 19, 2012 01:46
Forum: Help
Topic: Problem integrating SDL and CEGUI
Replies: 2
Views: 2407

Re: Problem integrating SDL and CEGUI

I haven't used version 0.7 but from what I see on the wiki sample, as well as the code for the CEGUI samples here , you've forgotten the following code near the end of set_CEGUI_paths(): // Sets the default resource groups to be used: CEGUI::Imageset::setDefaultResourceGroup( "imagesets" )...
by pav
Mon Sep 17, 2012 06:57
Forum: Modifications / Integrations / Customisations
Topic: ItemEntry: WindowRenderer for var height and word-wrapping
Replies: 6
Views: 14252

ItemEntry: WindowRenderer for var height and word-wrapping

I tried to adapt the code sample from here to the latest version on Mercurial but I'm having a hard time. I think I'm close but I'm missing something. First, I want something like this: +-----------------------------------------------+ | [Fixed-width1] [Fixed-width2] [Flexible width | | with wrappin...
by pav
Sun Sep 16, 2012 04:00
Forum: Bug Reports, Suggestions, Feature Requests
Topic: [Resolved] ItemListbox redraw problem
Replies: 3
Views: 10639

[Resolved] ItemListbox redraw problem

Hello, I'm having some issues with the ItemListbox. I have one inside a tab page but, when I add an item to it, it won't show it until I a) add another item or b) click on the tab-page's button I've modified the TabControlDemo sample to use an ItemListbox and it has the same problem. ( Pastebin patc...

Go to advanced search