[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
QuickDraw II programming problem
- Subject: QuickDraw II programming problem
- From: vandry@CAM.ORG (Phillip Vandry)
- Date: 19 Jan 93 20:18:53 GMT
- Newsgroups: comp.sys.apple2
- Organization: Champlain Regional College, St-Lambert QC CANADA
I'm trying to get something to display dimmed the way it's done in the menus
with a disables item. When I realised my SetPenMask wasn't working, I made a
very simple construct that was bound to work.
This simple construct is a SetPenMask -IMMEDIATELY- followed by a DrawString.
And the string doesn't end up dimmed. The SetPenMask points to 8 bytes of
repeating 010101010101010101010...... and the string displays as if the mask
was 1111111111..... The foreground pattern is black and the background is
white. The font is Shaston 8, plain and everything else is "normal"
Can anyone explain?
______________________________________________________________________
|~~~~~~~~~~~~~~~~|~~~~~~~~~~~~~~~~|~~~~~~~~~~~~~~~~|~~~~~~~~~~~~~~~~~~~|
| Phillip Vandry | Vandry@Cam.Org | II the future! | II 1993! |
|________________|________________|________________|___________________|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~