OSLib / wimp.h / wimp_ERROR_BOX_CATEGORY
Tom Hughes
tom at compton.nu
Sat Jun 3 11:45:15 BST 2000
In message <QCttIGAADQN5EwXv at mk-net.demon.co.uk>
Tony van der Hoff <OSLib at mk-net.demon.co.uk> wrote:
> On Wed, 31 May 2000, at 10:34:35, Dave Appleby
> <DaveAppleby at btinternet.com> wrote on the subject "OSLib / wimp.h /
> wimp_ERROR_BOX_CATEGORY":
>
> >OSLib 6.01 / wimp.h / wimp_ERROR_BOX_CATEGORY
> >
> >I think that using the shift value for the new categories
> >makes things unnescessarily complex. Surely the programmer
> >doesn't need to know how the flags are arrived at...
>
> The basic idea doesn't seem unreasonable to me. However, this is Tom's
> work, and I'm unsure of the original logic behind doing it this way,
> he'll probably have his own comments.
My definitions were merely following Jonathan's example set in
other parts of OSLib for how to deal with the case where a bit
mask includes a set of bits used to hold a small ordinal value.
Tom
--
Tom Hughes (tom at compton.nu)
http://www.compton.nu/
...Please take note:
More information about the oslib-user
mailing list