implementing immediate mode state machine

This commit is contained in:
Michael Freno
2025-11-04 16:13:18 -05:00
parent fcc37153a5
commit 15ac2f10cc
11 changed files with 874 additions and 32 deletions

View File

@@ -270,9 +270,9 @@ function TestElementImageIntegration:testImageWithPadding()
lu.assertNotNil(element._loadedImage)
lu.assertEquals(element.padding.top, 10)
lu.assertEquals(element.padding.left, 10)
-- Image should render in content area (200x200)
lu.assertEquals(element.width, 200)
lu.assertEquals(element.height, 200)
-- Image should render in content area (180x180 = 200 - 10 - 10)
lu.assertEquals(element.width, 180)
lu.assertEquals(element.height, 180)
end
function TestElementImageIntegration:testImageWithCornerRadius()