Revision e019c70b
Added by Leszek Koltunski over 2 years ago
src/main/java/org/distorted/helpers/LockController.java | ||
---|---|---|
29 | 29 |
|
30 | 30 |
import org.distorted.main.R; |
31 | 31 |
import org.distorted.main.RubikActivity; |
32 |
import org.distorted.objectlib.helpers.TwistyActivity; |
|
33 | 32 |
import org.distorted.objectlib.main.ObjectControl; |
34 | 33 |
|
35 | 34 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
... | ... | |
152 | 151 |
|
153 | 152 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
154 | 153 |
|
155 |
public void setupButton(final TwistyActivity act, ObjectControl control, final float width)
|
|
154 |
public void setupButton(final Activity act, ObjectControl control, final float width) |
|
156 | 155 |
{ |
157 | 156 |
boolean locked = control.retLocked(); |
158 | 157 |
final int icon = getLockIcon(locked,false); |
Also available in: Unified diff
Remove the concept of a 'TwistyActivity' altogether.