Author: AlbrechtS
Date: 2008-10-19 03:23:37 -0700 (Sun, 19 Oct 2008)
New Revision: 6467
Log:
Fl_Group::clip_children() is now public (STR #2017)


Modified:
   branches/branch-1.3/CHANGES
   branches/branch-1.3/FL/Fl_Group.H

Modified: branches/branch-1.3/CHANGES
===================================================================
--- branches/branch-1.3/CHANGES 2008-10-19 10:19:11 UTC (rev 6466)
+++ branches/branch-1.3/CHANGES 2008-10-19 10:23:37 UTC (rev 6467)
@@ -1,5 +1,6 @@
 CHANGES IN FLTK 1.3.0
 
+       - Fl_Group::clip_children() is now public (STR #2017)
        - Added clarification to Fl_GL_Window mode
          function (STR #1945)
        - Fixed Fluid textcolor output (STR #1992)

Modified: branches/branch-1.3/FL/Fl_Group.H
===================================================================
--- branches/branch-1.3/FL/Fl_Group.H   2008-10-19 10:19:11 UTC (rev 6466)
+++ branches/branch-1.3/FL/Fl_Group.H   2008-10-19 10:23:37 UTC (rev 6467)
@@ -61,20 +61,6 @@
 protected:
   enum { CLIP_CHILDREN = 2048 };
 
-  /**
-    The first method controls whether the group widget clips the drawing of
-    child widgets to its bounding box.
-    
-    <p>The second method returns the current clipping mode.
-    
-    <p>The default is to not clip (0) the drawing of child widgets.
-  */
-  void clip_children(int c) { if (c) set_flag(CLIP_CHILDREN); else 
clear_flag(CLIP_CHILDREN); }
-  /**
-    See void Fl_Group::clip_children(int c)
-  */
-  int clip_children() { return (flags() & CLIP_CHILDREN) != 0; }
-
   void draw();
   void draw_child(Fl_Widget&) const;
   void draw_children();
@@ -168,6 +154,25 @@
   void add_resizable(Fl_Widget& o) {resizable_ = &o; add(o);}
   void init_sizes();
 
+  /**
+    Controls whether the group widget clips the drawing of
+    child widgets to its bounding box.
+    
+    Set \a c to 1 if you want to clip the child widgets to the
+    bounding box.
+
+    The default is to not clip (0) the drawing of child widgets.
+  */
+  void clip_children(int c) { if (c) set_flag(CLIP_CHILDREN); else 
clear_flag(CLIP_CHILDREN); }
+  /**
+    Returns the current clipping mode.
+
+    \return true, if clipping is enabled, false otherwise.
+
+    \see void Fl_Group::clip_children(int c)
+  */
+  int clip_children() { return (flags() & CLIP_CHILDREN) != 0; }
+
   // back compatibility functions:
 
   /**

_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit

Reply via email to