From 6c1bf7aabd859c27f26898ead8572dd00f419d57 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sat, 9 Aug 2014 10:33:38 -0400 Subject: Big change: with the current event model, it's safe to call Area.RepaintAll() (and the future Area.Repaint()) from within AreaHandler.Key() and AreaHandler.Mouse(); get rid of the bool returns from each. The future Area.Repaint() is important; the bool returns repainted the whole Area, which may not be optimal. --- redo/future | 2 ++ 1 file changed, 2 insertions(+) (limited to 'redo/future') diff --git a/redo/future b/redo/future index 3eb26d0..a6e63f1 100644 --- a/redo/future +++ b/redo/future @@ -17,6 +17,8 @@ Tab // It panics if index is out of range. // After Delete(), the effect of accessing the Control of the deleted tab or any of its children is undefned. [TODO reword?] investigate close buttons (especially for LikeTab) +Area + Repaint(rect image.Rectangle) so I don't forget, some TODOs: windows -- cgit v1.2.3