> Is it possible to store private data in visual?

Visuals are supposed to be opaque to the user.  The only access to the visual is 
through the API.

> 
> I want to use visuals for textures and I want to store the filename of each in
> one visual.

I think I see what you are trying to do.  You could use a structure to associate the 
filename with the visual.

struct texture {  
   ggi_visual  vis;
   char*        filename;
};

Then work with the texture structure instead, dereferencing each member as appropriate 
when neccessary.

Just a thought,
Lee




  
-- 
Get your free email from www.linuxmail.org 


Powered by Outblaze

Reply via email to