stable
This commit is contained in:
parent
752243c7e9
commit
b2f5c0193a
13 changed files with 182 additions and 90 deletions
|
|
@ -15,9 +15,13 @@ namespace tp {
|
|||
|
||||
void proc(const Events& events, const tp::RectF& areaParent, const tp::RectF& aArea) override {
|
||||
this->mArea = aArea;
|
||||
this->mVisible = areaParent.isOverlap(aArea);
|
||||
if (!this->mVisible) return;
|
||||
}
|
||||
|
||||
void draw(Canvas& canvas) override {
|
||||
if (!this->mVisible) return;
|
||||
|
||||
canvas.text(
|
||||
mLabel.read(),
|
||||
this->mArea,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue