Method: Core::GUI::Container#draw
- Defined in:
- lib/gui/base.rb
#draw ⇒ Object
202 203 204 205 206 207 208 209 210 211 |
# File 'lib/gui/base.rb', line 202 def draw .draw @bg.draw(@x+@xoff, @y+@yoff, Core::GUI_Z, (@w-24)/@bg.width.to_f, @h/@bg.height.to_f) @items.each { |item| if item.y + item.yoff + item.h < .y + .yoff next end item.draw } end |