Author: trilec
Date: 2007-06-12 15:17:38 -0400 (Tue, 12 Jun 2007)
New Revision: 5902
Log:
New File List.h, breakout of list class for better readabilty.
Added:
widget_has_children/fltk/List.h
Added: widget_has_children/fltk/List.h
===================================================================
--- widget_has_children/fltk/List.h (rev 0)
+++ widget_has_children/fltk/List.h 2007-06-12 19:17:38 UTC (rev 5902)
@@ -0,0 +1,43 @@
+// "$Id: Menu.h 5898 2007-06-10 18:04:52Z trilec $"
+//
+// Copyright 1998-2006 by Bill Spitzak and others.
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Library General Public
+// License as published by the Free Software Foundation; either
+// version 2 of the License, or (at your option) any later version.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Library General Public License for more details.
+//
+// You should have received a copy of the GNU Library General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+// USA.
+//
+// Please report all bugs and problems to "[EMAIL PROTECTED]".
+
+#ifndef fltk_List_h
+#define fltk_List_h
+
+#include "FL_API.h"
+
+namespace fltk {
+
+class Widget;
+
+class FL_API List {
+public:
+ virtual int columns(const Widget*);
+ virtual int children(const Widget*, const int* indexes, int level) = 0;
+ virtual Widget* child(const Widget*, const int* indexes, int level, int
column) = 0;
+ virtual void flags_changed(const Widget*, Widget*);
+ virtual void detach();
+ virtual ~List();
+};
+
+}
+
+#endif
_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit