[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Icons in menus - how?
- To: info-mcl@ministry.cambridge.apple.com
- Subject: Icons in menus - how?
- From: angus@aegypt.demon.co.uk (Angus McIntyre)
- Date: Tue, 26 Apr 1994 10:59:58 GMT
- Newsgroups: comp.lang.lisp.mcl
- Organization: Rev'd Jack's Roamin' Cadillac Church
- Sender: news@demon.co.uk (Usenet Administration)
Is there a way to assign icons to menu items? The 'icon-menu' and
'icon-menu-item' classes included in Guillaume Cartier's contributions
produce a blank space of the appropriate size, but don't draw the icon (on
the system on which I'm testing this, at least - MCL 2.0 under System 7.1
on a Mac IIci). Both 'cicn' and 'ICON' resources exist in an open resource
file and have the appropriate numbers (allowing for the offset of 256).
I notice that when I pass an ID which does *not* correspond to any valid
'cicn' resource, I still get the extra space in the menu. I can't decide
whether this means that MCL just isn't finding the resources that it
should, or if something else is amiss.
All suggestions disgracefully received.
A
x--------------------------------------------------------------------x
| Angus McIntyre angus@aegypt.demon.co.uk angus@arti.vub.ac.be |
|--------------------------------------------------------------------|
| "I am here by the will of the people ... and I will not leave |
| until I get my raincoat back." ['Metrophage', Richard Kadrey] |
x--------------------------------------------------------------------x