# HG changeset patch # User Diggory Hardy # Date 1240049964 -7200 # Node ID 4e8819b658829a0a2b6b1cb462178bd6c43e8e99 # Parent 0520cc00c0ccd633e5895362ede33f6bccfec3b8 Changed collapsible widget in GUI. diff -r 0520cc00c0cc -r 4e8819b65882 codeDoc/jobs.txt --- a/codeDoc/jobs.txt Sat Apr 18 12:02:33 2009 +0200 +++ b/codeDoc/jobs.txt Sat Apr 18 12:19:24 2009 +0200 @@ -8,8 +8,6 @@ To do (importance 0-5: 0 pointless, 1 no obvious impact now, 2 todo sometime, 3 useful, 4 important, 5 urgent): Also search for FIXME/NOTE/BUG/WARNING comment marks. -4 Entering a hashmap tag like {0:"x","y"} causes an infinite loop. -4 Revise widgets/functions available: remove TextLabel, add VoidContent creation 3 GUI: up-clicks get passed as events and activate objects 3 Too many redraws: mouse-over causes them 3 Glyph 's' drawn incorrectly in release mode - ?? diff -r 0520cc00c0cc -r 4e8819b65882 data/conf/guiDemo.mtt --- a/data/conf/guiDemo.mtt Sat Apr 18 12:02:33 2009 +0200 +++ b/data/conf/guiDemo.mtt Sat Apr 18 12:19:24 2009 +0200 @@ -35,11 +35,11 @@ - - - + + + + diff -r 0520cc00c0cc -r 4e8819b65882 mde/gui/widget/ParentContent.d --- a/mde/gui/widget/ParentContent.d Sat Apr 18 12:02:33 2009 +0200 +++ b/mde/gui/widget/ParentContent.d Sat Apr 18 12:19:24 2009 +0200 @@ -241,7 +241,7 @@ content_ = cast(BoolContent) c; WDCCheck (data, 1, 1, content_); - subWidgets = [mgr.makeWidget (this, data.strings[0])]; + subWidgets = [mgr.makeWidget (this, data.strings[0], c)]; content_.addCallback (&collapse); }