[tekui-devel] tekui: Class: reactived proxy mode by default; Demo: improved; S...

Timm S. Mueller tmueller at neoscientists.org
Thu May 15 00:08:23 CEST 2008


details:   http://hg.teklib.org/tekui/rev/789b5952635d
changeset: 486:789b5952635d
user:      Timm S. Mueller <tmueller at neoscientists.org>
date:      Sun May 11 10:24:55 2008 +0200
description:
Class: reactived proxy mode by default; Demo: improved; Slider: removed
unneeded Knob rendering code; Text, Theme: sets its own Padding now,
"TextPadding"

diffs (truncated from 294 to 100 lines):

diff -r 6e8086ee8e36 -r 789b5952635d bin/demo.lua
--- a/bin/demo.lua	Sun May 11 09:48:08 2008 +0200
+++ b/bin/demo.lua	Sun May 11 10:24:55 2008 +0200
@@ -96,64 +96,6 @@ ui.Application:new
 				{
 					Children =
 					{
-						ui.Group:new
-						{
-							TabName = "Lissa",
-							Children =
-							{
-								ui.Lissa:new { },
-							}
-						},
-						ui.Group:new
-						{
-							TabName = "Boing",
-							Direction = "vertical",
-							Children =
-							{
-								ui.Boing:new { Id = "the-boing" },
-								ui.Group:new
-								{
-									Height = "auto",
-									Children =
-									{
-										ui.text:new
-										{
-											Mode = "button",
-											Label = "Start",
-											Notifications =
-											{
-												["Pressed"] =
-												{
-													[false] =
-													{
-														{
-															ui.NOTIFY_ID, "the-boing", "setValue", "Running", true
-														}
-													}
-												}
-											}
-										},
-										ui.text:new
-										{
-											Mode = "button",
-											Label = "Stop",
-											Notifications =
-											{
-												["Pressed"] =
-												{
-													[false] =
-													{
-														{
-															ui.NOTIFY_ID, "the-boing", "setValue", "Running", false
-														}
-													}
-												}
-											}
-										},
-									},
-								},
-							}
-						},
 						ui.Group:new
 						{
 							TabName = "Tunnel",
@@ -223,6 +165,64 @@ ui.Application:new
 								},
 							}
 						},
+						ui.Group:new
+						{
+							TabName = "Boing",
+							Direction = "vertical",
+							Children =
+							{
+								ui.Boing:new { Id = "the-boing" },
+								ui.Group:new
+								{
+									Height = "auto",
+									Children =
+									{
+										ui.text:new
+										{
+											Mode = "button",
+											Label = "Start",
+											Notifications =
+											{
+												["Pressed"] =
+												{
+													[false] =
+													{
+														{
+															ui.NOTIFY_ID, "the-boing", "setValue", "Running", true
+														}
+													}
+												}
+											}


More information about the tekui-devel mailing list