From 225f1fa7b1b0c88d7bb749d7122fe803d1375d68 Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Tue, 9 Dec 2014 23:16:04 +0900 Subject: [PATCH] Add license comments (#18) --- affine.go | 16 ++++++++++++++++ colormatrix.go | 16 ++++++++++++++++ colormatrix_test.go | 16 ++++++++++++++++ example/blocks.go | 16 ++++++++++++++++ example/blocks/field.go | 16 ++++++++++++++++ example/blocks/font.go | 16 ++++++++++++++++ example/blocks/game.go | 16 ++++++++++++++++ example/blocks/gamescene.go | 16 ++++++++++++++++ example/blocks/input.go | 16 ++++++++++++++++ example/blocks/piece.go | 16 ++++++++++++++++ example/blocks/scenemanager.go | 16 ++++++++++++++++ example/blocks/textures.go | 16 ++++++++++++++++ example/blocks/titlescene.go | 16 ++++++++++++++++ geometrymatrix.go | 16 ++++++++++++++++ geometrymatrix_test.go | 16 ++++++++++++++++ glfw/canvas.go | 16 ++++++++++++++++ glfw/context.go | 16 ++++++++++++++++ glfw/keyboard.go | 16 ++++++++++++++++ glfw/mouse.go | 16 ++++++++++++++++ glfw/ui.go | 16 ++++++++++++++++ graphicscontext.go | 16 ++++++++++++++++ keyboard.go | 16 ++++++++++++++++ mouse.go | 16 ++++++++++++++++ opengl/context.go | 16 ++++++++++++++++ opengl/ids.go | 16 ++++++++++++++++ opengl/internal/shader/drawtexture.go | 16 ++++++++++++++++ opengl/internal/shader/program.go | 16 ++++++++++++++++ opengl/internal/shader/shader.go | 16 ++++++++++++++++ opengl/internal/shader/texturequad.go | 16 ++++++++++++++++ opengl/internal/shader/texturequad_test.go | 16 ++++++++++++++++ opengl/rendertarget.go | 16 ++++++++++++++++ opengl/texture.go | 16 ++++++++++++++++ run.go | 16 ++++++++++++++++ texturefactory.go | 16 ++++++++++++++++ ui.go | 18 +++++++++++++++++- 35 files changed, 561 insertions(+), 1 deletion(-) diff --git a/affine.go b/affine.go index efb995a1c..295132082 100644 --- a/affine.go +++ b/affine.go @@ -1,3 +1,19 @@ +/* +Copyright 2014 Hajime Hoshi + +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 ebiten type affine interface { diff --git a/colormatrix.go b/colormatrix.go index 9e78d8a78..213ac95f3 100644 --- a/colormatrix.go +++ b/colormatrix.go @@ -1,3 +1,19 @@ +/* +Copyright 2014 Hajime Hoshi + +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 ebiten import ( diff --git a/colormatrix_test.go b/colormatrix_test.go index 04e7c1617..0c0bb53ed 100644 --- a/colormatrix_test.go +++ b/colormatrix_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2014 Hajime Hoshi + +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 ebiten_test import ( diff --git a/example/blocks.go b/example/blocks.go index c5489664b..cdade74d2 100644 --- a/example/blocks.go +++ b/example/blocks.go @@ -1,3 +1,19 @@ +/* +Copyright 2014 Hajime Hoshi + +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 main import ( diff --git a/example/blocks/field.go b/example/blocks/field.go index 746aa95e6..e2eb48b45 100644 --- a/example/blocks/field.go +++ b/example/blocks/field.go @@ -1,3 +1,19 @@ +/* +Copyright 2014 Hajime Hoshi + +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 blocks import ( diff --git a/example/blocks/font.go b/example/blocks/font.go index 57e489632..9b0bad1c5 100644 --- a/example/blocks/font.go +++ b/example/blocks/font.go @@ -1,3 +1,19 @@ +/* +Copyright 2014 Hajime Hoshi + +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 blocks import ( diff --git a/example/blocks/game.go b/example/blocks/game.go index 7beb99ea8..c6d2438f8 100644 --- a/example/blocks/game.go +++ b/example/blocks/game.go @@ -1,3 +1,19 @@ +/* +Copyright 2014 Hajime Hoshi + +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 blocks import ( diff --git a/example/blocks/gamescene.go b/example/blocks/gamescene.go index 60576d9fb..d5cd8c840 100644 --- a/example/blocks/gamescene.go +++ b/example/blocks/gamescene.go @@ -1,3 +1,19 @@ +/* +Copyright 2014 Hajime Hoshi + +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 blocks import ( diff --git a/example/blocks/input.go b/example/blocks/input.go index 61180cf9b..afc80045c 100644 --- a/example/blocks/input.go +++ b/example/blocks/input.go @@ -1,3 +1,19 @@ +/* +Copyright 2014 Hajime Hoshi + +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 blocks import ( diff --git a/example/blocks/piece.go b/example/blocks/piece.go index 2e99b89ab..9a2e62eb1 100644 --- a/example/blocks/piece.go +++ b/example/blocks/piece.go @@ -1,3 +1,19 @@ +/* +Copyright 2014 Hajime Hoshi + +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 blocks import ( diff --git a/example/blocks/scenemanager.go b/example/blocks/scenemanager.go index 8f43c0327..c9516725b 100644 --- a/example/blocks/scenemanager.go +++ b/example/blocks/scenemanager.go @@ -1,3 +1,19 @@ +/* +Copyright 2014 Hajime Hoshi + +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 blocks import ( diff --git a/example/blocks/textures.go b/example/blocks/textures.go index 346ba6855..1d39fb1e5 100644 --- a/example/blocks/textures.go +++ b/example/blocks/textures.go @@ -1,3 +1,19 @@ +/* +Copyright 2014 Hajime Hoshi + +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 blocks import ( diff --git a/example/blocks/titlescene.go b/example/blocks/titlescene.go index c3dae04da..c57c11955 100644 --- a/example/blocks/titlescene.go +++ b/example/blocks/titlescene.go @@ -1,3 +1,19 @@ +/* +Copyright 2014 Hajime Hoshi + +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 blocks import ( diff --git a/geometrymatrix.go b/geometrymatrix.go index c54af154a..3682a500e 100644 --- a/geometrymatrix.go +++ b/geometrymatrix.go @@ -1,3 +1,19 @@ +/* +Copyright 2014 Hajime Hoshi + +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 ebiten import ( diff --git a/geometrymatrix_test.go b/geometrymatrix_test.go index faf028641..c43694edf 100644 --- a/geometrymatrix_test.go +++ b/geometrymatrix_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2014 Hajime Hoshi + +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 ebiten_test import ( diff --git a/glfw/canvas.go b/glfw/canvas.go index dab1533ad..331283ee2 100644 --- a/glfw/canvas.go +++ b/glfw/canvas.go @@ -1,3 +1,19 @@ +/* +Copyright 2014 Hajime Hoshi + +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 glfw import ( diff --git a/glfw/context.go b/glfw/context.go index da5a8814f..d73920e57 100644 --- a/glfw/context.go +++ b/glfw/context.go @@ -1,3 +1,19 @@ +/* +Copyright 2014 Hajime Hoshi + +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 glfw import ( diff --git a/glfw/keyboard.go b/glfw/keyboard.go index 6fedf5b67..f7147d79f 100644 --- a/glfw/keyboard.go +++ b/glfw/keyboard.go @@ -1,3 +1,19 @@ +/* +Copyright 2014 Hajime Hoshi + +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 glfw import ( diff --git a/glfw/mouse.go b/glfw/mouse.go index 96341b576..08fdd9a2d 100644 --- a/glfw/mouse.go +++ b/glfw/mouse.go @@ -1,3 +1,19 @@ +/* +Copyright 2014 Hajime Hoshi + +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 glfw import ( diff --git a/glfw/ui.go b/glfw/ui.go index e47839d10..f2ac147f4 100644 --- a/glfw/ui.go +++ b/glfw/ui.go @@ -1,3 +1,19 @@ +/* +Copyright 2014 Hajime Hoshi + +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 glfw import ( diff --git a/graphicscontext.go b/graphicscontext.go index d2b9e08e1..312c78349 100644 --- a/graphicscontext.go +++ b/graphicscontext.go @@ -1,3 +1,19 @@ +/* +Copyright 2014 Hajime Hoshi + +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 ebiten // A Rect represents a rectangle. diff --git a/keyboard.go b/keyboard.go index 580a0686f..6fb47c466 100644 --- a/keyboard.go +++ b/keyboard.go @@ -1,3 +1,19 @@ +/* +Copyright 2014 Hajime Hoshi + +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 ebiten type Key int diff --git a/mouse.go b/mouse.go index 0060209cd..0e8ec1ab8 100644 --- a/mouse.go +++ b/mouse.go @@ -1,3 +1,19 @@ +/* +Copyright 2014 Hajime Hoshi + +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 ebiten type MouseButton int diff --git a/opengl/context.go b/opengl/context.go index 3624b20f8..df436424f 100644 --- a/opengl/context.go +++ b/opengl/context.go @@ -1,3 +1,19 @@ +/* +Copyright 2014 Hajime Hoshi + +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 opengl import ( diff --git a/opengl/ids.go b/opengl/ids.go index 22261e920..5eccfc0eb 100644 --- a/opengl/ids.go +++ b/opengl/ids.go @@ -1,3 +1,19 @@ +/* +Copyright 2014 Hajime Hoshi + +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 opengl import ( diff --git a/opengl/internal/shader/drawtexture.go b/opengl/internal/shader/drawtexture.go index d89ed3d9a..5392a11ad 100644 --- a/opengl/internal/shader/drawtexture.go +++ b/opengl/internal/shader/drawtexture.go @@ -1,3 +1,19 @@ +/* +Copyright 2014 Hajime Hoshi + +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 shader import ( diff --git a/opengl/internal/shader/program.go b/opengl/internal/shader/program.go index 5cbdc8920..a0d3b785c 100644 --- a/opengl/internal/shader/program.go +++ b/opengl/internal/shader/program.go @@ -1,3 +1,19 @@ +/* +Copyright 2014 Hajime Hoshi + +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 shader import ( diff --git a/opengl/internal/shader/shader.go b/opengl/internal/shader/shader.go index 9fa24c45c..ed9d3f626 100644 --- a/opengl/internal/shader/shader.go +++ b/opengl/internal/shader/shader.go @@ -1,3 +1,19 @@ +/* +Copyright 2014 Hajime Hoshi + +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 shader import ( diff --git a/opengl/internal/shader/texturequad.go b/opengl/internal/shader/texturequad.go index 7535c88f7..3f9245d7d 100644 --- a/opengl/internal/shader/texturequad.go +++ b/opengl/internal/shader/texturequad.go @@ -1,3 +1,19 @@ +/* +Copyright 2014 Hajime Hoshi + +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 shader import ( diff --git a/opengl/internal/shader/texturequad_test.go b/opengl/internal/shader/texturequad_test.go index e6f512593..2d465c690 100644 --- a/opengl/internal/shader/texturequad_test.go +++ b/opengl/internal/shader/texturequad_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2014 Hajime Hoshi + +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 shader_test import ( diff --git a/opengl/rendertarget.go b/opengl/rendertarget.go index 4d37108da..6e46c3c31 100644 --- a/opengl/rendertarget.go +++ b/opengl/rendertarget.go @@ -1,3 +1,19 @@ +/* +Copyright 2014 Hajime Hoshi + +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 opengl import ( diff --git a/opengl/texture.go b/opengl/texture.go index 350887027..14a41ae4a 100644 --- a/opengl/texture.go +++ b/opengl/texture.go @@ -1,3 +1,19 @@ +/* +Copyright 2014 Hajime Hoshi + +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 opengl import ( diff --git a/run.go b/run.go index b4c07f02a..51843535c 100644 --- a/run.go +++ b/run.go @@ -1,3 +1,19 @@ +/* +Copyright 2014 Hajime Hoshi + +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 ebiten import ( diff --git a/texturefactory.go b/texturefactory.go index f7d17a755..4ecaeb9b4 100644 --- a/texturefactory.go +++ b/texturefactory.go @@ -1,3 +1,19 @@ +/* +Copyright 2014 Hajime Hoshi + +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 ebiten import ( diff --git a/ui.go b/ui.go index 80e059228..fc94d87c7 100644 --- a/ui.go +++ b/ui.go @@ -1,3 +1,19 @@ +/* +Copyright 2014 Hajime Hoshi + +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 ebiten type UI interface { @@ -7,7 +23,7 @@ type UI interface { } type GraphicsContextDrawer interface { - Draw(c GraphicsContext) error + Draw(d GraphicsContext) error } type Canvas interface {