changeset 2592:dbb189c5d398

Update the readme with information about the HTIMER change. Also clarify that callback parameters MAY be local references on Android. I try to make sure the callbacks pass the global reference whenever possible, but there are instances when the global reference is not available. The original text seemed to suggest they are always local.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Tue, 25 May 2021 15:38:55 +0000
parents f3d423cdbc2e
children cc2befdc97e8
files readme.txt
diffstat 1 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/readme.txt	Tue May 25 15:15:09 2021 +0000
+++ b/readme.txt	Tue May 25 15:38:55 2021 +0000
@@ -85,10 +85,15 @@
     dw_flush() call.  dw_flush() may cause multiple draw passes.
 Added new function dw_window_compare() to check if two window handles
     reference the same object.  Necessary in the Android port since
-    handles passed to callbacks are local references, so they don't
-    always match the handles saved during window creation.
+    handles passed to callbacks can be local references, so they
+    don't always match the handles saved during window creation.
 Added support for dw_window_set_font() with a NULL font parameter.
     This resets the font used on the widget to the default font.
+Changed dw_timer_connnect() and dw_timer_disconnect() to use HTIMER.
+    This allows newer ports to use object handles that won't fit in
+    what had been an integer reference.  OS/2 will use its native 
+    HTIMER and other existing platforms will continue to use "int"
+    for compatibility. Other platforms may change in the future.
 Fixed GTK warnings on GTK3 caused by using Pango style font syntax.
 Fixed GTK3 leaks when setting fonts or colors on a widget repeatedly.
 Fixed incorrect reporting of word wrap support on Windows.