annotate Version @ 2355:fad0821cb953

Add new function dw_render_redraw() which will trigger expose event on render widgets. This is to help optimize drawing on GTK4 and GTK3 with Wayland. To make existing code function on GTK4 and GTK3 with Wayland, drawing outside of a callback will mark widgets dirty and dw_flush() will trigger draw/expose callbacks on them. This may result in double drawing the widgets. dw_render_redraw() will allow you to just trigger the draw event without actually attempting to draw, allowing one draw pass in the expose callback. Only tested on Windows, may require fixes on other platforms.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Mon, 08 Mar 2021 19:53:55 +0000
parents 95ad22a4da2d
children 023045e14837
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1359
c98542f7ccdf Convert line endings in the Version file to Unix style to prevent issues with BSD make.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1350
diff changeset
1 # Set these here to change the version for all platforms
1897
951356ced7d5 Changes preparing for 3.0 release.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1844
diff changeset
2 DW_MAJOR_VERSION=3
2239
95ad22a4da2d Bump version to 3.2 now that we are post 3.1 release.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 2077
diff changeset
3 DW_MINOR_VERSION=2