A Couple of Wimp Issues
Steve Fryatt
lists at stevefryatt.org.uk
Mon Apr 19 00:15:54 BST 2021
There are a couple of curiosities in the Wimp definitions which I've
stumbled across recently.
1) Wimp_IconESG is still defined as 5 bits (16 to 20), when it has only been
bits 16 to 19 since 1994. There's the "new" Wimp_IconNumeric flag using bit
20 to add in, too.
This seems relatively uncontroversial, so for something possibly less so...
2) Under the comment "Various Windows", there's
Wimp_NoIcon = Wimp_W: -1;
which has me puzzled. It would make more sense (to me) if it were
Wimp_NoIcon = Wimp_I: -1;
and in the next section of the file, as it would then provide an alternative
meaningful name for Wimp_IconWindow in different contexts. I've often used
Wimp_IconWindow in code when I really meant "No Icon".
Am I correct in thinking that this is a typo, or have I failed to spot what
Wimp_NoIcon's purpose is as Wimp_W?
--
Steve Fryatt - Leeds, England
http://www.stevefryatt.org.uk/
More information about the oslib-user
mailing list