Implemented Slider (still have some positioning issues to resolve but it works), added files for ListBox, Radio, and EditBox, implemented dragging support in GuiState.

This commit is contained in:
2020-04-10 18:45:55 -05:00
parent 185ab000d6
commit 4055f645f3
12 changed files with 198 additions and 4 deletions

View File

@@ -93,8 +93,8 @@ module CyberarmEngine
# Move child to parent after positioning
@children.each do |child|
child.x += @x - style.margin_left
child.y += @y - style.margin_top
child.x += (@x + @style.border_thickness_left) - style.margin_left
child.y += (@y + @style.border_thickness_top) - style.margin_top
child.stylize
child.recalculate