Can you discover if a DRAWMENU is on-screen?
|
05-16-2016, 07:30 AM
Post: #1
|
|||
|
|||
Can you discover if a DRAWMENU is on-screen?
In version 0.1 of my accessibility fingerspelling program, it would be useful if there were a way of discovering whether a DRAWMENU was on-screen or whether that area of the screen could be used for something else.
Also, how do you delete a drawmenu? This leaves a blank Drawmenu on screen. Code:
Stephen Lewkowicz (G1CMZ) https://my.numworks.com/python/steveg1cmz |
|||
05-16-2016, 10:07 AM
(This post was last modified: 05-16-2016 10:07 AM by DrD.)
Post: #2
|
|||
|
|||
RE: Can you discover if a DRAWMENU is on-screen?
Something like this, perhaps? (You could do a GETPIX_P test to check for a menu presence, for a not-so-elegant means to an end ...)
DRAWMENU(""); // arguments empty, RECT_P(); // clear the entire screen -or- RECT_P(G0,0,220,330,240); // clear only the menu rectangular area. -Dale- |
|||
05-16-2016, 10:39 AM
(This post was last modified: 05-16-2016 10:41 AM by StephenG1CMZ.)
Post: #3
|
|||
|
|||
RE: Can you discover if a DRAWMENU is on-screen?
(05-16-2016 10:07 AM)DrD Wrote: Something like this, perhaps? (You could do a GETPIX_P test to check for a menu presence, for a not-so-elegant means to an end ...)I think you mean 320 not 330. I didn't think you could ask if DRAWMENU was on-screen (ideally, by returning a list of its buttons), but I am surprised the DRAWMENU can't delete itself. Stephen Lewkowicz (G1CMZ) https://my.numworks.com/python/steveg1cmz |
|||
05-16-2016, 10:51 AM
Post: #4
|
|||
|
|||
RE: Can you discover if a DRAWMENU is on-screen?
Yes, it was a boo boo on that 330, I had it right, when I was messing with it, but wouldn't you just know ...
Maybe "they" could just use "DRAWMENU()," with no arguments, to do a menu erase trick, in their spare time, over at the house of cubes! -Dale- |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)