From: badlogicgames Date: Sat, 27 Nov 2010 15:38:49 +0000 (+0000) Subject: [fixed] license headers for jogl backend X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=abbc2b25d0e6f8df0dd94390a7ba99fe6907d300;p=mikumikustudio%2Flibgdx-mikumikustudio.git [fixed] license headers for jogl backend --- diff --git a/backends/gdx-backend-jogl/src/com/badlogic/gdx/backends/jogl/JoglApplication.java b/backends/gdx-backend-jogl/src/com/badlogic/gdx/backends/jogl/JoglApplication.java index 467846b74..1ca872e7b 100644 --- a/backends/gdx-backend-jogl/src/com/badlogic/gdx/backends/jogl/JoglApplication.java +++ b/backends/gdx-backend-jogl/src/com/badlogic/gdx/backends/jogl/JoglApplication.java @@ -1,5 +1,5 @@ -/******************************************************************************* - * Copyright 2010 Mario Zechner (contact@badlogicgames.com) +/* + * Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com) * * 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 @@ -9,7 +9,7 @@ * 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 com.badlogic.gdx.backends.jogl; diff --git a/backends/gdx-backend-jogl/src/com/badlogic/gdx/backends/jogl/JoglAudio.java b/backends/gdx-backend-jogl/src/com/badlogic/gdx/backends/jogl/JoglAudio.java index eeddeb151..da2dac0d7 100644 --- a/backends/gdx-backend-jogl/src/com/badlogic/gdx/backends/jogl/JoglAudio.java +++ b/backends/gdx-backend-jogl/src/com/badlogic/gdx/backends/jogl/JoglAudio.java @@ -1,5 +1,5 @@ -/******************************************************************************* - * Copyright 2010 Mario Zechner (contact@badlogicgames.com) +/* + * Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com) * * 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 @@ -9,7 +9,7 @@ * 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 com.badlogic.gdx.backends.jogl; diff --git a/backends/gdx-backend-jogl/src/com/badlogic/gdx/backends/jogl/JoglAudioDevice.java b/backends/gdx-backend-jogl/src/com/badlogic/gdx/backends/jogl/JoglAudioDevice.java index 3bbfc5435..6f83d8942 100644 --- a/backends/gdx-backend-jogl/src/com/badlogic/gdx/backends/jogl/JoglAudioDevice.java +++ b/backends/gdx-backend-jogl/src/com/badlogic/gdx/backends/jogl/JoglAudioDevice.java @@ -1,5 +1,5 @@ -/******************************************************************************* - * Copyright 2010 Mario Zechner (contact@badlogicgames.com) +/* + * Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com) * * 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 @@ -9,7 +9,7 @@ * 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 com.badlogic.gdx.backends.jogl; diff --git a/backends/gdx-backend-jogl/src/com/badlogic/gdx/backends/jogl/JoglAudioRecorder.java b/backends/gdx-backend-jogl/src/com/badlogic/gdx/backends/jogl/JoglAudioRecorder.java index b5cba93d2..d84a05bd6 100644 --- a/backends/gdx-backend-jogl/src/com/badlogic/gdx/backends/jogl/JoglAudioRecorder.java +++ b/backends/gdx-backend-jogl/src/com/badlogic/gdx/backends/jogl/JoglAudioRecorder.java @@ -1,5 +1,5 @@ -/******************************************************************************* - * Copyright 2010 Mario Zechner (contact@badlogicgames.com) +/* + * Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com) * * 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 @@ -9,7 +9,7 @@ * 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 com.badlogic.gdx.backends.jogl; diff --git a/backends/gdx-backend-jogl/src/com/badlogic/gdx/backends/jogl/JoglFileHandle.java b/backends/gdx-backend-jogl/src/com/badlogic/gdx/backends/jogl/JoglFileHandle.java index 53f1ad006..c07767726 100644 --- a/backends/gdx-backend-jogl/src/com/badlogic/gdx/backends/jogl/JoglFileHandle.java +++ b/backends/gdx-backend-jogl/src/com/badlogic/gdx/backends/jogl/JoglFileHandle.java @@ -1,5 +1,5 @@ -/******************************************************************************* - * Copyright 2010 Mario Zechner (contact@badlogicgames.com) +/* + * Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com) * * 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 @@ -9,7 +9,7 @@ * 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 com.badlogic.gdx.backends.jogl; diff --git a/backends/gdx-backend-jogl/src/com/badlogic/gdx/backends/jogl/JoglFiles.java b/backends/gdx-backend-jogl/src/com/badlogic/gdx/backends/jogl/JoglFiles.java index e2a20dfd5..7babc0a03 100644 --- a/backends/gdx-backend-jogl/src/com/badlogic/gdx/backends/jogl/JoglFiles.java +++ b/backends/gdx-backend-jogl/src/com/badlogic/gdx/backends/jogl/JoglFiles.java @@ -1,5 +1,5 @@ -/******************************************************************************* - * Copyright 2010 Mario Zechner (contact@badlogicgames.com) +/* + * Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com) * * 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 @@ -9,7 +9,7 @@ * 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 com.badlogic.gdx.backends.jogl; diff --git a/backends/gdx-backend-jogl/src/com/badlogic/gdx/backends/jogl/JoglGL10.java b/backends/gdx-backend-jogl/src/com/badlogic/gdx/backends/jogl/JoglGL10.java index 14e9743b4..6163d811d 100644 --- a/backends/gdx-backend-jogl/src/com/badlogic/gdx/backends/jogl/JoglGL10.java +++ b/backends/gdx-backend-jogl/src/com/badlogic/gdx/backends/jogl/JoglGL10.java @@ -1,5 +1,5 @@ -/******************************************************************************* - * Copyright 2010 Mario Zechner (contact@badlogicgames.com) +/* + * Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com) * * 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 @@ -9,7 +9,7 @@ * 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 com.badlogic.gdx.backends.jogl; diff --git a/backends/gdx-backend-jogl/src/com/badlogic/gdx/backends/jogl/JoglGL11.java b/backends/gdx-backend-jogl/src/com/badlogic/gdx/backends/jogl/JoglGL11.java index 3fd80b0d4..d3cdc27cd 100644 --- a/backends/gdx-backend-jogl/src/com/badlogic/gdx/backends/jogl/JoglGL11.java +++ b/backends/gdx-backend-jogl/src/com/badlogic/gdx/backends/jogl/JoglGL11.java @@ -1,5 +1,5 @@ -/******************************************************************************* - * Copyright 2010 Mario Zechner (contact@badlogicgames.com) +/* + * Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com) * * 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 @@ -9,7 +9,7 @@ * 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 com.badlogic.gdx.backends.jogl; diff --git a/backends/gdx-backend-jogl/src/com/badlogic/gdx/backends/jogl/JoglGL20.java b/backends/gdx-backend-jogl/src/com/badlogic/gdx/backends/jogl/JoglGL20.java index 08054276b..7cf506e39 100644 --- a/backends/gdx-backend-jogl/src/com/badlogic/gdx/backends/jogl/JoglGL20.java +++ b/backends/gdx-backend-jogl/src/com/badlogic/gdx/backends/jogl/JoglGL20.java @@ -1,5 +1,5 @@ -/******************************************************************************* - * Copyright 2010 Mario Zechner (contact@badlogicgames.com) +/* + * Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com) * * 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 @@ -9,7 +9,7 @@ * 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 com.badlogic.gdx.backends.jogl; diff --git a/backends/gdx-backend-jogl/src/com/badlogic/gdx/backends/jogl/JoglGraphics.java b/backends/gdx-backend-jogl/src/com/badlogic/gdx/backends/jogl/JoglGraphics.java index f1ef8980b..1c1d3622d 100644 --- a/backends/gdx-backend-jogl/src/com/badlogic/gdx/backends/jogl/JoglGraphics.java +++ b/backends/gdx-backend-jogl/src/com/badlogic/gdx/backends/jogl/JoglGraphics.java @@ -1,3 +1,16 @@ +/* + * Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com) + * + * 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 com.badlogic.gdx.backends.jogl; import java.awt.Toolkit; diff --git a/backends/gdx-backend-jogl/src/com/badlogic/gdx/backends/jogl/JoglGraphicsBase.java b/backends/gdx-backend-jogl/src/com/badlogic/gdx/backends/jogl/JoglGraphicsBase.java index cb75109c1..3c481118d 100644 --- a/backends/gdx-backend-jogl/src/com/badlogic/gdx/backends/jogl/JoglGraphicsBase.java +++ b/backends/gdx-backend-jogl/src/com/badlogic/gdx/backends/jogl/JoglGraphicsBase.java @@ -1,3 +1,16 @@ +/* + * Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com) + * + * 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 com.badlogic.gdx.backends.jogl; import java.awt.image.BufferedImage; @@ -25,7 +38,6 @@ import com.badlogic.gdx.graphics.Texture.TextureFilter; import com.badlogic.gdx.graphics.Texture.TextureWrap; import com.badlogic.gdx.math.WindowedMean; import com.badlogic.gdx.utils.GdxRuntimeException; -import com.sun.opengl.util.Animator; public abstract class JoglGraphicsBase implements Graphics, GLEventListener { GLCanvas canvas; diff --git a/backends/gdx-backend-jogl/src/com/badlogic/gdx/backends/jogl/JoglInput.java b/backends/gdx-backend-jogl/src/com/badlogic/gdx/backends/jogl/JoglInput.java index 67e398400..60718b986 100644 --- a/backends/gdx-backend-jogl/src/com/badlogic/gdx/backends/jogl/JoglInput.java +++ b/backends/gdx-backend-jogl/src/com/badlogic/gdx/backends/jogl/JoglInput.java @@ -1,3 +1,16 @@ +/* + * Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com) + * + * 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 com.badlogic.gdx.backends.jogl; import java.awt.event.KeyListener; diff --git a/backends/gdx-backend-jogl/src/com/badlogic/gdx/backends/jogl/JoglMusic.java b/backends/gdx-backend-jogl/src/com/badlogic/gdx/backends/jogl/JoglMusic.java index bca3c4dc6..a0ff1aabd 100644 --- a/backends/gdx-backend-jogl/src/com/badlogic/gdx/backends/jogl/JoglMusic.java +++ b/backends/gdx-backend-jogl/src/com/badlogic/gdx/backends/jogl/JoglMusic.java @@ -1,5 +1,5 @@ -/******************************************************************************* - * Copyright 2010 Mario Zechner (contact@badlogicgames.com) +/* + * Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com) * * 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 @@ -9,7 +9,7 @@ * 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 com.badlogic.gdx.backends.jogl; diff --git a/backends/gdx-backend-jogl/src/com/badlogic/gdx/backends/jogl/JoglNativesLoader.java b/backends/gdx-backend-jogl/src/com/badlogic/gdx/backends/jogl/JoglNativesLoader.java index 017d0fd1e..4deaa8934 100644 --- a/backends/gdx-backend-jogl/src/com/badlogic/gdx/backends/jogl/JoglNativesLoader.java +++ b/backends/gdx-backend-jogl/src/com/badlogic/gdx/backends/jogl/JoglNativesLoader.java @@ -1,3 +1,16 @@ +/* + * Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com) + * + * 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 com.badlogic.gdx.backends.jogl; import java.io.BufferedOutputStream; diff --git a/backends/gdx-backend-jogl/src/com/badlogic/gdx/backends/jogl/JoglPixmap.java b/backends/gdx-backend-jogl/src/com/badlogic/gdx/backends/jogl/JoglPixmap.java index 632528b56..6925ac24c 100644 --- a/backends/gdx-backend-jogl/src/com/badlogic/gdx/backends/jogl/JoglPixmap.java +++ b/backends/gdx-backend-jogl/src/com/badlogic/gdx/backends/jogl/JoglPixmap.java @@ -1,5 +1,5 @@ -/******************************************************************************* - * Copyright 2010 Mario Zechner (contact@badlogicgames.com) +/* + * Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com) * * 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 @@ -9,7 +9,7 @@ * 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 com.badlogic.gdx.backends.jogl; diff --git a/backends/gdx-backend-jogl/src/com/badlogic/gdx/backends/jogl/JoglSound.java b/backends/gdx-backend-jogl/src/com/badlogic/gdx/backends/jogl/JoglSound.java index 35a5e8657..c5fb31e66 100644 --- a/backends/gdx-backend-jogl/src/com/badlogic/gdx/backends/jogl/JoglSound.java +++ b/backends/gdx-backend-jogl/src/com/badlogic/gdx/backends/jogl/JoglSound.java @@ -1,5 +1,5 @@ -/******************************************************************************* - * Copyright 2010 Mario Zechner (contact@badlogicgames.com) +/* + * Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com) * * 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 @@ -9,13 +9,12 @@ * 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 com.badlogic.gdx.backends.jogl; import java.io.BufferedInputStream; import java.io.ByteArrayOutputStream; -import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.nio.ByteBuffer; diff --git a/backends/gdx-backend-jogl/src/com/badlogic/gdx/backends/jogl/JoglTexture.java b/backends/gdx-backend-jogl/src/com/badlogic/gdx/backends/jogl/JoglTexture.java index 1bdc4363f..943ff7151 100644 --- a/backends/gdx-backend-jogl/src/com/badlogic/gdx/backends/jogl/JoglTexture.java +++ b/backends/gdx-backend-jogl/src/com/badlogic/gdx/backends/jogl/JoglTexture.java @@ -1,5 +1,5 @@ -/******************************************************************************* - * Copyright 2010 Mario Zechner (contact@badlogicgames.com) +/* + * Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com) * * 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 @@ -9,7 +9,7 @@ * 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 com.badlogic.gdx.backends.jogl; @@ -23,11 +23,8 @@ import javax.imageio.ImageIO; import javax.media.opengl.GL; import javax.media.opengl.GLContext; -import com.badlogic.gdx.Gdx; import com.badlogic.gdx.graphics.Pixmap; import com.badlogic.gdx.graphics.Texture; -import com.badlogic.gdx.graphics.Texture.TextureFilter; -import com.badlogic.gdx.graphics.Texture.TextureWrap; import com.badlogic.gdx.utils.GdxRuntimeException; import com.sun.opengl.util.texture.TextureData; import com.sun.opengl.util.texture.TextureIO;