Update
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user