view os2/dwcompat.lnk @ 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 fbaec6e5df63
children
line wrap: on
line source

option DESCRIPTION 'Dynamic Windows Compatibility Module for OS/2'
segment type DATA NONSHARED LOADONCALL

export makedir.20
export vargs.21
export setfileinfo.22
export drivefree.23
export isdrive.24
export drivesize.25
export getfsname.26

export _opendir.30
export _openxdir.31
export _readdir.32
export _seekdir.33
export _telldir.34
export _closedir.35

export fsopen.40
export fsclose.41
export fsgets.42
export fsseek.43

export locale_init.50
export locale_string.51

export nice_strformat.60
export initdir.61