home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / alt / toolkits / xview / 1237 < prev    next >
Encoding:
Text File  |  1993-01-25  |  1.0 KB  |  28 lines

  1. Newsgroups: alt.toolkits.xview
  2. Path: sparky!uunet!cs.utexas.edu!convex!riogrande.cs.tcu.edu!cinnamon
  3. From: cinnamon@sabine.cs.tcu.edu (Todd Cinnamon)
  4. Subject: trying to load xview .icon files during runtime...
  5. Message-ID: <1993Jan25.012629.24301@riogrande.cs.tcu.edu>
  6. Sender: cinnamon@riogrande.cs.tcu.edu (Todd Cinnamon)
  7. Organization: Texas Christian University
  8. Date: Mon, 25 Jan 1993 01:26:29 GMT
  9. Lines: 17
  10.  
  11. Here's the problem: I'm trying to create a Server_image from data contained
  12. in a .icon file.  The files are usually (but not always) in a C source
  13. readable form, but I want to do this process during runtime and do not
  14. wish to invoke the C compiler everytime I need a new icon.
  15.  
  16. For example, I have "$OPENWINHOME/include/images/GILfile_glyph.icon" and
  17. want to create a Server_image, but can't do:
  18.  
  19. short image_bits[] = {
  20. #include <images/GILfile_glyph.icon>
  21. };
  22.  
  23. since I need to determine the icon I really need during runtime.
  24.  
  25. How can I create the Server_image using one of these .icon files?
  26.  
  27. Thanks in advance for your kind and thoughtful responses.
  28.