added colors
This commit is contained in:
parent
ecfaf41f91
commit
d156b060a8
Notes:
visionmercer
2026-04-29 12:39:55 +02:00
This also adds right button mouse click to imagebutton function, and resize functionality.
2 changed files with 71 additions and 4 deletions
|
|
@ -21,6 +21,7 @@ function imagebutton (x as integer,y as integer,w as integer,h as integer,iconha
|
|||
if _mousex>x and _mousey>y and _mousex<x+w and _mousey<y+h then
|
||||
drawimagebutton x,y,w,h,iconhandle,1
|
||||
if mouseclicked then imagebutton=-1
|
||||
if rmouseclicked then imagebutton=-2
|
||||
else
|
||||
drawimagebutton x,y,w,h,iconhandle,0
|
||||
end if
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue