This commit is contained in:
vladislav.khorev committed 2013-01-27 21:41:15 +00:00
1 parent 8623958378
commit 98b286d129
10 files changed
+153 -135

No files matched your search

@@ -110,6 +110,26 @@ public class GL2JNIActivity extends Activity
return true;
}
/*
if (event.getAction() == MotionEvent.ACTION_MOVE)
{
float x = event.getX();
float y = (float)mView.getHeight()-event.getY();
float shiftX = x - event.getHistoricalX(0, event.getHistorySize()-2);
if(IsScrolling)
{
IsScrolling = false;
}
JniWrapper.OnScroll(x, y, event.getEventTime());
}*/
if (event.getAction() == MotionEvent.ACTION_UP)
{
float x = event.getX();