nanogui@linuxhacker.org
nanogui@linuxhacker.org
: Hi, I want to port some X11 program to Nano-X, but I don't know those
differences between X11 and Nano-X, for example, as the tittle, how to translate
(XEvent)event.xany.window to Nano-X. Thanks.
Your best bet is a bit of study. Take a look at microwin/src/include/nano-X.h
and study the EVENT structures. The wid member for instance
is similar to the .window member. You'll find that Nano-X and X11
are very similar in concept, except for the color model.
Regards,
Greg
nanogui@linuxhacker.org