aboutsummaryrefslogtreecommitdiffstats
path: root/ardor3d-extras
diff options
context:
space:
mode:
authorJoshua Slack <[email protected]>2017-10-31 18:03:42 -0500
committerJoshua Slack <[email protected]>2017-10-31 18:03:42 -0500
commit01befbedb9826d6df831ddc6c6154e66dbb25984 (patch)
tree5f76d8454054acce9c9a77a066cf880ce1e6ebd3 /ardor3d-extras
parente2889ad68828d60989f0bf0edffe846b2fddaa21 (diff)
Made these public to allow for access from compound widget style classes.
Diffstat (limited to 'ardor3d-extras')
-rw-r--r--ardor3d-extras/src/main/java/com/ardor3d/extension/interact/widget/AbstractInteractWidget.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/ardor3d-extras/src/main/java/com/ardor3d/extension/interact/widget/AbstractInteractWidget.java b/ardor3d-extras/src/main/java/com/ardor3d/extension/interact/widget/AbstractInteractWidget.java
index 04d7c97..df23f4b 100644
--- a/ardor3d-extras/src/main/java/com/ardor3d/extension/interact/widget/AbstractInteractWidget.java
+++ b/ardor3d-extras/src/main/java/com/ardor3d/extension/interact/widget/AbstractInteractWidget.java
@@ -88,7 +88,7 @@ public abstract class AbstractInteractWidget {
_filters.applyFilters(manager);
}
- protected void checkMouseOver(final Camera camera, final MouseState current, final InteractManager manager) {
+ public void checkMouseOver(final Camera camera, final MouseState current, final InteractManager manager) {
// If we are dragging, we're in mouseOver state.
if (_dragging) {
if (!_mouseOver) {
@@ -131,7 +131,7 @@ public abstract class AbstractInteractWidget {
targetDataUpdated(manager);
}
- protected boolean checkShouldDrag(final Camera camera, final MouseState current, final MouseState previous,
+ public boolean checkShouldDrag(final Camera camera, final MouseState current, final MouseState previous,
final AtomicBoolean inputConsumed, final InteractManager manager) {
// Make sure we have something to modify
if (manager.getSpatialTarget() == null) {