commit 09207f2b78ad540e392fe2e949f4d6a66f8c550a
Author: leszek <leszek@koltunski.pl>
Date:   Mon Jan 6 16:42:24 2025 +0100

    change one of objlib's APIs from 'onReplaceModeUP/Down' (which only comes when TouchControl is in REPLACE mode) to 'onStickerTouched/Untouched' (which reports the same thing, but comes always)

diff --git a/src/main/java/org/distorted/config/ConfigObjectLibInterface.java b/src/main/java/org/distorted/config/ConfigObjectLibInterface.java
index 29a9dc56..847ba129 100644
--- a/src/main/java/org/distorted/config/ConfigObjectLibInterface.java
+++ b/src/main/java/org/distorted/config/ConfigObjectLibInterface.java
@@ -141,7 +141,7 @@ public class ConfigObjectLibInterface implements ObjectLibInterface
 
 ///////////////////////////////////////////////////////////////////////////////////////////////////
 
-  public void onReplaceModeDown(int cubit, int face)
+  public void onStickerTouched(int cubit, int face)
     {
     ConfigActivity act = mAct.get();
     act.repaintPuzzleFace(cubit,face);
@@ -149,7 +149,7 @@ public class ConfigObjectLibInterface implements ObjectLibInterface
 
 ///////////////////////////////////////////////////////////////////////////////////////////////////
 
-  public void onReplaceModeUp()
+  public void onStickerUntouched()
     {
 
     }
diff --git a/src/main/java/org/distorted/info/InfoObjectLibInterface.java b/src/main/java/org/distorted/info/InfoObjectLibInterface.java
index 66b23dbe..0f1aa715 100644
--- a/src/main/java/org/distorted/info/InfoObjectLibInterface.java
+++ b/src/main/java/org/distorted/info/InfoObjectLibInterface.java
@@ -25,8 +25,8 @@ public class InfoObjectLibInterface implements ObjectLibInterface
   public void onBeginRotation() { }
   public void onSolved() { }
   public void onObjectCreated(long time) { }
-  public void onReplaceModeDown(int cubit, int face) { }
-  public void onReplaceModeUp() { }
+  public void onStickerTouched(int cubit, int face) { }
+  public void onStickerUntouched() { }
   public void onRemoveRotation(int axis, int row, int angle) { }
   public void failedToDrag() { }
   public void reportJSONError(String error, int ordinal) { }
diff --git a/src/main/java/org/distorted/patterns/PatternObjectLibInterface.java b/src/main/java/org/distorted/patterns/PatternObjectLibInterface.java
index a4a73e37..f19b6ea2 100644
--- a/src/main/java/org/distorted/patterns/PatternObjectLibInterface.java
+++ b/src/main/java/org/distorted/patterns/PatternObjectLibInterface.java
@@ -30,8 +30,8 @@ public class PatternObjectLibInterface implements ObjectLibInterface
   public void onSolved() { }
   public void onObjectCreated(long time) { }
   public void onWinEffectFinished(long startTime, long endTime, String debug, int scrambleNum) { }
-  public void onReplaceModeDown(int cubit, int face) { }
-  public void onReplaceModeUp() { }
+  public void onStickerTouched(int cubit, int face) { }
+  public void onStickerUntouched() { }
 
 ///////////////////////////////////////////////////////////////////////////////////////////////////
 
diff --git a/src/main/java/org/distorted/play/PlayLibInterface.java b/src/main/java/org/distorted/play/PlayLibInterface.java
index d7458df1..1c2f5142 100644
--- a/src/main/java/org/distorted/play/PlayLibInterface.java
+++ b/src/main/java/org/distorted/play/PlayLibInterface.java
@@ -65,8 +65,8 @@ public class PlayLibInterface implements ObjectLibInterface
 ///////////////////////////////////////////////////////////////////////////////////////////////////
 
   public void onObjectCreated(long time) { }
-  public void onReplaceModeDown(int cubit, int face) { }
-  public void onReplaceModeUp() { }
+  public void onStickerTouched(int cubit, int face) { }
+  public void onStickerUntouched() { }
 
 ///////////////////////////////////////////////////////////////////////////////////////////////////
 
diff --git a/src/main/java/org/distorted/solvers/SolverObjectLibInterface.java b/src/main/java/org/distorted/solvers/SolverObjectLibInterface.java
index 035d15a5..461ddfad 100644
--- a/src/main/java/org/distorted/solvers/SolverObjectLibInterface.java
+++ b/src/main/java/org/distorted/solvers/SolverObjectLibInterface.java
@@ -167,7 +167,7 @@ public class SolverObjectLibInterface implements ObjectLibInterface
 
 ///////////////////////////////////////////////////////////////////////////////////////////////////
 
-  public void onReplaceModeDown(int cubit, int face)
+  public void onStickerTouched(int cubit, int face)
     {
     SolverActivity act = mAct.get();
     ScreenSetupPosition solver = (ScreenSetupPosition) ScreenList.SVER.getScreenClass();
@@ -182,7 +182,7 @@ public class SolverObjectLibInterface implements ObjectLibInterface
 
 ///////////////////////////////////////////////////////////////////////////////////////////////////
 
-  public void onReplaceModeUp()
+  public void onStickerUntouched()
     {
     if( mLastCubitColor>=0 )
       {
diff --git a/src/main/java/org/distorted/tutorials/TutorialObjectLibInterface.java b/src/main/java/org/distorted/tutorials/TutorialObjectLibInterface.java
index 37868ea3..780b755f 100644
--- a/src/main/java/org/distorted/tutorials/TutorialObjectLibInterface.java
+++ b/src/main/java/org/distorted/tutorials/TutorialObjectLibInterface.java
@@ -38,8 +38,8 @@ public class TutorialObjectLibInterface implements ObjectLibInterface
   public void onBeginRotation() { }
   public void onSolved() { }
   public void onObjectCreated(long time) { }
-  public void onReplaceModeDown(int cubit, int face) { }
-  public void onReplaceModeUp() { }
+  public void onStickerTouched(int cubit, int face) { }
+  public void onStickerUntouched() { }
   public void reportJSONError(String error, int ordinal) { }
 
 ///////////////////////////////////////////////////////////////////////////////////////////////////
