diff mde/gui/widget/Ifaces.d @ 144:66c58e5b0062

Added a BoolContent-based collapsible widget.
author Diggory Hardy <diggory.hardy@gmail.com>
date Tue, 10 Feb 2009 12:57:09 +0000
parents c94ec5594449
children 783969f4665c
line wrap: on
line diff
--- a/mde/gui/widget/Ifaces.d	Mon Feb 09 23:27:41 2009 +0000
+++ b/mde/gui/widget/Ifaces.d	Tue Feb 10 12:57:09 2009 +0000
@@ -273,8 +273,9 @@
 //BEGIN Load and save
     /** 2nd stage of initialization for widgets; also called on some changes.
      *
-     * Widgets should call recursively on their children, redo anything indicated by flags, and
-     * adjust their size and other cached data dependant on any thing which may have changed.
+     * Widgets should call recursively on their children, redo anything
+     * indicated by flags, and adjust their size and other cached data
+     * dependant on any thing which may have changed.
      * Widgets may rely on setPosition being called afterwards.
      * 
      * Params:
@@ -284,9 +285,8 @@
      *		These flags are always true on first run.
      *
      * Returns:
-     *	The method should return true if the dimensions (may) have been changed. This may not be
-     *	the case on the first run (when n == 0)!.
-     */
+     *	The method must return true on initial setup and if its dimensions
+     *	(may) have changed. */
     bool setup (uint n, uint flags);
     
     /** When this is called, if the widget has any changed data to save it should call