Search found 17 matches

by Durin
Thu Oct 18, 2007 14:29
Forum: Help
Topic: problem with drag & drop
Replies: 2
Views: 2633

If the framerate goes down to 40 frames per second it is quite a problem. And my detection of IO events is handled by the Ogre3D framelistener, thats the way it is done in the tutorials. Is there another way to do it, which will solve the problem?
by Durin
Tue Oct 09, 2007 18:11
Forum: Help
Topic: problem with drag & drop
Replies: 2
Views: 2633

problem with drag & drop

I created a slot, which can handle drag and drop events and i´m working together with Ogre 1.4.2 creating the slot: CEGUI::Window* slot; slot = CEGUI::WindowManager::getSingleton().createWindow(_lookName + "/StaticImage", name); parent->addChildWindow(slot); slot->s...
by Durin
Wed Aug 01, 2007 20:03
Forum: Help
Topic: subscribe event to DragDropSlot
Replies: 0
Views: 2784

subscribe event to DragDropSlot

I have a problem subscribing action to an event. I want to subscribe a method from a different class, which the subscriber function is in. The following method is in class1 and I want to subscribe to the CEGUI::Window::EventDragDropItemLeaves a method out of class2. The compiler says there is no con...
by Durin
Fri Jul 06, 2007 22:08
Forum: Help
Topic: Input under Linux
Replies: 6
Views: 4302

I solved the problem in another way. I added the functionality manually in my own inputhandler. It´s not very fine but i think it works. I have to test it (because i didn`t have a Linux system), but i hope it works.
by Durin
Fri Jul 06, 2007 10:55
Forum: Help
Topic: Input under Linux
Replies: 6
Views: 4302

I don't know X-lib at all. But if you could find this function to solve the problem and post it, it would make me happy ;-).
by Durin
Thu Jul 05, 2007 16:57
Forum: Help
Topic: Input under Linux
Replies: 6
Views: 4302

I`m not using SDL. I use only the methods
CEGUI::System::getSingleton().injectKeyUp(evt.key),
CEGUI::System::getSingleton().injectKeyDown(evt.key) and
CEGUI::System::getSingleton().injectChar(evt.text);
by Durin
Thu Jul 05, 2007 09:52
Forum: Help
Topic: Input under Linux
Replies: 6
Views: 4302

Input under Linux

The problem is that Cegui´s Inputsystem works fine under Windows, but under Linux special letters as ö, ä and ü (german language) are not accepted as input in an editbox. The System just does nothing if this key is pressed. Under Windows it works fine so far.
Thx for help
by Durin
Mon Jul 02, 2007 15:03
Forum: Help
Topic: Cast CEGUI::STRING to std::String Unicode
Replies: 5
Views: 4228

My Code is: std::string check; wchar_t* line = (wchar_t*)editbox->getText().ptr(); while(*line){ if(*line != 10) check += *line; line += 2; } After this the CEGUI::String from the editbox is written in std::string check. This works fine with Windows ...
by Durin
Mon Jul 02, 2007 06:51
Forum: Help
Topic: Cast CEGUI::STRING to std::String Unicode
Replies: 5
Views: 4228

I found a solution myself "cast is your friend".
Thx for help
by Durin
Sat Jun 30, 2007 15:01
Forum: Help
Topic: Cast CEGUI::STRING to std::String Unicode
Replies: 5
Views: 4228

I have just seen, that cegui doesn't know german codepage.
Can i get cegui::string with german codepage?
by Durin
Sat Jun 30, 2007 12:42
Forum: Help
Topic: Cast CEGUI::STRING to std::String Unicode
Replies: 5
Views: 4228

Cast CEGUI::STRING to std::String Unicode

Hi there, I have to cast a CEGUI::String to a C++ std::string. The problem is the CEGUI::String is Unicode and for Example ä, ö or ü (for german text) are not showen right in the std::string. My Code is: std::ostringstream buffer; buffer << editbox->getText(); std::string check = buffer.str&...
by Durin
Sun Jun 24, 2007 12:02
Forum: Help
Topic: Problem with empty method of multilineeditbox->gettext()
Replies: 2
Views: 2378

The length is 2. It can be that there is an /n in it because i need the Return button to send the event. hmmm
by Durin
Sat Jun 23, 2007 22:01
Forum: Help
Topic: Problem with empty method of multilineeditbox->gettext()
Replies: 2
Views: 2378

Problem with empty method of multilineeditbox->gettext()

Hi there, I have written a simple chat, and i want to check if the written string in the multilineeditbox is empty or not. The empty strings shouldn`t be add to the listbox. the problem is the call of editbox->getText().empty() everytime gives false and the written string is always add to the listbo...
by Durin
Wed May 16, 2007 19:04
Forum: Help
Topic: Exception: WindowFactoryManager::getFactory
Replies: 9
Views: 7298

Can you please send me your .scheme files and everything goes along with this like .lookandfeel file and so on. I´m not quite sure if I have the right once and I´m not good enough to proof them. Perhaps the fault is in the files depending on the Look.
by Durin
Wed May 16, 2007 15:47
Forum: Help
Topic: Exception: WindowFactoryManager::getFactory
Replies: 9
Views: 7298

I don´t want to use ExampleApplication.h because i want to work with ogre myself without the mighty ExampleApplication.h. I made changes in my Code like the code before and I get following errors now: 16/05/2007 17:40:45 (Error) Exception: WindowFactoryManager::getFactory - A WindowFactory object, a...

Go to advanced search