wimp.h

Philip Ludlam philip at philipnet.com
Mon May 3 22:08:03 BST 2004


On 3 May, in message <gemini.hx5ez209qjt9s01rp.tony at mk-net.demon.co.uk>
  Tony van der Hoff <tony at mk-net.demon.co.uk> wrote:

>Philip Ludlam <philip at philipnet.com> wrote in message
><dd12e6a84c.philip at philipnet.com>
>
>> 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?

In a sentance: A manual which detailed what the assmbler headers
defined.

Right now, one has to convert any information gleemed from the C
orientated manual into the ObjAsm Assembler equivalent. that's not too
hard, but it's a pain if you want to quickly look up something in the
manual as search through the StrongHelp manuals for the word the cursor
is in will (currently) fail. 

Yours,

Phil L.
-- 
http://www.philipnet.com | http://director.sourceforge.net




More information about the oslib-user mailing list