-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sort hit shapes when draw order changes and stop propagation on hit s…
sort hit shapes when draw order changes and stop propagation on hit success Diffs= 8bca56dca sort hit shapes when draw order changes and stop propagation on hit s… (#6624) Co-authored-by: hernan <[email protected]>
- Loading branch information
Showing
15 changed files
with
410 additions
and
100 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
9d605a1feb39dcad526ac9dda6b53b547921c58d | ||
8bca56dcaffd0f563a91f628b0ed432eca71acb5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#ifndef _RIVE_DRAWABLE_FLAGS_HPP_ | ||
#define _RIVE_DRAWABLE_FLAGS_HPP_ | ||
|
||
#include "rive/enum_bitset.hpp" | ||
|
||
namespace rive | ||
{ | ||
enum class DrawableFlag : unsigned short | ||
{ | ||
None = 0, | ||
|
||
/// Whether the component should be drawn | ||
Hidden = 1 << 0, | ||
|
||
/// Editor only | ||
Locked = 1 << 1, | ||
|
||
/// Editor only | ||
Disconnected = 1 << 2, | ||
|
||
/// Whether this Component lets hit events pass through to components behind it | ||
Opaque = 1 << 3, | ||
}; | ||
RIVE_MAKE_ENUM_BITSET(DrawableFlag) | ||
} // namespace rive | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#ifndef _RIVE_HIT_RESULT_HPP_ | ||
#define _RIVE_HIT_RESULT_HPP_ | ||
|
||
namespace rive | ||
{ | ||
enum class HitResult : uint8_t | ||
{ | ||
none, | ||
hit, | ||
hitOpaque, | ||
}; | ||
} // namespace rive | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.