* #23692 Modified attractors display bubbles in circle
* #23415 Small fixes
* #23697 Implementation of hold/unhold a conference -buggy
diff --git a/src/com/savoirfairelinux/sflphone/model/Bubble.java b/src/com/savoirfairelinux/sflphone/model/Bubble.java
index 8e2c108..12cab0c 100644
--- a/src/com/savoirfairelinux/sflphone/model/Bubble.java
+++ b/src/com/savoirfairelinux/sflphone/model/Bubble.java
@@ -25,7 +25,11 @@
public boolean dragged = false;
public PointF attractor = null;
- public Bubble(Context c, float X, float Y, float rad, int resID) {
+ public void setAttractor(PointF attractor) {
+ this.attractor = attractor;
+ }
+
+ public Bubble(Context c, float X, float Y, float rad, int resID) {
pos.set(X, Y);
// Initialize the bitmap object by loading an image from the resources folder
@@ -52,6 +56,7 @@
Canvas circle_drawer = new Canvas(circle);
circle_drawer.drawOval(new RectF(0, 0, w, h), mPaintPath);
+ attractor = new PointF(X, Y);
mPaintPath.setFilterBitmap(false);
Canvas internalCanvas = new Canvas(externalBMP);