|
|
1.1 ! root 1: #ifndef lint ! 2: static char rcs_id[] = "$Header: icon.c,v 1.3 87/09/12 08:03:02 swick Exp $"; ! 3: #endif lint ! 4: /* ! 5: * COPYRIGHT 1987 ! 6: * DIGITAL EQUIPMENT CORPORATION ! 7: * MAYNARD, MASSACHUSETTS ! 8: * ALL RIGHTS RESERVED. ! 9: * ! 10: * THE INFORMATION IN THIS SOFTWARE IS SUBJECT TO CHANGE WITHOUT NOTICE AND ! 11: * SHOULD NOT BE CONSTRUED AS A COMMITMENT BY DIGITAL EQUIPMENT CORPORATION. ! 12: * DIGITAL MAKES NO REPRESENTATIONS ABOUT THE SUITABILITY OF THIS SOFTWARE FOR ! 13: * ANY PURPOSE. IT IS SUPPLIED "AS IS" WITHOUT EXPRESS OR IMPLIED WARRANTY. ! 14: * ! 15: * IF THE SOFTWARE IS MODIFIED IN A MANNER CREATING DERIVATIVE COPYRIGHT RIGHTS, ! 16: * APPROPRIATE LEGENDS MAY BE PLACED ON THE DERIVATIVE WORK IN ADDITION TO THAT ! 17: * SET FORTH ABOVE. ! 18: * ! 19: * ! 20: * Permission to use, copy, modify, and distribute this software and its ! 21: * documentation for any purpose and without fee is hereby granted, provided ! 22: * that the above copyright notice appear in all copies and that both that ! 23: * copyright notice and this permission notice appear in supporting documentation, ! 24: * and that the name of Digital Equipment Corporation not be used in advertising ! 25: * or publicity pertaining to distribution of the software without specific, ! 26: * written prior permission. ! 27: */ ! 28: ! 29: /* Icon.c - Handle icon pixmaps. */ ! 30: ! 31: #include "xmh.h" ! 32: #include "nomail.bit" ! 33: #include "newmail.bit" ! 34: ! 35: ! 36: void IconInit() ! 37: { ! 38: #ifdef X11 ! 39: NoMailPixmap = XCreateBitmapFromData( theDisplay, ! 40: DefaultRootWindow(theDisplay), ! 41: nomail_bits, ! 42: nomail_width, nomail_height ); ! 43: ! 44: NewMailPixmap = XCreateBitmapFromData( theDisplay, ! 45: DefaultRootWindow(theDisplay), ! 46: newmail_bits, ! 47: newmail_width, newmail_height); ! 48: #endif ! 49: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.