Search found 58 matches

by daesdemon
Wed May 04, 2005 09:54
Forum: Modifications / Integrations / Customisations
Topic: Broken/missing fonts and widgets on windows
Replies: 1
Views: 1810

Re: Broken/missing fonts and widgets on windows

i use: CEGUI::Imageset* taharezImages = CEGUI::ImagesetManager::getSingleton().createImageset("TaharezLook.imageset"); mGUISystem->setDefaultMouseCursor(&taharezImages->getImage("MouseArrow")); CEGUI::FontManager::getSingleton().createF...
by daesdemon
Sun May 01, 2005 19:51
Forum: Modifications / Integrations / Customisations
Topic: Combo box not dropping
Replies: 5
Views: 3943

Re: Combo box not dropping

Hello,
The size of the combobox, is in fact the size of the dropdownList so i guess that your size is a little too small, perhaps.
by daesdemon
Sat Apr 30, 2005 09:27
Forum: Modifications / Integrations / Customisations
Topic: How to properly load and destroy layouts...?
Replies: 1
Views: 1982

Re: How to properly load and destroy layouts...?

I would use that to destroy the layout: Window * mRoot; // Your Main window Window *mLayout = 0; // Your Layout Window onButtonPressed(const CEGUI::EventArgs& e) { const WindowEventArgs& we = (const WindowEventArgs&)e; switch(we.window->getname()) ...
by daesdemon
Wed Apr 27, 2005 10:28
Forum: Offtopic Discussion
Topic: How can I create a irregular Window ?
Replies: 1
Views: 2655

Re: How can I create a irregular Window ?

I guess one way could be to code a new WidgetLook for CEGUI.

But i guess it is a long and quite difficult work.

Many little problems to manage.

Like , what will you return when the method getUnclippedInnerRect will be call for a circular window :)
by daesdemon
Wed Apr 27, 2005 10:22
Forum: Offtopic Discussion
Topic: convert CEGUI::String to a char array[] or char*
Replies: 2
Views: 3962

Re: convert CEGUI::String to a char array[] or char*

To have the const char * of a String, i think you can use:

const char* String::c_str();

So ek->window->getText().c_str() can be useful to get it ;)
by daesdemon
Fri Apr 22, 2005 12:00
Forum: Modifications / Integrations / Customisations
Topic: 0 Alpha Problem
Replies: 6
Views: 4086

Re: 0 Alpha Problem

Since you consider my talk are out of topic, i made some test for myself. I have a quite complex window and disable it or enable it for it to catch or not catch input events, and i found that i get no massive change of fps, so i am probably out of topic, sorry. :oops::hammer: 2FPS for event manageme...
by daesdemon
Fri Apr 22, 2005 10:55
Forum: Modifications / Integrations / Customisations
Topic: DestroyWindow strange behavior
Replies: 8
Views: 4758

Re: DestroyWindow strange behavior

Thx gcarlton, but as i says before it is not particular to my application. With the Ogre Gui Example, with a layout little more complex than the example one, i get one second delay, just by asking for "Load TestLayout" two times. So i don't think i will continue checking my program anymore...
by daesdemon
Thu Apr 21, 2005 16:10
Forum: Modifications / Integrations / Customisations
Topic: 0 Alpha Problem
Replies: 6
Views: 4086

Re: 0 Alpha Problem

So if i am wrong , use your hidden window which don't drop your FPS and use it ;). Hidden window is NOT transparent window, it is not rendered window and i am pretty sure it don't catch the input event (or it sends them back to parent) so less FPS Drop. So perhaps it is rendered , perhaps it is not,...
by daesdemon
Thu Apr 21, 2005 15:13
Forum: Modifications / Integrations / Customisations
Topic: DestroyWindow strange behavior
Replies: 8
Views: 4758

Re: DestroyWindow strange behavior

No , they are created dynamicaly :(
by daesdemon
Thu Apr 21, 2005 14:41
Forum: Modifications / Integrations / Customisations
Topic: DestroyWindow strange behavior
Replies: 8
Views: 4758

Re: DestroyWindow strange behavior

Thx linsquist for your clue I have tested to check with the Ogre Gui Example which take a layout and load it. I get the same behavior. I launch the Demo_Gui.exe I just click Load Test Layout, new and LoadTestLayout a second time, and it begins to block completly the application( mouse blocked). It i...
by daesdemon
Wed Apr 20, 2005 18:30
Forum: Modifications / Integrations / Customisations
Topic: DestroyWindow strange behavior
Replies: 8
Views: 4758

Re: DestroyWindow strange behavior

Thx lindquist, that's nice , but it doesn't explain why the second and after creations are so long. I have think about just show and hide, but the problem is that i have lots of objects i can edit or i will be able to edit , so i am not sure that keeping in memory all theses windows is a so good ide...
by daesdemon
Wed Apr 20, 2005 12:39
Forum: Modifications / Integrations / Customisations
Topic: DestroyWindow strange behavior
Replies: 8
Views: 4758

DestroyWindow strange behavior

Hello, I have a button whose behavior is to create or delete a frame window with close button enabled, like that: bool onButtonPressed(const EventArg&e) { if (!WindowManager::getSingletonPtr()->isWindowPresent(windowName)) { // Create Window } }...
by daesdemon
Wed Apr 20, 2005 12:23
Forum: Modifications / Integrations / Customisations
Topic: 0 Alpha Problem
Replies: 6
Views: 4086

Re: 0 Alpha Problem

I guess you cannot expect having a window acting like a not transparent one but without the fps drop of a normal window.

Even if the transparents windows were not drawed (i think it is not the case) , you surely get fps drop by events management system.
by daesdemon
Sat Apr 16, 2005 12:03
Forum: Modifications / Integrations / Customisations
Topic: Drag And Drop
Replies: 0
Views: 2881

Drag And Drop

Hello CEGUI fellows, Do someone have a code of an example of Drag and Drop under CEGUI? I have no global idea of how it should work. Do i have to create DragContainer myself after i click down an object i want dragable, or do i have to integrate it as a container of window that i want to be dragable...
by daesdemon
Sat Apr 16, 2005 11:28
Forum: CEGUI Library Development Discussion
Topic: Widget Development Question
Replies: 2
Views: 3766

Re: Widget Development Question

Thank you , lindquist.
I had a look in the implementation of windows look and have a better idea now of how it works. :)

Go to advanced search