home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: alt.toolkits.xview
- Path: sparky!uunet!cs.utexas.edu!convex!riogrande.cs.tcu.edu!cinnamon
- From: cinnamon@sabine.cs.tcu.edu (Todd Cinnamon)
- Subject: trying to load xview .icon files during runtime...
- Message-ID: <1993Jan25.012629.24301@riogrande.cs.tcu.edu>
- Sender: cinnamon@riogrande.cs.tcu.edu (Todd Cinnamon)
- Organization: Texas Christian University
- Date: Mon, 25 Jan 1993 01:26:29 GMT
- Lines: 17
-
- Here's the problem: I'm trying to create a Server_image from data contained
- in a .icon file. The files are usually (but not always) in a C source
- readable form, but I want to do this process during runtime and do not
- wish to invoke the C compiler everytime I need a new icon.
-
- For example, I have "$OPENWINHOME/include/images/GILfile_glyph.icon" and
- want to create a Server_image, but can't do:
-
- short image_bits[] = {
- #include <images/GILfile_glyph.icon>
- };
-
- since I need to determine the icon I really need during runtime.
-
- How can I create the Server_image using one of these .icon files?
-
- Thanks in advance for your kind and thoughtful responses.
-