// Path: src/main/java/org/n52/geoar/ar/view/IntroController.java
// public static class Task implements Comparable<Task> {
// 	protected int index;
// 
// 	protected boolean completed = false;
// 	protected boolean refreshPopupOnShow = false;
// 
// 	protected int id;
// 	protected int description;
// 
// 	protected int bitmapResource;
// 	protected View view;
// 
// 	public Task(int index, int title, int description, int bitmapResource,
// 			boolean refreshOnPopup) {
// 		this.index = index;
// 		this.id = title;
// 		this.description = description;
// 		this.bitmapResource = bitmapResource;
// 		this.refreshPopupOnShow = refreshOnPopup;
// 	}
// 
// 	@Override
// 	public int compareTo(Task another) {
// 		return this.index > another.index ? 1 : -1;
// 	}
// }


import org.n52.geoar.R;
import org.n52.geoar.ar.view.IntroController.Task;
import android.app.Activity;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.PorterDuff.Mode;
import android.graphics.PorterDuffXfermode;
import android.graphics.RadialGradient;
import android.graphics.Rect;
import android.graphics.RectF;
import android.graphics.Shader;
import android.graphics.drawable.Drawable;
import android.view.LayoutInflater;
import android.view.MotionEvent;
import android.view.View;
import android.widget.ImageView;
import android.widget.RelativeLayout;
import android.widget.TextView;
/**
 * Copyright 2012 52°North Initiative for Geospatial Open Source Software GmbH
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.n52.geoar.ar.view;



/**
 * 
 * @author Arne de Wall <a.dewall@52North.org>
 *
 */
public class IntroViewer extends RelativeLayout implements View.OnTouchListener {

	private Activity activity;
// Path: src/main/java/org/n52/geoar/ar/view/IntroController.java
// public static class Task implements Comparable<Task> {
// 	protected int index;
// 
// 	protected boolean completed = false;
// 	protected boolean refreshPopupOnShow = false;
// 
// 	protected int id;
// 	protected int description;
// 
// 	protected int bitmapResource;
// 	protected View view;
// 
// 	public Task(int index, int title, int description, int bitmapResource,
// 			boolean refreshOnPopup) {
// 		this.index = index;
// 		this.id = title;
// 		this.description = description;
// 		this.bitmapResource = bitmapResource;
// 		this.refreshPopupOnShow = refreshOnPopup;
// 	}
// 
// 	@Override
// 	public int compareTo(Task another) {
// 		return this.index > another.index ? 1 : -1;
// 	}
// }


// Path: src/main/java/org/n52/geoar/ar/view/IntroViewer.java
import org.n52.geoar.R;
import org.n52.geoar.ar.view.IntroController.Task;
import android.app.Activity;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.PorterDuff.Mode;
import android.graphics.PorterDuffXfermode;
import android.graphics.RadialGradient;
import android.graphics.Rect;
import android.graphics.RectF;
import android.graphics.Shader;
import android.graphics.drawable.Drawable;
import android.view.LayoutInflater;
import android.view.MotionEvent;
import android.view.View;
import android.widget.ImageView;
import android.widget.RelativeLayout;
import android.widget.TextView;

/**
 * Copyright 2012 52°North Initiative for Geospatial Open Source Software GmbH
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.n52.geoar.ar.view;



/**
 * 
 * @author Arne de Wall <a.dewall@52North.org>
 *
 */
public class IntroViewer extends RelativeLayout implements View.OnTouchListener {

	private Activity activity;
	private Task currentStep;