diff options
Diffstat (limited to 'examples/resources')
| -rw-r--r-- | examples/resources/images/LICENCE | 1 | ||||
| -rw-r--r-- | examples/resources/images/button.png | bin | 0 -> 1130 bytes | |||
| -rw-r--r-- | examples/resources/lib/rectangle.lua | 3 |
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 Binary files differnew file mode 100644 index 0000000..372c4eb --- /dev/null +++ b/examples/resources/images/button.png 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, |
