Method: LUIT::LUITElement#initialize
- Defined in:
- lib/luit.rb
#initialize(holder, id, x, y, w, h) ⇒ LUITElement
Returns a new instance of LUITElement.
48 49 50 51 52 53 54 55 56 57 |
# File 'lib/luit.rb', line 48 def initialize(holder, id, x, y, w, h) @holder = holder @id = id @x = x @y = y @w = w @h = h @msDown = false @hover = true end |