[tekui-devel] tekui: Removed some examples which are no longer needed or not f...

Timm S. Mueller tmueller at schulze-mueller.de
Mon Mar 16 03:43:28 CET 2009


details:   http://hg.teklib.org/tekui/rev/bf2e3a6aa8d5
changeset: 58:bf2e3a6aa8d5
user:      Timm S. Mueller <tmueller at schulze-mueller.de>
date:      Mon Mar 16 03:36:45 2009 +0100
description:
Removed some examples which are no longer needed or not fully functional

diffs (truncated from 413 to 100 lines):

diff -r 43d92cc57b8b -r bf2e3a6aa8d5 bin/dynamic.lua
--- a/bin/dynamic.lua	Mon Mar 16 03:27:21 2009 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,178 +0,0 @@
-#!/usr/bin/env lua
-
-local ui = require "tek.ui"
-
-local APP_ID = "tekui-demo"
-local VENDOR = "schulze-mueller.de"
-
-ui.Application:new
-{
-	ApplicationId = APP_ID,
-	VendorDomain = VENDOR,
-	Children =
-	{
-		ui.Window:new
-		{
-			Title = "Dynamic Weight 1",
-			Children =
-			{
-				ui.Group:new
-				{
-					Legend = "Dynamic Weight",
-					Children =
-					{
-						ui.Group:new
-						{
-							Title = "Hallo",
-							Width = "free",
-							Children =
-							{
-								ui.Slider:new
-								{
-									Min = 0,
-									Max = 100000,
-									Notifications =
-									{
-										["Value"] =
-										{
-											[ui.NOTIFY_CHANGE] = {
-												{ ui.NOTIFY_ID, "weight-1", "setValue", "Text", ui.NOTIFY_FORMAT, "%d" },
-											},
-										},
-									},
-								},
-								ui.Text:new
-								{
-									FontSpec = "utopia:100",
-									Id = "weight-1",
-									Text = "0",
-									Width = "auto"
-								},
-							},
-						},
-					},
-				},
-			},
-		},
-		ui.Window:new
-		{
-			Title = "Dynamic Weight 2",
-			Legend = "Dynamic Weight",
-			Orientation = "vertical",
-			Children =
-			{
-				ui.Group:new
-				{
-					Children =
-					{
-						ui.Slider:new
-						{
-							Knob = ui.Text:new
-							{
-								Id = "slider-knob",
-								Class = "button",
-								Text = "$08000",
-							},
-							Id = "slider-2",
-							Min = 0,
-							Max = 0x10000,
-							Width = "free",
-							Default = 0x8000,
-							Step = 0x400,
-							Notifications =
-							{
-								["Value"] =
-								{
-									[ui.NOTIFY_CHANGE] =
-									{
-										{ ui.NOTIFY_ID, "slider-weight-1", ui.NOTIFY_FUNCTION, function(self, val)
-											self:setValue("Text", ("$%05x"):format(val))
-											self:setValue("Weight", val)
-											self.Parent:calcWeights()
-											self:rethinkLayout(1)
-										end, ui.NOTIFY_VALUE }
-									},
-								},
-							},


More information about the tekui-devel mailing list