Search found 15 matches

by leonardoalt
Fri Mar 20, 2009 00:05
Forum: Help
Topic: Focus is not working for me
Replies: 5
Views: 3178

Hmmmm, i understood.
Thanks for the informations, CE.

Best regards, Leonardo.
by leonardoalt
Wed Mar 18, 2009 00:24
Forum: Help
Topic: Focus is not working for me
Replies: 5
Views: 3178

I don't know if it helps, but i tryed the methods "hide()" and "setEnabled(false)" instead of "activate()", and both worked, only "activate()" didn't.
by leonardoalt
Tue Mar 17, 2009 16:42
Forum: Help
Topic: Focus is not working for me
Replies: 5
Views: 3178

W, in this case is a PushButton.
In the method, i got the WindowManager*, and from it, got the button i wanted:
Window* w = WMngr->getWindow("ContinueButton");
w->activate();
by leonardoalt
Tue Mar 17, 2009 01:18
Forum: Help
Topic: Focus is not working for me
Replies: 5
Views: 3178

Focus is not working for me

I want to add keyboard input to my Menu. Mouse input is working great.
I did w->activate() when something i decided happens, but it didn't get the "effect" (focus) that it gets when the mouse is over it.
Any ideia of what i need to do?

Thanks.
by leonardoalt
Sun Mar 08, 2009 00:44
Forum: Help
Topic: Text is not working with SleekSpace skin
Replies: 7
Views: 5196

Thanks for reply.
I tried both ways, but it keeps not working.
Using the code way, it enters in the "if", it loads the font.. the code passes through it..
but the buttons' texts do not appear..

I think i'll keep using AquaLook skin.

Thanks for the help.
by leonardoalt
Sat Mar 07, 2009 16:18
Forum: Help
Topic: Text is not working with SleekSpace skin
Replies: 7
Views: 5196

Text is not working with SleekSpace skin

Hi there. I am using AquaLook skin for my project, and it's working great. I did a test today, using SleekSpace cuz i found it nice too, but the texts i have in my GUI do not appear. The font used in AquaLook is loaded inside AquaLookSkin.scheme, and no C++ code is used to load it. But in SleekSpace...
by leonardoalt
Thu Nov 20, 2008 11:41
Forum: Modifications / Integrations / Customisations
Topic: Resizing SDL Ogre window without resizing CEGUI elements
Replies: 11
Views: 15084

Ben811

How did you resized Ogre Window?
I am doing this too.
I did SDL resize, CEGUI resize, but I can not do Ogre resize.

How did you do it?

Thanks.
by leonardoalt
Mon Nov 17, 2008 17:18
Forum: Modifications / Integrations / Customisations
Topic: ListboxItem or ListboxTextItem?
Replies: 11
Views: 10738

And when I do this: ListboxItem* item; item = new ListboxTextItem("640 x 480"); item->setTextColours(colour(0.f, 0.f, 0.f)); vmCombo->addItem(item); I get these errors: ./Source/Definitions/MenuInput.cpp:120: erro: cannot convert ‘CEGUI::ListboxTextItem*’ to ‘CEGUI::ListboxItem*’ in assign...
by leonardoalt
Mon Nov 17, 2008 17:08
Forum: Modifications / Integrations / Customisations
Topic: ListboxItem or ListboxTextItem?
Replies: 11
Views: 10738

The code: bool MenuInput::ConfigurationsButton(const EventArgs& rEvent) { try { CEGUI::WindowManager* WMngr = CEGUI::WindowManager::getSingletonPtr(); CEGUI::Window* WRoot = CEGUI::System::getSingleton().getGUISheet(); FrameWindow* WFrame = (FrameWindow*)WRoot->getChild("MainMenu"); WF...
by leonardoalt
Sat Nov 08, 2008 16:13
Forum: Modifications / Integrations / Customisations
Topic: ListboxItem or ListboxTextItem?
Replies: 11
Views: 10738

Ok, I'll post the code here later (do not have it here now). I used these includes: #include <CEGUI/CEGUI.h> #include <CEGUI/elements/CEGUIListboxItem.h> #include <CEGUI/elements/CEGUIListboxTextItem.h> #include <CEGUI/elements/CEGUICombobox.h> Need something more? Thanks for all.
by leonardoalt
Fri Nov 07, 2008 19:48
Forum: Modifications / Integrations / Customisations
Topic: ListboxItem or ListboxTextItem?
Replies: 11
Views: 10738

Yes, I read the API reference, and that's why I can not understand the error

"no matching function for call to ‘CEGUI::Combobox::addItem(CEGUI::ListboxTextItem*&)’"
by leonardoalt
Fri Nov 07, 2008 10:38
Forum: Help
Topic: Error in ListboxTextItem
Replies: 4
Views: 2704

I think the problem is the cast too.
But I used it cuz combobox->addItem does not receives ListboxTextItem, only ListboxItem, right?
(Sorry for making the same question in two different topics)
by leonardoalt
Fri Nov 07, 2008 10:35
Forum: Modifications / Integrations / Customisations
Topic: ListboxItem or ListboxTextItem?
Replies: 11
Views: 10738

Ok, thanks, I'll post later, I do not have the code here.
One doubt for now:
Can combobox->addItem receive a ListboxTextItem? Or only ListboxItem?

Thank you.
by leonardoalt
Fri Nov 07, 2008 01:27
Forum: Modifications / Integrations / Customisations
Topic: ListboxItem or ListboxTextItem?
Replies: 11
Views: 10738

ListboxItem or ListboxTextItem?

Hello. I saw an example of how to use a Combobox and ListboxTextItem. A piece of the code: CEGUI::ListboxTextItem *item = new CEGUI::ListboxTextItem( "Disabled", 1 ); combobox->addItem( item ); item = new CEGUI::ListboxTextItem( "Bottom", 2 ); combobox->addItem( item ); item = ne...
by leonardoalt
Thu Nov 06, 2008 18:53
Forum: Help
Topic: Error in ListboxTextItem
Replies: 4
Views: 2704

Error in ListboxTextItem

Hi. I made a Combobox, and when I make a loop to fill the combobox with items, sometimes it works sometimes not. When it not works, the program just close, without error messages, anything. Can anyone help me? I tried the following code: Combobox* vmCombo = (Combobox*)WMngr->createWindow("AquaL...

Go to advanced search