mirror of
https://github.com/Reuh/ubiquitousse.git
synced 2025-10-27 17:19:31 +00:00
Made modules indepent
This commit is contained in:
parent
b55c6b0dfd
commit
b2d22c75d1
6 changed files with 24 additions and 12 deletions
3
draw.lua
3
draw.lua
|
|
@ -1,5 +1,4 @@
|
|||
-- ubiquitousse.draw
|
||||
local uqt = require((...):match("^(.-ubiquitousse)%."))
|
||||
|
||||
--- The drawing functions: everything that affect the display/window.
|
||||
-- The coordinate system used is:
|
||||
|
|
@ -144,10 +143,12 @@ draw = {
|
|||
scissor = function(x, y, width, height) end,
|
||||
|
||||
--- The drawing area width, in pixels.
|
||||
-- @requiredby input
|
||||
-- @impl backend
|
||||
width = 800,
|
||||
|
||||
--- The drawing area height, in pixels.
|
||||
-- @requiredby input
|
||||
-- @impl backend
|
||||
height = 600,
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue