[tekui-devel] tekui: TODO updated; choices and pop examples revisited; improve...

Timm S. Mueller tmueller at neoscientists.org
Wed Mar 5 23:02:30 CET 2008


details:   http://hg.teklib.org/tekui/rev/d35b66ca8a56
changeset: 364:d35b66ca8a56
user:      Timm S. Mueller <tmueller at neoscientists.org>
date:      Wed Mar 05 22:57:54 2008 +0100
description:
TODO updated; choices and pop examples revisited; improved checkmark image
height calculation; added menuitem arrows

diffs (truncated from 292 to 100 lines):

diff -r 1784dc30f1fb -r d35b66ca8a56 TODO
--- a/TODO	Mon Feb 11 07:38:45 2008 +0100
+++ b/TODO	Wed Mar 05 22:57:54 2008 +0100
@@ -3,26 +3,32 @@
 
 === Classes ===
 
+ * ListView
+ * Filerequester
  * PopSlider
- * PopCycle
+ * PopCycle, Combobox
  * Gauge
- * PopFile/PopDrawer
- * PopPen?
+ * PopFile/PopDrawer/PopPen
  * FloatText [ok]
  * Checkmark [ok]
  * Radiobutton [ok]
 
 === General ===
 
- * Initial Window refresh problem: layout/rendered twice
- * Application.ThemeName
- * Memory leak in visual/lua?
+ * Change theme, Application.ThemeName
  * Caption vs. Label
- * port Layout-Hook to C
- * Popup/Messagebox/Filerequester...
- * Cursor movement using TAB
+ * Layouter ported to C
+ * C-Library
+ * Cursor movement
+ * Keyboard shortcuts
  * Localisation
  * Run in TEKlib-Lua-Interpreter
- * Redraw, RedrawBorder, Selected, Pressed, Hilite as Flags?
  * realtime modification of attributes affecting layout [ok]
- * change theme
+
+=== Bugs ===
+
+ * Antialiased fonts not supported with Composite Extension
+ * Initial Window refresh problem: layout/rendered twice
+ * Initial Window refresh problem: not layout/rendered at all
+ * Memory leak in visual/lua
+
diff -r 1784dc30f1fb -r d35b66ca8a56 tek/app/ui/choices.lua
--- a/tek/app/ui/choices.lua	Mon Feb 11 07:38:45 2008 +0100
+++ b/tek/app/ui/choices.lua	Wed Mar 05 22:57:54 2008 +0100
@@ -19,10 +19,11 @@ ui.application:new {
 					Children = {
 						ui.CheckMark:new { Label = "Water" },
 						ui.CheckMark:new { Label = "Juice" },
+						ui.CheckMark:new { Label = "Milk" },
+						ui.Spacer:new { },
 						ui.CheckMark:new { Label = "Tea" },
-						ui.CheckMark:new { Label = "Milk" },
-						ui.CheckMark:new { Label = "Lassi" },
 						ui.CheckMark:new { Label = "Coffee" },
+						ui.Spacer:new { },
 						ui.CheckMark:new { Label = "Beer" },
 						ui.CheckMark:new { Label = "Wine" },
 					},
@@ -33,10 +34,11 @@ ui.application:new {
 					Children = {
 						ui.RadioButton:new { Label = "Yes" },
 						ui.RadioButton:new { Label = "No" },
+						ui.Spacer:new { },
 						ui.RadioButton:new { Label = "Possibly" },
 						ui.RadioButton:new { Label = "Maybe" },
 						ui.RadioButton:new { Label = "Perhaps" },
-						ui.RadioButton:new { Label = "Apparently" },
+						ui.Spacer:new { },
 						ui.RadioButton:new { Label = "What, me?" },
 						ui.RadioButton:new { Label = "Ask again later" },
 					},
diff -r 1784dc30f1fb -r d35b66ca8a56 tek/app/ui/pop.lua
--- a/tek/app/ui/pop.lua	Mon Feb 11 07:38:45 2008 +0100
+++ b/tek/app/ui/pop.lua	Wed Mar 05 22:57:54 2008 +0100
@@ -16,7 +16,7 @@ local success, state = ui.application:ne
 								ui.popradioitem:new { Label = "Zwei" },
 								ui.popradioitem:new { Label = "Drei" },
 								ui.Spacer:new { },
-								ui.menuitem:new { Label = "Ichi" },
+								ui.menuitem:new { Label = "Ichi", Disabled = true },
 								ui.menuitem:new { Label = "Ni" },
 								ui.menuitem:new { Label = "San",
 									Children = {
@@ -54,7 +54,6 @@ local success, state = ui.application:ne
 						},
 
 						ui.popitem:new { Label = "PopItem",
-							VAlign = 1,
 							-- these children are not connected:
 							Children = {
 								ui.popitem:new { Label = "Langer text",
@@ -93,7 +92,7 @@ local success, state = ui.application:ne
 							Children = {
 								ui.popradioitem:new { Label = "Eins - mit sehr langem Text", Selected = true },


More information about the tekui-devel mailing list