Code: Select all
Box(-1000, -1000, 100, 100, #WHITE)
But what if I do same with MakeButton?
Code: Select all
MakeButton(Nil, #SIMPLEBUTTON, -1000, -1000, 100, 100, {OnMouseUp=Function() debugprint("test") EndFunction} )
Point here being that as I am thinking of this system with lots of boxes which are also buttons, and some of them might be outside of the screen at times (being able to scroll around the area, or zoom/unzoom, making some boxes appear/disappear from screen), could I just simply go through each box, both draw them and make them as makebutton()s without having to care if they actually are on screen at that moment or not, or could this cause me some problem? Like could using makebutton 1000 times, even only 10 of them are actually on screen be a problem?