Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

[[ Bug 16568 ]] Make sure native layers are clipped to the bounds of containing groups#3496

Merged
peter-b merged 31 commits into
livecode:developfrom
livecodeian:bugfix-16568
Feb 16, 2016
Merged

[[ Bug 16568 ]] Make sure native layers are clipped to the bounds of containing groups#3496
peter-b merged 31 commits into
livecode:developfrom
livecodeian:bugfix-16568

Conversation

@livecodeian

Copy link
Copy Markdown
Contributor

Adds a few MCObject state change messages: geometrychanged, viewportgeometrychanged, OnOpen, OnClose. These are used to manage the native views, which have been moved from MCWidget to MCObject.

livecodeian and others added 24 commits December 7, 2015 16:28
…rid of SetVisibility method

Implmentation has been moved to SetVisible method, SetInvisible now just calls SetVisible with the value inverted.
…than just widgets.

[[ NativeLayer ]] Rework visibility / tool change handling
…MCObject

[[ NativeLayer ]] Make sure setrect sends geometrychanged notification
[[ NativeLayer ]] Look for layer above / below among child objects of parent.
[[ NativeLayer ]] Move OnOpen / OnClose notification to MCObject
@livecodefraser

Copy link
Copy Markdown
Contributor

Looks like there's a bit of Linux build unhappiness. From my reading of the code, this won't fix the bug on Linux anyway?

@livecodeian

Copy link
Copy Markdown
Contributor Author

Build & Test bugs now fixed. The Linux & Windows native layers use a different method to clip the layer using a single container rather than nested containers

@peter-b peter-b added this to the 8.0.0-dp-15 milestone Feb 12, 2016
Comment thread engine/src/object.h Outdated
virtual uint2 gettransient() const;
virtual void setrect(const MCRectangle &nrect);
virtual void doSetRect(const MCRectangle &nrect);
virtual void setrect(const MCRectangle &p_rect);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this still have to be virtual if it is now a wrapper which prompts a geomchanged?

@runrevmark

Copy link
Copy Markdown
Contributor

@livecode-vulcan review ok 14e8e88

@livecode-vulcan

Copy link
Copy Markdown
Contributor

💙 review by @runrevmark ok 14e8e88

livecode-vulcan added a commit that referenced this pull request Feb 16, 2016
[[ Bug 16568 ]] Make sure native layers are clipped to the bounds of containing groups

Adds a few MCObject state change messages: geometrychanged, viewportgeometrychanged, OnOpen, OnClose. These are used to manage the native views, which have been moved from MCWidget to MCObject.
@livecode-vulcan

Copy link
Copy Markdown
Contributor

😎 test success 14e8e88

peter-b added a commit that referenced this pull request Feb 16, 2016
[[ Bug 16568 ]] Make sure native layers are clipped to the bounds of containing groups
@peter-b peter-b merged commit 804dd78 into livecode:develop Feb 16, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants