Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!uwvax!oddjob!gargoyle!ihnp4!inuxc!iuvax!wcwang From: wcwang@iuvax.cs.indiana.edu Newsgroups: comp.sys.apollo Subject: answer to icon question Message-ID: <2905@iuvax.UUCP> Date: Thu, 6-Aug-87 09:59:42 EDT Article-I.D.: iuvax.2905 Posted: Thu Aug 6 09:59:42 1987 Date-Received: Sat, 8-Aug-87 12:19:34 EDT Sender: wcwang@iuvax.UUCP Lines: 60 From: Bill Wang I got the following answer to my question about creating new icon for apollo windows: ==== From inuxc!ihnp4!ucbvax!YALE.ARPA!ram-ashwin Thu Aug 6 00:13:04 1987 Date: Wed, 5 Aug 87 10:39:16 EDT From: Ashwin Ram To: inuxc!iuvax!wcwang In-Reply-To: Bill Wang's message of 4 Aug 87 18:31:05 GMT Subject: Re: icond You can specify a -C flag to the ICON command at the DM level (see HELP ICON). This flag takes one argument, a character, and it icons the window into the icon bitmap specified by that character. For example, icon foo -c 'a' icons the window foo using the icon format specified by the character 'a'. >From a program, you can achieve the same results by using the ICON-CHAR argument to PAD_$CREATE_ICON (see HELP SYSCALLS/PAD). Icon bitmaps are specified in a regular font file which you can edit using EDFONT (see HELP EDFONT). You can create your own font file if you like. To load a font file specifying icon bitmaps, use the FL command with the -I flag (see HELP FL): fl filename -i So, for example, you could copy the standard icon fonts file /sys/dm/fonts/icons and edit the character 'a' to contain the bitmap you want, then use -C 'a' in the ICON command (or PAD_$CREATE_ICON call) after FL'ing this file. You can even load the old_english font as an icon font, with the expected results: fl old_english.36 -i since this font is of the right size for icons. -- Ashwin. ===== Bill Wang Speech & Hearing Center Indiana University Bloomington, IN 47405 UUCP = {ihnp4,seismo,cbosgd}!iuvax!wcwang CSNET = wcwang@indiana ARPA = wcwang@iuvax.cs.indiana.edu Phone = (812) 335-0714