add Window rendering capabilities
This commit is contained in:
1 parent
a19f17481b
commit
d68cd6a396
2 files changed
+42
-10
No files matched your search
@@ -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|
|
||||
|
||||
Reference in new issue
Block a user