i have a performance issue with a Listbox and about 100 items into...
this is the code:
Code: Select all
for(size_t i = 0; i < sounds.size(); i++){
CEGUI::Listbox* list = static_cast<CEGUI::Listbox*>(wmgr.getWindow("Root/SoundSelector/FolderList"));
CEGUI::ListboxTextItem* item = new CEGUI::ListboxTextItem(sounds.at(i));
item->setSelectionBrushImage("Vanilla-Images", "GenericBrush");
item->setID(i);
list->addItem(item);
}
This problem is only in debug mode...the window is too slow (also application loading).... in release mode is all ok.
cegui log?
only this "property" error:
28/01/2009 18:55:08 (Error) CEGUI::UnknownObjectException in file d:\temp\cegui-0.6.2-vc9\src\ceguifontmanager.cpp(255) : FontManager::getFont - A Font object with the specified name 'DejaVuSans-10' does not exist within the system
28/01/2009 18:55:08 (Error) CEGUI::UnknownObjectException in file d:\temp\cegui-0.6.2-vc9\src\ceguifontmanager.cpp(255) : FontManager::getFont - A Font object with the specified name 'DejaVuSans-10' does not exist within the system
28/01/2009 18:55:08 (Error) CEGUI::UnknownObjectException in file d:\temp\cegui-0.6.2-vc9\src\ceguipropertyset.cpp(124) : There is no Property named 'UseStandardImagery' available in the set.
28/01/2009 18:55:08 (Error) CEGUI::UnknownObjectException in file d:\temp\cegui-0.6.2-vc9\src\ceguipropertyset.cpp(124) : There is no Property named 'NormalImage' available in the set.
28/01/2009 18:55:08 (Error) CEGUI::UnknownObjectException in file d:\temp\cegui-0.6.2-vc9\src\ceguipropertyset.cpp(124) : There is no Property named 'HoverImage' available in the set.
28/01/2009 18:55:08 (Error) CEGUI::UnknownObjectException in file d:\temp\cegui-0.6.2-vc9\src\ceguipropertyset.cpp(124) : There is no Property named 'PushedImage' available in the set.
28/01/2009 18:55:08 (Error) CEGUI::UnknownObjectException in file d:\temp\cegui-0.6.2-vc9\src\ceguipropertyset.cpp(124) : There is no Property named 'UseStandardImagery' available in the set.
28/01/2009 18:55:08 (Error) CEGUI::UnknownObjectException in file d:\temp\cegui-0.6.2-vc9\src\ceguipropertyset.cpp(124) : There is no Property named 'NormalImage' available in the set.
28/01/2009 18:55:08 (Error) CEGUI::UnknownObjectException in file d:\temp\cegui-0.6.2-vc9\src\ceguipropertyset.cpp(124) : There is no Property named 'HoverImage' available in the set.
28/01/2009 18:55:08 (Error) CEGUI::UnknownObjectException in file d:\temp\cegui-0.6.2-vc9\src\ceguipropertyset.cpp(124) : There is no Property named 'PushedImage' available in the set.
28/01/2009 18:55:08 (Error) CEGUI::UnknownObjectException in file d:\temp\cegui-0.6.2-vc9\src\ceguipropertyset.cpp(124) : There is no Property named 'UseStandardImagery' available in the set.
28/01/2009 18:55:08 (Error) CEGUI::UnknownObjectException in file d:\temp\cegui-0.6.2-vc9\src\ceguipropertyset.cpp(124) : There is no Property named 'NormalImage' available in the set.
28/01/2009 18:55:08 (Error) CEGUI::UnknownObjectException in file d:\temp\cegui-0.6.2-vc9\src\ceguipropertyset.cpp(124) : There is no Property named 'HoverImage' available in the set.
28/01/2009 18:55:08 (Error) CEGUI::UnknownObjectException in file d:\temp\cegui-0.6.2-vc9\src\ceguipropertyset.cpp(124) : There is no Property named 'PushedImage' available in the set.
28/01/2009 18:55:08 (Error) CEGUI::UnknownObjectException in file d:\temp\cegui-0.6.2-vc9\src\ceguipropertyset.cpp(124) : There is no Property named 'UseStandardImagery' available in the set.
28/01/2009 18:55:08 (Error) CEGUI::UnknownObjectException in file d:\temp\cegui-0.6.2-vc9\src\ceguipropertyset.cpp(124) : There is no Property named 'NormalImage' available in the set.
28/01/2009 18:55:08 (Error) CEGUI::UnknownObjectException in file d:\temp\cegui-0.6.2-vc9\src\ceguipropertyset.cpp(124) : There is no Property named 'HoverImage' available in the set.
28/01/2009 18:55:08 (Error) CEGUI::UnknownObjectException in file d:\temp\cegui-0.6.2-vc9\src\ceguipropertyset.cpp(124) : There is no Property named 'PushedImage' available in the set.
28/01/2009 18:55:08 (Std) ---- Successfully completed loading of GUI layout from 'FileDialog.layout' ----
28/01/2009 18:55:08 (Error) CEGUI::UnknownObjectException in file d:\temp\cegui-0.6.2-vc9\src\ceguifontmanager.cpp(255) : FontManager::getFont - A Font object with the specified name 'DejaVuSans-10' does not exist within the system
28/01/2009 18:55:08 (Error) CEGUI::UnknownObjectException in file d:\temp\cegui-0.6.2-vc9\src\ceguipropertyset.cpp(124) : There is no Property named 'UseStandardImagery' available in the set.
28/01/2009 18:55:08 (Error) CEGUI::UnknownObjectException in file d:\temp\cegui-0.6.2-vc9\src\ceguipropertyset.cpp(124) : There is no Property named 'NormalImage' available in the set.
28/01/2009 18:55:08 (Error) CEGUI::UnknownObjectException in file d:\temp\cegui-0.6.2-vc9\src\ceguipropertyset.cpp(124) : There is no Property named 'HoverImage' available in the set.
28/01/2009 18:55:08 (Error) CEGUI::UnknownObjectException in file d:\temp\cegui-0.6.2-vc9\src\ceguipropertyset.cpp(124) : There is no Property named 'PushedImage' available in the set.
28/01/2009 18:55:08 (Error) CEGUI::UnknownObjectException in file d:\temp\cegui-0.6.2-vc9\src\ceguipropertyset.cpp(124) : There is no Property named 'UseStandardImagery' available in the set.
28/01/2009 18:55:08 (Error) CEGUI::UnknownObjectException in file d:\temp\cegui-0.6.2-vc9\src\ceguipropertyset.cpp(124) : There is no Property named 'NormalImage' available in the set.
28/01/2009 18:55:08 (Error) CEGUI::UnknownObjectException in file d:\temp\cegui-0.6.2-vc9\src\ceguipropertyset.cpp(124) : There is no Property named 'HoverImage' available in the set.
28/01/2009 18:55:08 (Error) CEGUI::UnknownObjectException in file d:\temp\cegui-0.6.2-vc9\src\ceguipropertyset.cpp(124) : There is no Property named 'PushedImage' available in the set.
28/01/2009 18:55:08 (Error) CEGUI::UnknownObjectException in file d:\temp\cegui-0.6.2-vc9\src\ceguipropertyset.cpp(124) : There is no Property named 'UseStandardImagery' available in the set.
28/01/2009 18:55:08 (Error) CEGUI::UnknownObjectException in file d:\temp\cegui-0.6.2-vc9\src\ceguipropertyset.cpp(124) : There is no Property named 'NormalImage' available in the set.
28/01/2009 18:55:08 (Error) CEGUI::UnknownObjectException in file d:\temp\cegui-0.6.2-vc9\src\ceguipropertyset.cpp(124) : There is no Property named 'HoverImage' available in the set.
28/01/2009 18:55:08 (Error) CEGUI::UnknownObjectException in file d:\temp\cegui-0.6.2-vc9\src\ceguipropertyset.cpp(124) : There is no Property named 'PushedImage' available in the set.
28/01/2009 18:55:08 (Error) CEGUI::UnknownObjectException in file d:\temp\cegui-0.6.2-vc9\src\ceguipropertyset.cpp(124) : There is no Property named 'UseStandardImagery' available in the set.
28/01/2009 18:55:08 (Error) CEGUI::UnknownObjectException in file d:\temp\cegui-0.6.2-vc9\src\ceguipropertyset.cpp(124) : There is no Property named 'NormalImage' available in the set.
28/01/2009 18:55:08 (Error) CEGUI::UnknownObjectException in file d:\temp\cegui-0.6.2-vc9\src\ceguipropertyset.cpp(124) : There is no Property named 'HoverImage' available in the set.
28/01/2009 18:55:08 (Error) CEGUI::UnknownObjectException in file d:\temp\cegui-0.6.2-vc9\src\ceguipropertyset.cpp(124) : There is no Property named 'PushedImage' available in the set.
28/01/2009 18:55:08 (Std) ---- Successfully completed loading of GUI layout from 'SoundSelector.layout' ----
ps ONLY the window with listbox is "in Matrix mode", others windows NO
thanks in advance, Martin

