ext.button
A simple button api with the option of drawing an image on the button.
new(nX, nY, nW, nH, fFunc, tDraw, enabled) | |
---|---|
delete(id) | |
enable(id, enable) | |
exec(tEvent, bDrag, bMonitor) | |
drawButton(id) | |
drawButtons() | |
edit(id, x, y, w, h, func, image) | |
run(bDrag, bMonitor) |
- new(nX, nY, nW, nH, fFunc, tDraw, enabled)Source
Parameters
- nX
- nY
- nW
- nH
- fFunc
- tDraw
- enabled
- delete(id)Source
Parameters
- id
- enable(id, enable)Source
Parameters
- id
- enable
- exec(tEvent, bDrag, bMonitor)Source
Parameters
- tEvent
- bDrag
- bMonitor
- drawButton(id)Source
Parameters
- id
- drawButtons()Source
- edit(id, x, y, w, h, func, image)Source
Parameters
- id
- x
- y
- w
- h
- func
- image
- run(bDrag, bMonitor)Source
Parameters
- bDrag
- bMonitor