luis wrote:Don't you set by YOURSELF in YOUR code the drawing mode ?
If the answer is yes, you can simply save it and query it when needed later.
You can use a couple of macros to override the PB commands and a global var for example, this way work with code made by other people too, as long it is in source format.
usually, yes - I'm looking to create some additions in the drawing library, it would be useful to know what the current drawing mode is, to change the fill property of custom shapes (for example)
yes, I could just create a macro, but the idea is to include these in a library - that won't work (afaik)
Shield wrote:You might be able to find them when you analyze the libraries.
For this example, it might be worth it to wait for an answer from freak.
I'm somewhat new to ASM, and I'm not 100% sure how to analyse the libraries (I'll have to check out ts-soft's link) - considering this is just a case of not knowing the correct EXTRN variable, I'd tend to agree with you; waiting for freak seems like the best option - fortunately I'm not in any hurry
in any case, thanks for your input guys