Search found 14 matches

by stephb7
Mon Jan 16, 2006 13:22
Forum: Offtopic Discussion
Topic: How to inject win32 keys : source code
Replies: 11
Views: 13477

Re: How to inject win32 keys : source code

I finally figured out how to handle dead keys. Wikied here:
http://www.cegui.org.uk/wiki/index.php/ ... EGUI_utf32

Hope this helps.
by stephb7
Thu Jan 12, 2006 21:32
Forum: Offtopic Discussion
Topic: How to inject win32 keys : source code
Replies: 11
Views: 13477

Re: How to inject win32 keys : source code

I forgot to mention that my keycodeToUTF32() function is only able to convert single key characters. The letter é is obtained by pressing / on a french canadian keyboard, the letter É is obtained by pressing both the SHIFT and the / keys. The SHIFT, CONTROL, and CAPS-LOCK are not considered keys in ...
by stephb7
Thu Jan 12, 2006 21:13
Forum: Offtopic Discussion
Topic: How to inject win32 keys : source code
Replies: 11
Views: 13477

Re: How to inject win32 keys : source code

Thanks, specifying

guiFont->defineFontGlyphs(230, 250);

displayed my é but made me lose every other character. I'll look into creating a multi-lingual file to enable acceptable characters.
by stephb7
Thu Jan 12, 2006 20:10
Forum: Offtopic Discussion
Topic: How to inject win32 keys : source code
Replies: 11
Views: 13477

Re: How to inject win32 keys : source code

Here's my code to convert a DirectInput key into a CEGUI utf value. It sort of works. CEGUI::utf32 keycodeToUTF32( UINT keyCode) { CEGUI::utf32 utf = 0; // Retrieve the keyboard layout in order to perform the necessary convertions HKL hklKeyboardLayout = GetKeyboardLayout(0); // 0 means current thre...
by stephb7
Wed Dec 14, 2005 17:45
Forum: Offtopic Discussion
Topic: How to inject win32 keys : source code
Replies: 11
Views: 13477

Re: How to inject win32 keys : source code

I have not implemented my keyboard code yet but it will use the following functions to handle multilingual input: HKL hklKeyboardLayout = GetKeyboardLayout(0); // 0 means current thread // This seemingly cannot fail // If this value is cached then the application must respond to WM_INPUTLANGCHANGE B...
by stephb7
Fri Nov 11, 2005 13:08
Forum: Modifications / Integrations / Customisations
Topic: How to get custom buttons in a hud?
Replies: 16
Views: 11874

Re: How to get custom buttons in a hud?

The Dependencies v1.0.3 For Visual C++ .Net 2003 (7.1) contains CEGUITaharezLook_d.dll within samples/common/bin/debug. VC++ 6.0 and VC++ 7.0 also contain this DLL. This DLL is not part of the source; it is only present within the dependencies download.
by stephb7
Thu Nov 10, 2005 17:36
Forum: Modifications / Integrations / Customisations
Topic: How to get custom buttons in a hud?
Replies: 16
Views: 11874

Re: How to get custom buttons in a hud?

Found it. CEGUITaharezLook_d.dll is coming from the OgreDependencies file. Here's the link for the windows version: http://www.ogre3d.org/index.php?option= ... tcat&cat=4. Download the file appropriate for your compiler.
by stephb7
Thu Nov 10, 2005 12:38
Forum: Modifications / Integrations / Customisations
Topic: How to get custom buttons in a hud?
Replies: 16
Views: 11874

Re: How to get custom buttons in a hud?

For my project I modified Ogre_Plugins.cfg in order to lighten the contents of my application's root directory; RenderSystem_Direct3D7, RenderSystem_Direct3D9, RenderSystem_GL, Plugin_ParticleFX, Plugin_BSPSceneManager, Plugin_OctreeSceneManager, and Plugin_CgProgramManager are all moved into a Plug...
by stephb7
Thu Nov 10, 2005 00:01
Forum: Modifications / Integrations / Customisations
Topic: How to get custom buttons in a hud?
Replies: 16
Views: 11874

Re: How to get custom buttons in a hud?

CEGUITaharezLook_d.dll is present in my OgreSDK/bin/debug directory although I cannot figure out how it got there. Could you be missing the Ogre dependencies?
by stephb7
Wed Nov 09, 2005 16:02
Forum: Modifications / Integrations / Customisations
Topic: How to get custom buttons in a hud?
Replies: 16
Views: 11874

Re: How to get custom buttons in a hud?

Maybe I confused the systems. Maybe it's Ogre that does not compile everything; it's been a while, I don't remember the details. But since you are using the precompiled version of Ogre it should work. Still, the cegui log is pointing toward CEGUITaharezLook_d. Perform a search on this word "CEG...
by stephb7
Wed Nov 09, 2005 14:26
Forum: Modifications / Integrations / Customisations
Topic: How to get custom buttons in a hud?
Replies: 16
Views: 11874

Re: How to get custom buttons in a hud?

A DLL seems to be missing: Failed to load module 'CEGUITaharezLook_d'. If I remember correctly some modules are not set to build automatically with the MS Visual C++ .SLN project. Look into the "Build Manager", where you can see the list of projects and a checkmark to indicate whether to b...
by stephb7
Sun Nov 06, 2005 14:46
Forum: Modifications / Integrations / Customisations
Topic: Hidding the CEGUI mouse cursor using Ogre ( newbie question
Replies: 6
Views: 3945

Re: Hidding the CEGUI mouse cursor using Ogre ( newbie quest

I've had the same problem (also using Ogre) and solved it with the following code: void keyPressed(KeyEvent* e) { if (e->getKey() == KC_SYSRQ) { static size_t nb = 0; // Screenshot number String fileName = StringConverter::toString(nb++, 6, '0' ) + ".png"; bool bMouseVisible = CEGUI::Mouse...
by stephb7
Wed Nov 02, 2005 20:08
Forum: Modifications / Integrations / Customisations
Topic: Listbox with Clickable Text
Replies: 3
Views: 2784

Re: Listbox with Clickable Text

>>From that position I can find the word and determine if it is part of a link >>how do you pla to do this ? [font=Courier] This is a link ! 123456789012345 [/font] Letter positions 11 to 14 are part of a link and represent word 4 (using the space as the separating character). Thus a link could be d...
by stephb7
Wed Nov 02, 2005 14:36
Forum: Modifications / Integrations / Customisations
Topic: Listbox with Clickable Text
Replies: 3
Views: 2784

Listbox with Clickable Text

This would be useful in a chat window where links to items could be displayed. When clicking on a link a window would pop up detailing the item. Here's how I think it could be implemented and before I start coding, I'd like comments on whether I'm on the right track or completely off. First the tool...

Go to advanced search