Added color support to Image

This commit is contained in:
2020-12-09 09:19:32 -06:00
parent 246e0c54b2
commit fb36436d79
2 changed files with 2 additions and 1 deletions

View File

@@ -14,7 +14,7 @@ module CyberarmEngine
@style.border_thickness_left + @style.padding_left + @x,
@style.border_thickness_top + @style.padding_top + @y,
@z + 2,
@scale_x, @scale_y) # TODO: Add color support?
@scale_x, @scale_y, @style.color)
end
def clicked_left_mouse_button(sender, x, y)

View File

@@ -94,6 +94,7 @@ module CyberarmEngine
},
Image: { # < Element
color: Gosu::Color::WHITE,
retro: false
},