Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 73: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 74: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 75: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 76: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 77: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 78: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
public final class DirectionPad extends Button{ //Constructors, etc @Override public boolean onTouchEvent(MotionEvent event){ int width = getWidth(); int height = getHeight(); int CenterX = width/2; int CenterY = height/2; double innerRadius = CenterX/5; double outerRadius = 3*CenterX/5; double pi = Math.PI; int TouchX = (int)event.getX(); int TouchY = (int)event.getY(); double X = TouchX - CenterX; double Y = -(TouchY - CenterY); double radius = Math.hypot(X,Y); double theta = Math.atan2(Y,X); if(event.getAction()==MotionEvent.ACTION_UP){ if(Y > -X+CenterX || Y < X-CenterX || Y > X + CenterX || Y < -X - CenterX){ return false; } if (radius < innerRadius){ centerClick(); } else if(radius < outerRadius){ if(theta > pi/2){ upLeftClick(); } else if(theta > 0){ upRightClick(); } else if(theta > -pi/2){ downRightClick(); } else{ downLeftClick(); } } else { if(theta<(3*pi/4) && theta > (pi/4)){ upClick(); } if(theta<(pi/4) && theta > (-pi/4)){ rightClick(); } if(theta<(-pi/4) && theta > (-3*pi/4)){ downClick(); } if(theta<(-3*pi/4) || theta > (3*pi/4)){ leftClick(); } } } return super.onTouchEvent(event); } }