Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class DefaultDesign < Design
- abstract class ContainerDesign < DesignDrawer
- def render_children(widget, transform, graphics)
- container = widget.as(Container)
- container.each_widget do |child|
- graphics.draw child, transform
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement