nanogui: shared resources
Subject:
Re: [nanogui] shared resources
From:
"Greg Haerr" ####@####.####
Date:
21 Aug 2007 18:59:49 +0100
Message-Id: <395a01c7e41d$093f5b00$0300a8c0@RDP>
: 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