[patch] new widget message WIDGET_RESIZED
Roland Illig
roland.illig at gmx.de
Thu Jan 20 17:16:33 UTC 2005
Hi all,
I am currently cleaning up the src/view.{h,c} files. I don't like that
the procedure view_update_bytes_per_line is exported in view.h, so I
wrote a nice workaround for it. I am sure this can be used in many other
places.
With this patch applied, there's no need for view_update_bytes_per_line
to be exported to the world. Furthermore, it's no more the
responsibility of the _users_ of WView to keep the bytes_per_line
updated, which is nice.
It works for me. ;)
Roland
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: widget-resized.patch
URL: <http://lists.midnight-commander.org/pipermail/mc-devel/attachments/20050120/f0cabfa6/attachment.ksh>
More information about the mc-devel
mailing list