summaryrefslogtreecommitdiff
path: root/examples/resources
diff options
context:
space:
mode:
Diffstat (limited to 'examples/resources')
-rw-r--r--examples/resources/images/LICENCE1
-rw-r--r--examples/resources/images/button.pngbin0 -> 1130 bytes
-rw-r--r--examples/resources/lib/rectangle.lua3
3 files changed, 1 insertions, 3 deletions
diff --git a/examples/resources/images/LICENCE b/examples/resources/images/LICENCE
index 8666043..9f8248a 100644
--- a/examples/resources/images/LICENCE
+++ b/examples/resources/images/LICENCE
@@ -9,6 +9,7 @@ ui_bgr.png Jussi Viitala CC0
gradient.png Jussi Viitala CC0
light.png Jussi Viitala CC0
nPatch.png Jussi Viitala CC0
+button.png Jussi Viitala CC0
check-mark.png Delapouite Creative Commons 3.0 https://game-icons.net Resized
circle.png Delapouite Creative Commons 3.0 https://game-icons.net Resized
plain-circle.png Delapouite Creative Commons 3.0 https://game-icons.net Resized
diff --git a/examples/resources/images/button.png b/examples/resources/images/button.png
new file mode 100644
index 0000000..372c4eb
--- /dev/null
+++ b/examples/resources/images/button.png
Binary files differ
diff --git a/examples/resources/lib/rectangle.lua b/examples/resources/lib/rectangle.lua
index 4a4fe66..ba1f9c6 100644
--- a/examples/resources/lib/rectangle.lua
+++ b/examples/resources/lib/rectangle.lua
@@ -32,9 +32,6 @@ Rectangle.meta = {
__unm = function( r )
return Rectangle:new( -r.x, -r.y, -r.width, -r.height )
end,
- __idiv = function( r, v )
- return Rectangle:new( r.x // v, r.y // v, r.width // v, r.height // v )
- end,
__len = function()
return 4
end,