nanogui: Use of docs an keyboard


Previous by date: 8 Jun 2001 19:17:19 -0000 Problem in repaint, Sridharan Subramanian
Next by date: 8 Jun 2001 19:17:19 -0000 Re: what need to do about Blit();, Greg Haerr
Previous in thread: 8 Jun 2001 19:17:19 -0000 Use of docs an keyboard, Doug Eleveld
Next in thread:

Subject: Re: [nanogui] Use of docs an keyboard
From: "Greg Haerr" ####@####.####
Date: 8 Jun 2001 19:17:19 -0000
Message-Id: <00e001c0f04f$5f7a3120$3aba46a6@xmission.com>

: I have been writing docs and I realized that the Nano-X tutorial in
: Microwindows is very similar to what I need to write for DEPUI.
: So I modified the text to fit DEPUI and put this text at the top
: of the file:
:
: "Much of this tutorial is taken from the Nano-X tutorial in the
:  Microwindows distribution. The two projects are quite similar and
:  I found the tutorial to be very clear and simple."

This looks fine for me.  Thanks for including the reference
to Microwindows.


: 2)
: DEPUI does have a semi-complete Nano-X driver, but I have had trouble
: getting Nano-X working for me to test it.
:
: case GR_EVENT_TYPE_KEY_DOWN:
:     if (e.keystroke.ch == GR_SPECIAL_KEY_ARROW_UP)
:     ....
:
: Is this the correct way for me to find out if the user pressed the up arrow
key?

Yes, except that in the newer versions, starting with v0.89pre7, the
keyboard driver and associated keystrokes have been rewritten.
The GR_SPECIAL_xxx defines are obsoleted, and MWKEY_xxx
values from microwin/src/include/mwtypes.h are used instead.
The keyvalue is supplied with a MWKMOD_xxx modifier value
that states which control/alt/shift etc keys are also down.
Also, you must GrSelectEvent() the up or down keystroke
events or you won't ever get them.

Regards,

Greg






:
: When (if) I get an OK about the use of the docs, I will announce the new
version.
:
: Doug
:
:
: ------------------------------------------------------------
: --== Sent via Deja.com ==--
: http://www.deja.com/
:
: ---------------------------------------------------------------------
: To unsubscribe, e-mail: ####@####.####
: For additional commands, e-mail: ####@####.####
:


Previous by date: 8 Jun 2001 19:17:19 -0000 Problem in repaint, Sridharan Subramanian
Next by date: 8 Jun 2001 19:17:19 -0000 Re: what need to do about Blit();, Greg Haerr
Previous in thread: 8 Jun 2001 19:17:19 -0000 Use of docs an keyboard, Doug Eleveld
Next in thread:


Powered by ezmlm-browse 0.20.