Francois,

on second (or third...) thought (and a close reading of the EasyPtr Manual), 
you might (maybe) be able to directly draw into an application menu item by

MWINDOW #x, <item> * 65536 + <appwin#>

where <item> is the number of the application menu item number from top left 
(row-wise, starting at 1) to bottom right and <appwin#> is the number of the 
application window.

After that you should be able to draw directly into the Menu item.

If your menu is pannable or scrollable, things would get kind of tricky, 
however. You would use MAWNUM to find out the top left item that is visible.

I do seem to recall, however, that exactly this wouldn't work because the 
vector for it it has never been implemented in the Window Manager. George Gwilt 
has explored this a while ago, I think.

Back to the Sprite, then ;)

Regards,
Tobias

Am 18.12.2013 um 00:17 schrieb François Van Emelen:

> Wolfgang Lenerz schreef op 17/12/2013 22:12:
>> Hi,
>> 
>> (And this is not an EasyPtr restriction, but rather one of the Window 
>> Manager).
>> 
>> Technically it's a limitation of the standard menu drawing routine wm.mdraw 
>> (vector $20). You could, conceivably, write your own menu drawing routine in 
>> assembler (but not in basic) to draw text of any csize ...
>> 
> SNIP
>> 
>> Wolfgang
>> 
>> _______________________________________________
>> QL-Users Mailing List
>> http://www.q-v-d.demon.co.uk/smsqe.htm
>> 
>> 
> Not in basic? That's a pity.
> 
> François Van Emelen
> 
> 
> _______________________________________________
> QL-Users Mailing List
> http://www.q-v-d.demon.co.uk/smsqe.htm

_______________________________________________
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm

Reply via email to