[tekui-devel] tekui: UI, Display: Added symbolic pens PAPER and INK, DISABLEDD...
Timm S. Mueller
tmueller at neoscientists.org
Sun Sep 6 22:59:02 CEST 2009
details: http://hg.teklib.org/tekui/rev/4d9f1d62be05
changeset: 121:4d9f1d62be05
user: Timm S. Mueller <tmueller at neoscientists.org>
date: Sun Sep 06 22:11:48 2009 +0200
description:
UI, Display: Added symbolic pens PAPER and INK, DISABLEDDETAIL2 renamed to
DISABLEDDETAILSHINE, LIST2 renamed to LISTALT; Display, Theme:
disabled-detail2 renamed to disabled-detail-shine, list2 to list-alt;
Drawable: during color allocation, getPaletteEntry() is now called until it
returns nil; Display: many symbolic colors added (black, white, fuchsia, ...),
changed cursor color; Class:checkDescend() renamed to instanceOf();
ScrollGroup: AcceptFocus attribute added; ScrollBar: Implementation of arrow
button and slider checkFocus() was broken, corrected, added AcceptFocus
attribute; Canvas: removed SmoothFactor attribute, now handled by additional
argument to focusRect(), sanity check added in focusRect(); X11 Display:
fullscreen state is cleared when the last window is closed - allowing to
switch back and forth between fullscreen and windowed; Application:addMember()
now connects children recursively, getModalWindow() added, setLastKey() added,
requesters are now of class "app-dialog", requestFile() now supports an
additional FocusElement argument; DirList: Location field now advances to the
action button when Return is pressed, FocusElement attribute added;
ImageGadget: crashed when no image was set, corrected, now supports
PEN_DEFAULT for not using a single pen for rendering its imagery; Theme,
internal stylesheet: added "field" class; "retro" stylesheet added; Text:
KeyCode attribute was lost during repeated invocations of setup(), corrected
Window: improved key repeat/retrigger handling, the KEYDOWN message handler
now checks if the popup (to which this event may have been forwarded)
collapsed already; Area, UI, Theme, internal stylesheet: PEN_PARENTGROUP
renamed to PEN_DEFAULT, "parent-group" pseudo-color renamed to "default", the
default color is now also evaluated for the foreground color; Slider: now
checks if it is allowed to receive the focus before it enters capture mode;
Window, Application: Hotkeys are now actuated on keydown events;
UTF8String:chars() iterated over literal bytes in newly created strings,
corrected; Group:onActivateGroup() has now a return value; Region, Visual:
Added _VERSION; UI:loadLibrary(), require() added, removed pattern argument
from loadClass(), minimum version requirements are now enforced in most
classes; Area, Canvas: Changed meaning of return value from focusRect()
diffs (truncated from 3480 to 100 lines):
diff -r 6084da38c247 -r 4d9f1d62be05 CHANGES
--- a/CHANGES Fri Aug 21 01:28:36 2009 +0200
+++ b/CHANGES Sun Sep 06 22:11:48 2009 +0200
@@ -1,35 +1,65 @@
== tekUI Changelog ==
+=== 0.8h: ===
+
+ * Window, Application: Hotkeys are now actuated on keydown, not on keyup
+ * Area, UI, Theme, internal stylesheet: PEN_PARENTGROUP renamed to
+ PEN_DEFAULT, "parent-group" pseudo-color renamed to "default", the default
+ color is now also evaluated for the foreground color
+ * ImageGadget: Now supports PEN_DEFAULT for not using a single pen for
+ rendering its imagery. This allows control over the greying-out behaviour
+ of images in style sheets. Crashed when no image was set; corrected
+ * UI, Display, Theme: Added symbolic pens PAPER and INK, DISABLEDDETAIL2
+ renamed to DISABLEDDETAILSHINE, LIST2 renamed to LISTALT, symbolic color
+ keys "disabled-detail2" renamed to "disabled-detail-shine", "list2" to
+ "list-alt"
+ * Display: more symbolic colors added (black, white, fuchsia, ...),
+ changed cursor color
+ * Theme, internal stylesheet: added "field" class
+ * ScrollBar: Implementation of arrow button and slider checkFocus() was
+ broken, corrected, added AcceptFocus attribute
+ * ScrollGroup: AcceptFocus attribute added
+ * dark.css stylesheet added
+ * UI: loadLibrary(), require() added, removed pattern argument from
+ loadClass(), minimum version requirements are now enforced in most classes
+ * Slider: now checks if it is allowed to receive the focus before it enters
+ capture mode
+ * Class:checkDescend() renamed to instanceOf()
* Group:onActivateGroup() added
* Window, UI: Doubleclick jitter and timeout are now defined in UI
* Gendoc: NAME argument is now /K, HEADER is now /K/M, allowing multiple
header files. A reference document is now supplied to normal jumps
* UTF8String: find(), chars() added
- * Canvas: added SmoothFactor attribute and incremental scroll
- positioning in focusRect()
- * ListGadget: fixed regression: the cursor border, if unset in a
- stylesheet, was initialized to zero width, changed to 1;
- * Text: now uses the "IgnoreAltShift" peudo qualifier for Keycode
- shortcuts
+ * Canvas: focusRect() now has an optional "smooth" scroll positioning
+ argument, sanity check added
+ * Text: now uses the "IgnoreAltShift" peudo qualifier for Keycode shortcuts,
+ KeyCode attribute was lost during repeated invocations of setup(), corrected
* Raw Framebuffer display driver: added
- * 64bit fixes and source code maintenance adjustments merged in from
- TEKlib
- * X11 driver: Now using the XVid extension and a more sophisticated
- window opening procedure to much better support fullscreen applications
- * Visual, displays, Drawable: Added TVCMD_FLUSH command to TVRequest,
- a flush() method and a dirty flag indicating window changes
+ * 64bit fixes and source code maintenance adjustments merged in from TEKlib
+ * X11 Display: Now using the XVid extension and a more sophisticated window
+ opening procedure to much better support fullscreen applications
+ * Visual, displays, Drawable: Added TVCMD_FLUSH command to TVRequest, a
+ flush() method and a dirty flag indicating visual changes
* Visual, Lua bindings: Added length argument to textSize()
- * Args: Partly rewritten, now handles missing keywords correctly in
- /M/K modifiers
+ * Args: Partly rewritten, now handles missing keywords correctly in /M/K
+ modifiers
* Region: added trans(), isNull()
- * Application: fixed initial double refresh bug
+ * Region, Visual: Added _VERSION
+ * Application: fixed initial double refresh bug, requestFile() now supports
+ an additional FocusElement argument, setLastKey() added, requesters receive
+ the style class "app-dialog", addMember() now connects children recursively,
+ getModalWindow() added
* Area:layout() now handles blits in transposed drawing contexts
- * DirList: Added AutoWidth attribute
- * Drawable:getClipRect() added
+ * DirList: Added AutoWidth and FocusElement attributes, location field now
+ advances to the action button when Return is pressed
+ * Drawable:getClipRect() added, any number of symbolic colors can now be
+ allocated
* Frame:layoutBorder() split off from layout()
- * ListGadget: fixedto work in absence of a style sheet
- * Window:addBlit() added, update() now calls flush() after repaints
+ * ListGadget: fixed to work in absence of a style sheet
+ * Window:addBlit() added, update() now calls flush() after repaints, the
+ KEYDOWN message handler now checks if a popup to which this event may have
+ been forwarded collapsed already, improved key repeat/retrigger handling
=== 0.8g: ===
diff -r 6084da38c247 -r 4d9f1d62be05 VERSION
--- a/VERSION Fri Aug 21 01:28:36 2009 +0200
+++ b/VERSION Sun Sep 06 22:11:48 2009 +0200
@@ -1,5 +1,5 @@
= tekUI GUI Toolkit =
-Version 0.8g
+Version 0.8h
---------------------------------------------------------------------
diff -r 6084da38c247 -r 4d9f1d62be05 bin/canvas.lua
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
More information about the tekui-devel
mailing list