Search found 31 matches

by Blakharaz
Tue Aug 08, 2006 09:41
Forum: User Projects
Topic: Rastullahs Lockenpracht 0.2 - 2nd Techdemo released
Replies: 2
Views: 6060

Rastullahs Lockenpracht 0.2 - 2nd Techdemo released

In the past days we released our 2nd tech demo and because we use CEGUI (since Version 0.2 to Version 0.4 for now) for our user interface we would like to present it in this forum. We use Falagard with a custom look'n'feel. All GUI windows are defined in XML-Files and almost no UI elements are creat...
by Blakharaz
Wed Jan 11, 2006 00:14
Forum: CEGUI Library Development Discussion
Topic: [BUG] Infinite loop with progress bar
Replies: 2
Views: 4594

Re: [BUG] Infinite loop with progress bar

Okay, I found out more details: We have a progress bar with frame and inner parts ("status_filling"). The inner part is <HorzFormat type="Tiled" />. If I remove this by surrounding with XML comments, the crash won't happen. Full code is: <WidgetLook name="RastullahLook/Statu...
by Blakharaz
Tue Jan 10, 2006 10:05
Forum: CEGUI Library Development Discussion
Topic: [BUG] Infinite loop with progress bar
Replies: 2
Views: 4594

[BUG] Infinite loop with progress bar

Hi, I noticed some problem with our customized progress bar. It is composed of three parts (left | middle, which can change it's length | right). When the progress bar is set to a very low value, the application hangs and more and more memory is consumed (I killed it on 1.2 GB). It seems the cause i...
by Blakharaz
Tue Sep 27, 2005 11:11
Forum: Modifications / Integrations / Customisations
Topic: PopupMenu
Replies: 4
Views: 3879

Re: PopupMenu

You are trying to insert an instance of StaticText (statically casted into an ItemEntry) into the popup menu. The class MenuItem is the one you need, so try to use the line mIEInventoryDetail = (CEGUI::ItemEntry *)mWinMgr->createWindow( (CEGUI::utf8*)"TaharezLook/MenuItem&qu...
by Blakharaz
Tue Sep 06, 2005 12:29
Forum: CEGUI Library Development Discussion
Topic: A doubt abou popmenu
Replies: 5
Views: 6629

Re: A doubt abou popmenu

Just use PopupMenuItem instead of just MenuItem, that should do. To provide a complete menu bar in a XML file use something like <Window Type="Look/Menubar" Name="MainMenu"> <Window Type="Look/MenubarItem" Name="MainMenu/Item1"> <Property Name="Text"...
by Blakharaz
Mon Sep 05, 2005 08:50
Forum: CEGUI Library Development Discussion
Topic: A doubt abou popmenu
Replies: 5
Views: 6629

Re: A doubt abou popmenu

You are using this C cast MenuItem* item = (MenuItem*)pop->getParent(); So every parent of pop is cast to a MenuItem pointer. You can't call a method on this pointer if it is NULL (I bet this is the case, since the else branch includes the case of item being NULL) or not a MenuItem. ...
by Blakharaz
Fri Sep 02, 2005 09:01
Forum: Modifications / Integrations / Customisations
Topic: HELP: PopMenu
Replies: 2
Views: 2976

Re: HELP: PopMenu

Have you used CEGUI before? You have two possibilities, design your menu by creating XML files or creating it by program code. See http://www.cegui.org.uk/wiki/index.php/The_Beginner_Guide_to_Creating_a_CEGUI_Window, Popupmenus are in WindowsLook only. Create a PopupMenu, then add PopupMenuItems as ...
by Blakharaz
Thu Sep 01, 2005 21:06
Forum: Modifications / Integrations / Customisations
Topic: Tooltips in Listboxes
Replies: 7
Views: 5133

Re: Tooltips in Listboxes

Setting the tooltip's owner did the trick. Thanks for your help. I submitted a patch against the 0.4 CVS branch on SourceForge.
by Blakharaz
Thu Sep 01, 2005 13:54
Forum: Modifications / Integrations / Customisations
Topic: window set
Replies: 2
Views: 2589

Re: window set

If you want to change things beyond the images, like the text color of a whole widget class, you could copy the whole TaharezLook or WindowsLook to your own look DLL. Rename all the classes and the Look-Strings, compile it into your own DLL and change the scheme to use it. This is what we did. Or yo...
by Blakharaz
Thu Sep 01, 2005 08:30
Forum: Modifications / Integrations / Customisations
Topic: mouse cursonr won't display
Replies: 4
Views: 3816

Re: mouse cursonr won't display

I fear, factor 100 is too small. CEGUI wants to have pixel coordinates for the movements. You'll have to use something like CEGUI::Renderer* renderer = System::getSingleton().getRenderer(); System::getSingleton().injectMouseMove( e->getRelX() * renderer->getWidth&...
by Blakharaz
Thu Sep 01, 2005 00:50
Forum: Modifications / Integrations / Customisations
Topic: Tooltips in Listboxes
Replies: 7
Views: 5133

Re: Tooltips in Listboxes

Okay, it's almost done. http://team-pantheon.de/~blakharaz/cegui/trial2_item1.jpg http://team-pantheon.de/~blakharaz/cegui/trial2_item2.jpg But I noticed a little bug with the tooltip: If the mouse pointer is not over an item, I change the text to "" which hides the tooltip. But if I go ov...
by Blakharaz
Tue Aug 30, 2005 15:20
Forum: Modifications / Integrations / Customisations
Topic: mouse cursonr won't display
Replies: 4
Views: 3816

Re: mouse cursonr won't display

Do you inject mouse movement into CEGUI? IMHO the pointer isn't rendered if you never move the mouse.
by Blakharaz
Mon Aug 29, 2005 22:24
Forum: Modifications / Integrations / Customisations
Topic: Tooltips in Listboxes
Replies: 7
Views: 5133

Re: Tooltips in Listboxes

Okay, I tried to do this. But it seems that tooltips are not resized very often (and I found no auto-resize like in the menus). My code is void Listbox::onMouseMove(MouseEventArgs& e) { Point posi = relativeToAbsolute(screenToWindow(e.position)); ListboxItem* item = ...
by Blakharaz
Wed Aug 24, 2005 17:35
Forum: Modifications / Integrations / Customisations
Topic: Tooltips in Listboxes
Replies: 7
Views: 5133

Tooltips in Listboxes

Hi, I created a listbox item showing an image (see https://sourceforge.net/tracker/index.php?func=detail&aid=1268750&group_id=93749&atid=605424). But I like to show a tooltip with a short description when the user moves the mouse cursor over the image, how can I do this, ListboxItem can'...
by Blakharaz
Wed Feb 23, 2005 14:00
Forum: Modifications / Integrations / Customisations
Topic: Crash at the scheme loading
Replies: 21
Views: 13513

Re: Crash at the scheme loading

I have the same problem with Ogre 1.0 (from Ogre's v1-0 CVS branch) and CEGUI 0.2 (currently in debug mode). After reading the configuration file the block end causes the RawDataContainer to be deleted and this ends up in a memory error The (shortened) call stack is msvcr71d.dll!_CrtIsValidHeapPoint...

Go to advanced search