mirror of
https://github.com/TangentFoxy/Pop.Box.git
synced 2024-12-15 12:44:20 +00:00
beginning of a window element
This commit is contained in:
parent
e548456366
commit
fbdd14b531
12
elements/window.moon
Normal file
12
elements/window.moon
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
--- A generic window element. Supports resizing, minimizing(?), and closing.
|
||||||
|
--- @classmod window
|
||||||
|
--- @copyright Paul Liverman III (2016)
|
||||||
|
--- @license The MIT License (MIT)
|
||||||
|
|
||||||
|
class window
|
||||||
|
--- Constructor expects nothing, or a data table describing it.
|
||||||
|
new: (@parent, @data={}) =>
|
||||||
|
--- @todo if data, do stuff about it
|
||||||
|
|
||||||
|
setSize: =>
|
||||||
|
--do more stuff!
|
Loading…
Reference in New Issue
Block a user