Greg Haerr
2007-08-21 17:59:35 UTC
: I'm currently working on very small keyboard oriented widget library on
nano-X.
: And now I'm about to implement skin support, but there are some problems
with
: shared resources perhaps somebody will know. I need to share one image
: among all applications ( button backgrounds, various margins and so ).
: Is there any mechanism to do this? It's IMHO done via Atoms in regular
: xserver but
: I can't found similar functionality in nano-X.
Cyril -
I had thought we implemented Atoms in nano-X, but it looks
like it was only implemented in NXLIB, as a wrapper.
You might be able to quickly implement this with a mod
using nxlib/Atom.c and adding a single atom property
into the GR_WM_PROPERTIES struct... In this
way your application could build/manage the Atom,
and only pass and return a single unsigned long into
and from the Properties struct.
Regards,
Greg
nano-X.
: And now I'm about to implement skin support, but there are some problems
with
: shared resources perhaps somebody will know. I need to share one image
: among all applications ( button backgrounds, various margins and so ).
: Is there any mechanism to do this? It's IMHO done via Atoms in regular
: xserver but
: I can't found similar functionality in nano-X.
Cyril -
I had thought we implemented Atoms in nano-X, but it looks
like it was only implemented in NXLIB, as a wrapper.
You might be able to quickly implement this with a mod
using nxlib/Atom.c and adding a single atom property
into the GR_WM_PROPERTIES struct... In this
way your application could build/manage the Atom,
and only pass and return a single unsigned long into
and from the Properties struct.
Regards,
Greg