From mboxrd@z Thu Jan 1 00:00:00 1970 From: marcus-sup@bar-coded.net (Marcus Williams) Date: Mon, 12 Nov 2007 22:07:17 +0000 Subject: [sup-talk] [PATCH] Title bar and status bar widget In-Reply-To: <1194886848-sup-8236@south> References: <1194518450-sup-4792@tomsk> <1194827264-sup-5774@south> <1194859333-sup-9479@tomsk> <1194886848-sup-8236@south> Message-ID: <1194905177-sup-2828@tomsk> On 12.11.2007, William Morgan wrote: > Actually I think the best would be to call the hooks before the lock, > and pass in the values to actually be drawn into the locked code, so > that the draw happens within the lock. It means adding a couple > arguments to some of these methods, probably. Attached is a patch for this. Not sure if this is the best way of doing it as I've used accessors on buffer class rather than passing args. Marcus -------------- next part -------------- A non-text attachment was scrubbed... Name: widget-diffs Type: application/octet-stream Size: 2692 bytes Desc: not available Url : http://rubyforge.org/pipermail/sup-talk/attachments/20071112/a834f4e4/attachment.obj