lib/glimmer/libui/rectangle.rb in glimmer-dsl-libui-0.1.3 vs lib/glimmer/libui/rectangle.rb in glimmer-dsl-libui-0.1.4
- old
+ new
@@ -23,9 +23,10 @@
module Glimmer
module LibUI
class Rectangle < Shape
parameters :x, :y, :width, :height
+ parameter_defaults 0, 0, 0, 0
def draw(area_draw_params)
::LibUI.draw_path_add_rectangle(path_proxy.libui, *@args)
super
end