[tekui-devel] tekui: UI: added testFlag(); Build procedure: installation of Bo...

Timm S. Mueller tmueller at schulze-mueller.de
Mon Mar 30 11:08:02 CEST 2009


details:   http://hg.teklib.org/tekui/rev/892e88c2331c
changeset: 68:892e88c2331c
user:      Timm S. Mueller <tmueller at schulze-mueller.de>
date:      Mon Mar 30 11:07:11 2009 +0200
description:
UI: added testFlag(); Build procedure: installation of Border class and some
style sheets was missing, corrected; Application: removed 'Title' attribute,
some cleanup and optimization; Area: improved documentation; Canvas: bug in
init procedure fixed; Text: text is now layouted, refreshing should be much
faster than before; PageGroup: PageCaptions can now be set to false, resulting
in a pagegroup without tabs

diffs (truncated from 1066 to 100 lines):

diff -r a734e695213f -r 892e88c2331c bin/demo_animations.lua
--- a/bin/demo_animations.lua	Sat Mar 28 22:56:35 2009 +0100
+++ b/bin/demo_animations.lua	Mon Mar 30 11:07:11 2009 +0200
@@ -186,10 +186,12 @@
 									Min = 0,
 									Max = 0x10000,
 									Range = 0x14000,
+									Style = "border-width: 0; background-color: dark; margin: 0";
 								},
 								ui.Boing:new
 								{
 									Id = "the-boing",
+									Style = "border-width: 0; margin: 0",
 									onSetYPos = function(self, ypos)
 										local s = self.Application:getElementById("boing-slider")
 										s:setValue("Value", ypos)
@@ -204,6 +206,7 @@
 									Min = 0,
 									Max = 0x10000,
 									Range = 0x14000,
+									Style = "border-width: 0; background-color: dark; margin: 0";
 								}
 							}
 						},
diff -r a734e695213f -r 892e88c2331c doc/manual.html
--- a/doc/manual.html	Sat Mar 28 22:56:35 2009 +0100
+++ b/doc/manual.html	Mon Mar 30 11:07:11 2009 +0200
@@ -627,7 +627,7 @@
 			</p>
 			<hr />
 		</div>
-		<div class="node"><h2><a name="tek.ui.class.application" id="tek.ui.class.application">Application (v13.1)</a></h2>
+		<div class="node"><h2><a name="tek.ui.class.application" id="tek.ui.class.application">Application (v14.0)</a></h2>
 			<div class="definition"><dfn>LINEAGE</dfn>
 				<blockquote>
 					<p>
@@ -654,7 +654,7 @@
 								<p>
 									Name of the application, normally used as an unique identifier
 									in combination with the <code>VendorDomain</code> attribute. Default is
-									&quot;unknown&quot;.
+									<code>&quot;unknown&quot;</code>.
 								</p>
 							</blockquote>
 						</li>
@@ -662,7 +662,7 @@
 							<code>Author &#091;IG&#093;</code> 
 							<blockquote>
 								<p>
-									Name of the application's author(s)
+									Names of the application's authors. Default: <code>&quot;unknown&quot;</code> 
 								</p>
 							</blockquote>
 						</li>
@@ -670,7 +670,8 @@
 							<code>Copyright &#091;IG&#093;</code> 
 							<blockquote>
 								<p>
-									Copyright notice applying to the application
+									Copyright notice applying to the application, default
+									<code>&quot;unknown&quot;</code> 
 								</p>
 							</blockquote>
 						</li>
@@ -679,7 +680,8 @@
 							<blockquote>
 								<p>
 									Name of the application, as displayed to the user. This is
-									also the fallback for the <code>Title</code> attribute.
+									also the fallback for the <code>Title</code> attribute in windows.
+									If unset, the default will be <code>&quot;unknown&quot;</code>.
 								</p>
 							</blockquote>
 						</li>
@@ -687,9 +689,9 @@
 							<code>Status &#091;G&#093;</code> 
 							<blockquote>
 								<p>
-									Status of the application, can be &quot;connected&quot;, &quot;connecting&quot;,
-									&quot;disconnected&quot;, &quot;disconnecting&quot;, &quot;initializing&quot;, &quot;error&quot;,
-									&quot;running&quot;.
+									Status of the application, can be <code>&quot;connected&quot;</code>,
+									<code>&quot;connecting&quot;</code>, <code>&quot;disconnected&quot;</code>, <code>&quot;disconnecting&quot;</code>,
+									<code>&quot;initializing&quot;</code>, <code>&quot;error&quot;</code>, <code>&quot;running&quot;</code>.
 								</p>
 							</blockquote>
 						</li>
@@ -699,30 +701,21 @@
 								<p>
 									Name of a theme, which usually maps to an equally named
 									style sheet file (with the extension &quot;.css&quot;) under
-									<code>tek/ui/style/</code>.
+									<code>tek/ui/style/</code>. Default: <code>&quot;desktop&quot;</code> 
 									Themes with reserved meaning are:
 								</p>
 								<blockquote>
 									<ul>
 										<li style="list-style-type: none">
-											&quot;internal&quot;: Uses the hardcoded internal style properties
+											<code>&quot;internal&quot;</code>: Uses the hardcoded internal style properties


More information about the tekui-devel mailing list