add Window rendering capabilities

This commit is contained in:
josh committed 2014-07-27 13:58:03 -04:00
1 parent a19f17481b
commit d68cd6a396
2 files changed
+42 -10

No files matched your search

+1 -1
View File
@@ -18,7 +18,7 @@ module Widget
end
def draw
if @x > 0 and @y > 0
if @width > 0 and @height > 0
render_begin
render
children.each do |child|