[tekui-devel] tekui: Area: improved commentary
Timm S. Mueller
tmueller at neoscientists.org
Tue Apr 22 20:02:30 CEST 2008
details: http://hg.teklib.org/tekui/rev/65694cfc436c
changeset: 436:65694cfc436c
user: Timm S. Mueller <tmueller at neoscientists.org>
date: Sun Apr 20 23:48:23 2008 +0200
description:
Area: improved commentary
diffs (30 lines):
diff -r b43f426a810c -r 65694cfc436c tek/class/ui/area.lua
--- a/tek/class/ui/area.lua Sun Apr 20 23:40:42 2008 +0200
+++ b/tek/class/ui/area.lua Sun Apr 20 23:48:23 2008 +0200
@@ -37,7 +37,7 @@ local floor = math.floor
local floor = math.floor
module("tek.class.ui.area", tek.class.ui.element)
-_VERSION = "Area 5.19"
+_VERSION = "Area 5.20"
local Area = _M
-------------------------------------------------------------------------------
@@ -75,7 +75,7 @@ function Area.init(self)
self.Drawable = false
-- Focus state of the element (defined, but not handled by Area):
self.Focus = false
- -- Horizontal alignment in group (0 = left, 1 = center, 2 = right)
+ -- Horizontal alignment in group ("left", "center", "right")
self.HAlign = self.HAlign or "left"
-- Fixed height:
self.Height = self.Height or false
@@ -97,7 +97,7 @@ function Area.init(self)
self.Selected = self.Selected or false
-- Boolean to indicate whether intra-area damages are to be collected:
self.TrackDamage = self.TrackDamage or false
- -- Vertical alignment in group (0 = top, 1 = center, 2 = right)
+ -- Vertical alignment in group ("top", "center", "bottom")
self.VAlign = self.VAlign or "top"
-- Weight of the element, in relation to its siblings in the same group:
self.Weight = self.Weight or false
More information about the tekui-devel
mailing list