[tekui-devel] tekui: Visual API, Image, ImageGadget, stock images: Changed ima...
Timm S. Mueller
tmueller at schulze-mueller.de
Thu May 7 23:28:08 CEST 2009
details: http://hg.teklib.org/tekui/rev/21ada450f508
changeset: 105:21ada450f508
user: Timm S. Mueller <tmueller at schulze-mueller.de>
date: Wed May 06 16:39:27 2009 +0200
description:
Visual API, Image, ImageGadget, stock images: Changed image table structure;
UI: Renamed createImage() to getStockImage(), added loadImage(),
"background-image" handled in style property preparation; UI, Object:
NOTIFY_ALWAYS now behaves like former NOTIFY_CHANGE, NOTIFY_CHANGE has been
removed; Visual, Visual/Lua binding, display drivers: TVisualText() no longer
supports a background pen; Nano-X Display driver: drawbuffer now fully
supported; Visual/Lua binding: drawtext() now requires the complete text
bounding box, supports background pixmaps and an additional x/y argument for
the texture origin, frect() now supports an additional x/y argument pair for
the texture origin; Default border: Group and element origins are now
considered for texture origins; Area: Added BackgroundPosition attribute,
"background-position" style property, getBackground() function, erase() now
handles texture origins, init() now resets Focus, DamageRegion is or'ed to (no
longer overwritten during layout) and no longer reset in erase() but in
refresh(); Area, Canvas, FloatText, Gauge, Group, ImageGadget, ListGadget,
Slider: erase() and draw() now consider texture origin; Display: added pixmap
cache, createPixmap(), loadPixmap(), getPixmap(); Drawable: Added texture
loader reacting on url(...) keys, RGB colors are now cached with an unique
identifier to avoid double allocation, some sanity checks added; ImageGadget:
Some layouting problems fixed, added several checks for presence of an image;
PopItem: removed "popup-root" and "popup-children" pseudo classes, these are
now predefined classes and set during connect() if no other Class is
specified; Element, Application:getElementById(), getId() unified and renamed
to getById(); Visual API: Added pixmap objects, createpixmap(), freepixmap(),
renamed drawppm() to drawpixmap(), frect() now supports rendering a pixmap
with a texture origin; Merged BitmapImage and VectorImage class to Image;
Gadget: onActivate() now implements collapsing of popups, removed the same
functionality from PopItem - CheckMark, RadioButtons etc. are now functional
in popups; Group:markDamage() checks for presence of a FreeRegion now,
markDamage() and layout() are now better prepared for tracking intra-area
damages; PopItem: no longer resets Selected and Focus when opening; Region:
checkoverlap() always returned true, corrected; CHANGES, VERSION: added;
Documentation improved; Gendoc: Added support for the --header option in class
tree documentations; Theme, internal stylesheet: Added background-position
attributes; Installation: BitmapImage, VectorImage classes removed, Image
class and desktop.css added, texture.css improved; minor cosmetic changes
diffs (truncated from 6133 to 100 lines):
diff -r 029ed6b71157 -r 21ada450f508 CHANGES
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/CHANGES Wed May 06 16:39:27 2009 +0200
@@ -0,0 +1,45 @@
+
+== tekUI Changelog ==
+
+=== 0.8d: ===
+
+ * Application:quit() added, can now be passed an initial Display
+ * Area, Canvas, Gadget: Added AutoPosition feature
+ * CheckMark:setState(): Hilite has now precedence over Selected
+ * CheckMark, RadioButton, ScrollBar: Now using external images
+ * Compiler: added
+ * Debug: Default level reset to WARN (this time also reflected in the documentation)
+ * Display: added colors user1 ... user4, colorNameToRGB(), getPaletteEntry(), removed allocPens()
+ * Drawable: now supports on-demand allocation of custom colors
+ * Element: Added getNumProperty(), slightly optimized
+ * List:changeItem() was using a global instead of an argument, corrected
+ * Installation procedure corrected
+ * Meter class and example rewritten
+ * Minor corrections and improvements in the documentation
+ * PopItems: corrected notification handler for Active, fixing long-standing double-activation bug
+ * Region.new() can now cope with an empty initial rectangle
+ * Slider: AutoFocus is now false by default, improved keyboard usage
+ * Theme, internal stylesheet: minor corrections
+ * Text:getTextSize() now also returns the layouted x/y, if present
+ * UI: Added image class loader and createImage(), added PEN_NUMBER, PEN_USER1 through PEN_USER4, createHook() now returns false on the predefined name "none"
+ * UI, Display, Theme: PEN_LIGHT removed, added PEN_OUTLINE
+ * UTF8String: set() and char() can now be overridden, removed __tostring() and __concat(), unpack() was not known in byte()
+ * VectorImage, BitmapImage: data fields are now indexed numerically
+ * Visual API: drawImage() data structure changed, implementation simplified and several problems rectified
+ * Visual:drawImage(), ImageGadget, VectorImage:draw() now supports an override_pen argument for rendering an image monochromatically
+
+=== 0.8c: ===
+
+ * README: Improved, updated
+ * Debug: verbosity set to ERROR
+ * Application: requestFile() arg.Center can now be set to false
+ * Area: layout() simplified, should handle more blitting cases
+ * Button, CheckMark, MenuItem, PopItem: keycode can now be set to false
+ * FloatText, ListGadget: TrackDamage can now be set to false
+ * Frame: border repaints can now be avoided if an element was blitted
+ * Text:onSetText() causes a less destructive repaint if KeepMinWidth is enabled
+ * Window: blits and updates are now implemented in the overriden refresh() method and synchronized, removed notify option in SetHiliteElement(), setFocusElement(), setActiveElement(), setDblClickElement(), improved documentation
+
+=== 0.8b: ===
+
+ * CHANGES added
diff -r 029ed6b71157 -r 21ada450f508 COPYRIGHT
--- a/COPYRIGHT Wed Apr 29 22:59:18 2009 +0200
+++ b/COPYRIGHT Wed May 06 16:39:27 2009 +0200
@@ -1,5 +1,5 @@
-== License ==
+== tekUI License ==
tekUI is licensed under the terms of the MIT license reproduced
below. It is free software: It can be used for both academic and
@@ -10,8 +10,8 @@
Copyright © 2008, 2009 by the authors:
- * Timm S. Müller <tmueller at schulze-mueller.de>
- * Franciska Schulze <fschulze at schulze-mueller.de>
+ * Timm S. Müller
+ * Franciska Schulze
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff -r 029ed6b71157 -r 21ada450f508 Makefile
--- a/Makefile Wed Apr 29 22:59:18 2009 +0200
+++ b/Makefile Wed May 06 16:39:27 2009 +0200
@@ -42,7 +42,9 @@
bin/gendoc.lua README --header VERSION -i 32 -n tekUI > doc/index.html
bin/gendoc.lua COPYRIGHT -i 32 -n tekUI Copyright > doc/copyright.html
bin/gendoc.lua TODO -i 32 -n tekUI TODO > doc/todo.html
- bin/gendoc.lua tek/ -n tekUI Reference manual > doc/manual.html
+ bin/gendoc.lua CHANGES -i 32 -r manual.html -n tekUI Changelog > doc/changes.html
+ bin/gendoc.lua tek/ --header VERSION -n Class Reference Manual > doc/manual.html
+
kdiff:
-(a=$$(mktemp -du) && hg clone $$PWD $$a && kdiff3 $$a $$PWD; rm -rf $$a)
diff -r 029ed6b71157 -r 21ada450f508 README
--- a/README Wed Apr 29 22:59:18 2009 +0200
+++ b/README Wed May 06 16:39:27 2009 +0200
@@ -9,36 +9,39 @@
- 1.5. [[#authors : Authors and contact]]
- 2. [[#overview : Technical overview]]
- - 2.1. [[#features : Selected features]]
+ - 2.1. [[#features : General features]]
- 2.2. [[#uielements : Supported user interface elements]]
- - 2.3. [[#plans : Development and deployment]]
+ - 2.3. [[#deployment : Deployment]]
- 2.4. [[#themes : Themes]]
- 2.5. [[#clibrary : C library]]
- 2.6. [[#objectmodel : Lua, C and object model]]
- 2.7. [[#documentation : Documentation system]]
More information about the tekui-devel
mailing list