This commit is contained in:
Nikita Kruglickiy
2021-03-17 18:21:42 +06:00
parent 19ab152f5f
commit f1eaecd79e
11 changed files with 46 additions and 98 deletions

View File

@@ -281,6 +281,8 @@ function Element:_onPaint()
if self._firstChild then
self._firstChild:_postEventToAllReverse("PAINT")
end
self:postChildPaint(x, y, w, h)
end
end
@@ -362,7 +364,10 @@ end
function Element:think()
end
function Element:paint()
function Element:paint(x, y, w, h)
end
function Element:postChildPaint(x, y, w, h)
end
function Element:onMousePressed(x, y, key, keyName)