CS documentation annotated by bjorn
nobody <[email protected]>
| Newsgroups | gmane.comp.graphics.crystalspace.docs |
|---|---|
| Message-ID | <[email protected]> |
Author: bjorn
E-Mail: bjorn at bjorn dot com
Topic: Crystal_Space:_Simple_Base_Code
File: http://crystal.sourceforge.net/docs/online/manual/cs_85.php?action=showadd
Time: Thu, 06 May 2004 (17:34 UTC) (1083864874)
Comment:
KeyEvents have changed. csevKeyDown has been removed. The correct way to check for keypresses is instead:
else if ((ev.Type == csevKeyboard) &&
(csKeyEventHelper::GetEventType(&ev) ==
csKeyEventTypeDown) &&
(csKeyEventHelper::GetCookedCode(&ev) ==
CSKEY_ESC))
You also have to include "csutil/event.h"
-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3