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


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

Modified: branches/branch-1.1/CHANGES
===================================================================
--- branches/branch-1.1/CHANGES 2008-10-19 10:23:37 UTC (rev 6467)
+++ branches/branch-1.1/CHANGES 2008-10-19 10:35:06 UTC (rev 6468)
@@ -1,5 +1,6 @@
 CHANGES IN FLTK 1.1.10
 
+       - Fl_Group::clip_children() is now public (STR #2017)
        - Fixed first modifier key event (STR #1952)
        - Fixed wrong default value of Fl_Spinner in 
          Fluid (STR #1991)

Modified: branches/branch-1.1/FL/Fl_Group.H
===================================================================
--- branches/branch-1.1/FL/Fl_Group.H   2008-10-19 10:23:37 UTC (rev 6467)
+++ branches/branch-1.1/FL/Fl_Group.H   2008-10-19 10:35:06 UTC (rev 6468)
@@ -50,9 +50,6 @@
 protected:
   enum { CLIP_CHILDREN = 2048 };
 
-  void clip_children(int c) { if (c) set_flag(CLIP_CHILDREN); else 
clear_flag(CLIP_CHILDREN); }
-  int clip_children() { return (flags() & CLIP_CHILDREN) != 0; }
-
   void draw();
   void draw_child(Fl_Widget&) const;
   void draw_children();
@@ -91,7 +88,10 @@
   void add_resizable(Fl_Widget& o) {resizable_ = &o; add(o);}
   void init_sizes();
 
-  // back compatability function:
+  void clip_children(int c) { if (c) set_flag(CLIP_CHILDREN); else 
clear_flag(CLIP_CHILDREN); }
+  int clip_children() { return (flags() & CLIP_CHILDREN) != 0; }
+
+  // back compatibility functions:
   void focus(Fl_Widget* o) {o->take_focus();}
   Fl_Widget* & _ddfdesign_kludge() {return resizable_;}
   void forms_end();

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

Reply via email to