nanogui: Thread: Re: On integrating application and nano-X, and new question


[<<] [<] Page 1 of 1 [>] [>>]
Subject: Re: On integrating application and nano-X, and new question
From: ####@####.####
Date: 11 Feb 2003 23:59:17 -0000
Message-Id: <OF5534864E.6C4319BF-ON86256CCA.00813747@bjservices.com>


OK, I figured out the application-server link. I set the LINK APPLICATION
to Y and rebuilt the code.
Then recompile/link target.o libnano-X.a libmwengine.a libmwdrivers.a and
libmwfonts.a

The speed-up is super.

Today's question is what would the best method be to use a linux kernel
timer(i have it running) with nano-X GrCheckNextEvent?
The kernel is set up jump to a function on timer. I like that, but how to
integrate into nano-x event trap?
I do not want to use the nano-X timer. The only thing i see is inject a
keyboard event but this does not seem prudent.
bv







Bruce Vicknair
02/06/2003 02:24 PM

To:    ####@####.####
cc:

Subject:    On integrating application and nano-X

Hello,
All is going well on my embedded arm project. I now want to have nano-X and
the application together.
I have read the #5592 thread and saw the bash script. I do not understand
why it is necessary to link in the mwengine,
mwdrivers etc. Are these linked into nano-X anyway and when integrating the
application, they are explicitly linked?

What would be on the " LIBS=${LIBS} " line for a nano-X application?

I currently link the application and libnano-X.a

No window manager.


thanks for the help.
bv





Subject: Re: [nanogui] Re: On integrating application and nano-X, and new question
From: "Greg Haerr" ####@####.####
Date: 12 Feb 2003 04:15:19 -0000
Message-Id: <061001c2d24c$36545880$6401a8c0@gregnewport>

> Today's question is what would the best method be to use a linux kernel
> timer(i have it running) with nano-X GrCheckNextEvent?
> The kernel is set up jump to a function on timer. I like that, but how to
> integrate into nano-x event trap?
> I do not want to use the nano-X timer. The only thing i see is inject a
> keyboard event but this does not seem prudent.

Two methods: either use the GrPrepareSelect(), your own select(),
then GrHandleEvent(); or possibly use GrGetNextEventTimeout().

Regards,

Greg
[<<] [<] Page 1 of 1 [>] [>>]


Powered by ezmlm-browse 0.20.