diff --git a/elements/window.moon b/elements/window.moon new file mode 100644 index 0000000..a06d55a --- /dev/null +++ b/elements/window.moon @@ -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!