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

  1. nX
  2. nY
  3. nW
  4. nH
  5. fFunc
  6. tDraw
  7. enabled
delete(id)Source

Parameters

  1. id
enable(id, enable)Source

Parameters

  1. id
  2. enable
exec(tEvent, bDrag, bMonitor)Source

Parameters

  1. tEvent
  2. bDrag
  3. bMonitor
drawButton(id)Source

Parameters

  1. id
drawButtons()Source
edit(id, x, y, w, h, func, image)Source

Parameters

  1. id
  2. x
  3. y
  4. w
  5. h
  6. func
  7. image
run(bDrag, bMonitor)Source

Parameters

  1. bDrag
  2. bMonitor