nanogui: flnx and key_event!


Previous by date: 13 Jul 2004 10:03:44 +0100 Re: GrGetGCTextSize bug with .ttf fonts?, Greg Haerr
Next by date: 13 Jul 2004 10:03:44 +0100 noisy output of nxlib!?, Steven Scholz
Previous in thread:
Next in thread:

Subject: flnx and key_event!
From: "Ronnie Wang" ####@####.####
Date: 13 Jul 2004 10:03:44 +0100
Message-Id: <000c01c468b8$70306ef0$704912ac@cn.utstarcom.com>

Hello all!
 I want realize a demo like the flnx/test/button.cxx and replace the
mouse event with key event.
For example I use the Tab key to switch between the button Beep , noop
and Exit(three buttons within the button demo) 
and when I knock on one key(expect  the Tab key) the button down and
release the key the button up.
How to realize this!! 
Any hint is helpful and thanks advance!!!!
 
It is to say how can I capture the keyboard event as the Nano-X's
GrGetNextEvent and realize different function  according to the key
type.
  
Best Regard
 
Ronnie Wang(Wang Xingqiang)
 
UTStarcom Telecom Co., Ltd.
#129 WenYi Road, Hangzhou,
31002  P.R. China
 
Tel: (086-571) 8886-2342 ext. 6138
Email: ####@####.####
************************************
 

Previous by date: 13 Jul 2004 10:03:44 +0100 Re: GrGetGCTextSize bug with .ttf fonts?, Greg Haerr
Next by date: 13 Jul 2004 10:03:44 +0100 noisy output of nxlib!?, Steven Scholz
Previous in thread:
Next in thread:


Powered by ezmlm-browse 0.20.