wimp.h
Tony van der Hoff
tony at mk-net.demon.co.uk
Mon May 3 18:23:26 BST 2004
Philip Ludlam <philip at philipnet.com> wrote in message
<dd12e6a84c.philip at philipnet.com>
> Dear All,
>
> The help for (x)wimp_load_template mentions Wimp_GetSize;
>
> For C that should be wimp_GET_SIZE (the help manual *is* aimed at C
> programmers after all :-) ).
>
> Also could then reference to wimp_GET_SIZE link to it's definition?
> And the same for wimp_ICON_BUTTON_TYPE_SHIFT?
>
Well, this highlights a shortcoming in DefMod's help generator. As you're
probably aware, all the SWIs are defined in a generic, language-independant
manner, which DefMod then parses, and generates the appropriate output for
the various targets, including Help. The constants are actually defined like
that; it is the C translation module that fiddles about with the character
case. The Help module is not sufficiently clever to do this, although I
agree it would be a nice thing to do. One day, maybe.
> Just out of interest, is there any scope for producing a manual aimed at
> assembler users? I know I would find it useful (when programming in
> assembler).
>
Yes, the scope is there, but I'm not entirely sure what you'd expect in such
a manual. Could you elaborate a bit, please?
--
Tony van der Hoff
Buckinghamshire England
More information about the oslib-user
mailing list