[tekui-devel] tekui: Eliminated the use of 'ipairs' in many classes; improved ...
Timm S. Mueller
tmueller at schulze-mueller.de
Thu May 7 23:28:09 CEST 2009
details: http://hg.teklib.org/tekui/rev/059db59dccdb
changeset: 106:059db59dccdb
user: Timm S. Mueller <tmueller at schulze-mueller.de>
date: Thu May 07 22:05:45 2009 +0200
description:
Eliminated the use of 'ipairs' in many classes; improved border demo; UI:
Simplified match patterns for property preparation; Area, Theme, internal
stylesheet: Minor corrections and cleanup
diffs (truncated from 1598 to 100 lines):
diff -r 21ada450f508 -r 059db59dccdb bin/demo_borders.lua
--- a/bin/demo_borders.lua Wed May 06 16:39:27 2009 +0200
+++ b/bin/demo_borders.lua Thu May 07 22:05:45 2009 +0200
@@ -26,7 +26,40 @@
Children =
{
SameSize = true,
- Columns = 4,
+ Columns = 5,
+ Group:new
+ {
+ Legend = L.BORDER_SOLID,
+ Orientation = "vertical",
+ Children =
+ {
+ Text:new
+ {
+ Style = "border-style:solid; border-width: 2;",
+ Mode = "button",
+ },
+ Text:new
+ {
+ Style = "border-style:solid; border-rim-width: 1; border-focus-width: 1; border-width: 4;",
+ Mode = "button",
+ },
+ Text:new
+ {
+ Style = "border-style:solid; border-rim-width: 1; border-focus-width: 1; border-width: 6;",
+ Mode = "button",
+ },
+ Text:new
+ {
+ Style = "border-style:solid; border-rim-width: 1; border-focus-width: 1; border-width: 8;",
+ Mode = "button",
+ },
+ Text:new
+ {
+ Style = "border-style:solid; border-rim-width: 1; border-focus-width: 1; border-width: 12;",
+ Mode = "button",
+ },
+ }
+ },
Group:new
{
Legend = L.BORDER_INSET,
@@ -35,27 +68,27 @@
{
Text:new
{
- Style = "border-style:inset; border-width: 2;",
+ Style = "border-style:inset; border-rim-width: 1; border-focus-width: 1; border-width: 2;",
Mode = "button",
},
Text:new
{
- Style = "border-style:inset; border-width: 4;",
+ Style = "border-style:inset; border-rim-width: 1; border-focus-width: 1; border-width: 4;",
Mode = "button",
},
Text:new
{
- Style = "border-style:inset; border-width: 6;",
+ Style = "border-style:inset; border-rim-width: 1; border-focus-width: 1; border-width: 6;",
Mode = "button",
},
Text:new
{
- Style = "border-style:inset; border-width: 8;",
+ Style = "border-style:inset; border-rim-width: 1; border-focus-width: 1; border-width: 8;",
Mode = "button",
},
Text:new
{
- Style = "border-style:inset; border-width: 12;",
+ Style = "border-style:inset; border-rim-width: 1; border-focus-width: 1; border-width: 12;",
Mode = "button",
},
}
@@ -68,27 +101,27 @@
{
Text:new
{
- Style = "border-style:outset; border-width: 2;",
+ Style = "border-style:outset; border-rim-width: 1; border-focus-width: 1; border-width: 2;",
Mode = "button",
},
Text:new
{
- Style = "border-style:outset; border-width: 4;",
+ Style = "border-style:outset; border-rim-width: 1; border-focus-width: 1; border-width: 4;",
Mode = "button",
},
Text:new
{
- Style = "border-style:outset; border-width: 6;",
+ Style = "border-style:outset; border-rim-width: 1; border-focus-width: 1; border-width: 6;",
Mode = "button",
},
Text:new
{
More information about the tekui-devel
mailing list