diff --git a/docs/classes/element.html b/docs/classes/element.html index b0af638..e03eb6d 100644 --- a/docs/classes/element.html +++ b/docs/classes/element.html @@ -69,11 +69,11 @@

Issues

- + - +
element.debugDraw-todo7element.new-todo7 doc me
element.debugDraw-todo7-todo8element.new-todo7-todo8 document this
@@ -84,10 +84,6 @@ Constructor expects nothing, or a data table describing it. - element.debugDraw (self) - Slightly modified from pop.debugDraw - - element.setSize (w, h) Sets an element's width/height. @@ -129,8 +125,8 @@
- - element.debugDraw-todo7 + + element.new-todo7
doc me @@ -143,8 +139,8 @@
- - element.debugDraw-todo7-todo8 + + element.new-todo7-todo8
document this @@ -190,32 +186,6 @@ -
-
- - element.debugDraw (self) -
-
- Slightly modified from pop.debugDraw - - -

Parameters:

- - - - -

See also:

- - -
@@ -456,7 +426,7 @@
generated by LDoc 1.4.3 -Last updated 2017-04-10 20:32:12 +Last updated 2017-04-10 22:47:43
diff --git a/docs/classes/window.html b/docs/classes/window.html index e895d2a..f4ddff8 100644 --- a/docs/classes/window.html +++ b/docs/classes/window.html @@ -144,7 +144,7 @@
generated by LDoc 1.4.3 -Last updated 2017-04-10 20:32:12 +Last updated 2017-04-10 22:47:43
diff --git a/docs/index.html b/docs/index.html index bb75259..51786a1 100644 --- a/docs/index.html +++ b/docs/index.html @@ -84,7 +84,7 @@
generated by LDoc 1.4.3 -Last updated 2017-04-10 20:32:12 +Last updated 2017-04-10 22:47:43
diff --git a/docs/modules/Element.html b/docs/modules/Element.html index f2645c8..1f4208b 100644 --- a/docs/modules/Element.html +++ b/docs/modules/Element.html @@ -491,7 +491,7 @@
generated by LDoc 1.4.3 -Last updated 2017-04-10 20:32:12 +Last updated 2017-04-10 22:47:43
diff --git a/docs/modules/main.html b/docs/modules/main.html index d28d573..3a041e0 100644 --- a/docs/modules/main.html +++ b/docs/modules/main.html @@ -105,7 +105,7 @@
generated by LDoc 1.4.3 -Last updated 2017-04-10 20:32:12 +Last updated 2017-04-10 22:47:43
diff --git a/docs/modules/pop.html b/docs/modules/pop.html index 9bc57bf..0538601 100644 --- a/docs/modules/pop.html +++ b/docs/modules/pop.html @@ -723,7 +723,7 @@ table.insert element.parent, element.parent\removeChild(element),
generated by LDoc 1.4.3 -Last updated 2017-04-10 20:32:12 +Last updated 2017-04-10 22:47:43
diff --git a/docs/modules/util.html b/docs/modules/util.html index 0a7e0dc..7799c03 100644 --- a/docs/modules/util.html +++ b/docs/modules/util.html @@ -126,7 +126,7 @@
generated by LDoc 1.4.3 -Last updated 2017-04-10 20:32:12 +Last updated 2017-04-10 22:47:43
diff --git a/elements/element.lua b/elements/element.lua index 15399d3..c992d35 100644 --- a/elements/element.lua +++ b/elements/element.lua @@ -6,16 +6,6 @@ local element do local _class_0 local _base_0 = { - debugDraw = function(self) - graphics.setLineWidth(1) - graphics.setColor(0, 20, 0, 100) - graphics.rectangle("fill", self.data.x, self.data.y, self.data.w, self.data.h) - graphics.setColor(150, 255, 150, 150) - graphics.rectangle("line", self.data.x, self.data.y, self.data.w, self.data.h) - graphics.setColor(200, 255, 200, 255) - graphics.print("e", self.data.x, self.data.y) - return self - end, align = function(self, horizontal, vertical, toPixel) if toPixel == nil then toPixel = true diff --git a/elements/element.moon b/elements/element.moon index b87a5ad..1a316c9 100644 --- a/elements/element.moon +++ b/elements/element.moon @@ -32,19 +32,6 @@ class element @align! - --- Slightly modified from pop.debugDraw - --- @see pop.debugDraw - debugDraw: => - graphics.setLineWidth 1 - graphics.setColor 0, 20, 0, 100 - graphics.rectangle "fill", @data.x, @data.y, @data.w, @data.h - graphics.setColor 150, 255, 150, 150 - graphics.rectangle "line", @data.x, @data.y, @data.w, @data.h - graphics.setColor 200, 255, 200, 255 - graphics.print "e", @data.x, @data.y - - return @ - --- @todo doc me align: (horizontal, vertical, toPixel=true) => unless @data.align return @