beginning of a window element

This commit is contained in:
Paul Liverman III 2016-08-22 21:22:13 -07:00
parent e548456366
commit fbdd14b531

12
elements/window.moon Normal file
View 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!