comparison readme.txt @ 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 56183bef6793
children 4d5467e57115
comparison
equal deleted inserted replaced
2591:f3d423cdbc2e 2592:dbb189c5d398
83 callback. GTK4 and GTK3 with Wayland require drawing to be 83 callback. GTK4 and GTK3 with Wayland require drawing to be
84 done in the callback, necessitating a dw_render_redraw() or 84 done in the callback, necessitating a dw_render_redraw() or
85 dw_flush() call. dw_flush() may cause multiple draw passes. 85 dw_flush() call. dw_flush() may cause multiple draw passes.
86 Added new function dw_window_compare() to check if two window handles 86 Added new function dw_window_compare() to check if two window handles
87 reference the same object. Necessary in the Android port since 87 reference the same object. Necessary in the Android port since
88 handles passed to callbacks are local references, so they don't 88 handles passed to callbacks can be local references, so they
89 always match the handles saved during window creation. 89 don't always match the handles saved during window creation.
90 Added support for dw_window_set_font() with a NULL font parameter. 90 Added support for dw_window_set_font() with a NULL font parameter.
91 This resets the font used on the widget to the default font. 91 This resets the font used on the widget to the default font.
92 Changed dw_timer_connnect() and dw_timer_disconnect() to use HTIMER.
93 This allows newer ports to use object handles that won't fit in
94 what had been an integer reference. OS/2 will use its native
95 HTIMER and other existing platforms will continue to use "int"
96 for compatibility. Other platforms may change in the future.
92 Fixed GTK warnings on GTK3 caused by using Pango style font syntax. 97 Fixed GTK warnings on GTK3 caused by using Pango style font syntax.
93 Fixed GTK3 leaks when setting fonts or colors on a widget repeatedly. 98 Fixed GTK3 leaks when setting fonts or colors on a widget repeatedly.
94 Fixed incorrect reporting of word wrap support on Windows. 99 Fixed incorrect reporting of word wrap support on Windows.
95 Fixed a number of misbehaviors with dw_window_set_font() and 100 Fixed a number of misbehaviors with dw_window_set_font() and
96 dw_window_set_color() on various platforms. 101 dw_window_set_color() on various platforms.